wget http://pkgs.repoforge.org/htop/htop-1.0.2-1.el6.rf.x86_64.rpm
rpm -i htop-1.0.2-1.el6.rf.x86_64.rpm
install htop in centos
Reply
wget http://pkgs.repoforge.org/htop/htop-1.0.2-1.el6.rf.x86_64.rpm
rpm -i htop-1.0.2-1.el6.rf.x86_64.rpm
vim /etc/sysconfig/network
HOSTNAME=domain.info
vim /etc/hosts
46.35.160.170 domain.info domain.info
hostname domain.info
/etc/init.d/network restart
free +m sync; echo 3 > /proc/sys/vm/drop_caches swapoff -a swapon -a
network config files are located in
/etc/sysconfig/network-scripts/
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=”eth0″
BOOTPROTO=”none”
IPADDR=”192.168.0.2″
NETMASK=”255.255.255.0″
GATEWAY=”192.168.0.1″
HWADDR=”51:57:00:cd:a8:23″
NM_CONTROLLED=”yes”
ONBOOT=”yes”
TYPE=”Ethernet”
UUID=”xxxxxx-xxxx-xxxx-xxx-xxxxxxx”