How to setting up Static IpAddress
To Setting up static ip address is very easy, but sometime we forget how to do it.
Here’s the step, just incase you forgot.
# vi /etc/networking/interfaces
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address xxx.xxx.xxx.xxx(enter your ip here)
netmask xxx.xxx.xxx.xxx
gateway xxx.xxx.xxx.xxx(enter gateway ip here)
# vi /etc/resolv.conf
nameserver xxx.xxx.xxx.xxx(enter your dns server ip)
nameserver xxx.xxx.xxx.xxx(enter your alt dns server ip)
# […]
Freeing Linux Virtual Memory
Hi,
I have Centos installed on HP Proliant Box with 13Gig of RAM Memory.
Yesterday, I was running rsync all my websites into another box in LAN.
Somehow the memory has dropped out and there is only 32Mb left on free memory.
Damn, only copying files has eating more than 12 Gigs of memory, and after rsync has finish […]