2013年4月11日 星期四

initial setting for centos6

After installation of centos 6 with minimum setting, I usually change some setting on it.

1.first modify /etc/sysconfig/network-scripts/ifcfg-eth0 to get dhcp address to update packages.
#vi /etc/sysconfig/network-scripts/ifcfg-eth0

change this line from off to yes
ONBOOT = yes

2. restart the network to enable it
#ifdown eth0
#ifup eth0

3.update all packages installed in the system
#yum update

4.install telnet and nslookup tool
#yum install telnet
#yum install bind-utils

5.install c compile for some packages use
#yum install gcc gcc-c++ autoconf automake

if you install centos on vmware esx, use this method to install vmware-tools
start vmware-tools install procedure
#mount /dev/cdrom
#cp /dev/cdrom/VMwareTools-8.6.5-621624.tar.gz .
#umont /dev/cdrom
#tar zxvf VMwareTools-8.6.5-621624.tar.gz
#cd vmware-tools-distrib
#./vmware-install.pl

6.install vim and nano editor
#yum install vim
#yum install nano

7.install man page
#yum install man

8.install ssh client
#yum install openssh-clients

9.install wget
#yum install wget

10.install telnet
#yum install telent

沒有留言:

張貼留言