Category Archives: Linux tips

Replace disk on failed linux software raid

With command: cat /proc/mdstat chech which disk is failed poweroff machine, replace disk copy partittion data from old to new disk sfdisk -d /dev/sdb | sfdisk /dev/sda add disk partition do raid mdadm –manage /dev/md0 –add /dev/sda1 mdadm –manage /dev/md1 … Continue reading

Posted in Debian, HW issue, Linux tips, Mint, Ubuntu | Tagged , , , | Leave a comment

Using rsysc over SSH with custom ssh port

Using rsync over SSH connection with custom ssh port # rsync -avz -e “ssh -p portNumber” user@server:/path_to/files/ /local_path/  

Posted in Debian, Linux tips, Mint, Ubuntu | Tagged , , | Leave a comment

Change debian keyboard layot

How to change debian keyboard configuration, just use following command: dpkg-reconfigure keyboard-configuration

Posted in Debian, ISPConfig 3, Linux tips, Mint, Ubuntu | Tagged , , | Leave a comment

How to enable Skype Icon on Unity Notification Panel on Ubuntu 12.04 LTS

just run: gsettings set com.canonical.Unity.Panel systray-whitelist “[‘JavaEmbeddedFrame’, ‘Wine’, ‘Update-notifier’, ‘Skype’]” and then restart skype or restart ubuntu…

Posted in Linux tips, Ubuntu | Tagged , | Leave a comment

Ubuntu 12.04 – java run as in menu

The Java Runtime Environment (JRE) provides the libraries, the Java Virtual Machine, and other components to run applets and applications written in the Java programming language. In addition, two key deployment technologies are part of the JRE: Java Plug-in, which enables … Continue reading

Posted in Linux tips | Tagged , , | Leave a comment

Squid stats

How to check squid statistics on debian linux? install application squidclient apt-get install squidclient and then execute aplilaction: squidclient -p 3128 mgr:counters for all options execute: squidclient -p 3128 mgr:

Posted in Linux tips | Leave a comment

Apache self-signet certificate

Step 1: Generate a Private Key openssl genrsa -des3 -out server.key 1024 Step 2: Generate a CSR (Certificate Signing Request) openssl req -new -key server.key -out server.csr Step 3: Remove Passphrase from Key cp server.key server.key.org openssl rsa -in server.key.org … Continue reading

Posted in ISPConfig 3, Linux tips | Tagged , , | Leave a comment

How to enable printing on AvantFAx

AvantFax has ability to automatically print received fax. first you have to edit config file to enable global printing edit includes/local_config.php file # pico includes/local_config.php and find line $PRINTFAXRCVD = false; false change to true and that is all.

Posted in AvantFax, HylaFAX, Linux tips | Leave a comment

lpr: cannot connect to X server

If you get following error on debian Lenny just do: apt-get install cupsys-bsd

Posted in Linux tips | Leave a comment

mydns – slave DNS server from master ISPConfig3 database

I wrote a litle bash script for mydns DNS server to act as slave DNS server. All records are transfered from master ISPConfig 3 Server. On second server install mydns server, and configure it for ISPConfig use. then edit file … Continue reading

Posted in ISPConfig 3, Linux tips | Tagged , , | 3 Comments