low cost web hosting

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

Disable open_basedir in plesk

How to disable open_basedir in plesk without breaking/commenting your current httpd.conf basedir lines. Create a new file, called vhost.conf This…

11 years ago