Posts Tagged ‘Centos’
How to increase Qmail sending limit
First verify that these setting have not already been customized, as running the commands will overwrite any changes they have made. The following command will show you whether those files exist:
ls /var/qmail/control | egrep 'timeoutremote|timeoutsmtpd|concurrencyremote'
Run following command to update limits
More »
How to secure SSH in your server ?
1) Set a very strong password, keep it in your mind but dont write in somewhere.
2) Disable direct root login
emacs /etc/ssh/sshd_config
Search for
More »
Configuring range of ips in Linux,Centos,fedora core, red hat
Thats pretty simple
Just configure on ips in
/etc/sysconfig/network-scripts/ifcfg-eth0
Then Make a new file named ifcfg-eth0-range0
emacs /etc/sysconfig/network-scripts/ifcfg-eth0-range0
Installing screen on CentOS 5.x
Screen … It let you have multiple virtual windows in one physical terminal session, and very necessary to use if you are compiling remotely and your internet connection is not reliable.
1) Download latest RPM
http://www.rpmfind.net/linux/rpm2html/search.php?query=screen
How to move MySQL to second drive
If you ran out of space in your primary drive and wish to move MySQL to another drive then here is a simple procedure. Moving MySQL to another drive is very easy then it look.
1) Find out mount point of secondary drive. If drive is not mounted yet then you can get help from article “How to mount drive in CentOS”
You can run below command to find mount point of secondary drive
More »