web hosting cheap

How to create an alias in linux

To create the alias use the following syntax: alias name=value alias name='command' alias name='command var1 var2' alias name='/path/to/script' alias name='/path/to/script.sh…

11 years ago

CPU limit: How it works?

Installation: root# cd /usr/src root# wget 'http://downloads.sourceforge.net/cpulimit/cpulimit-1.1.tar.gz' root# tar -zxvf cpulimit-1.1.tar.gz root# cd cpulimit-1.1 root# make root# cp cpulimit /usr/local/sbin/…

11 years ago

Assign Second IP in Linux

1. cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:1 2. In /etc/sysconfig/network-scripts/ifcfg-eth0:1 change DEVICE=eth0 to DEVICE=eth0:1 3. In /etc/sysconfig/network-scripts/ifcfg-eth0:1 modify IPADDR= to match the additional…

11 years ago