Friday, November 28, 2008

How to add DNS in Linux?

Create a new resolv file in /etc/

Type: vi /etc/resolv.conf

Configure the /etc/resolv.conf file to point to a valid name server. For example: If the name server is in 192.168.15.1, add the following line

nameserver 192.168.15.1

Save the file and restart the network by
typing: /sbin/service network restart

Test it by ping www.google.com

How to enable Linux /sbin/ commands to use universally in any directory?

if you just want it temporarily, just run this:
Code:
PATH=$PATH:/sbin

If you want it permanently, add that line to your ~/.bashrc. (~ normally means the /root/ directory)

Thursday, November 27, 2008

Toyota Axio Special Edition X - Sport Rims selection

Today is the sports rims selection day. Here are the 3 model I like. Guess which one I choose for my car?



Monday, November 24, 2008

How to ssh login?

1) ssh username@address
2) ssh -l username address

Sunday, November 23, 2008

Places I been to in China

Hotel I stayed before - www.homeinns.com

Food I ate before - www.bananaleaf.com.cn