SUSE Linux Enterprise Desktop 11 SP2 (Sled SP2) 32&64 installion(July 05 2012)
Static ip/Nis
SUSE Linux Enterprise Desktop 11 SP2 (x86_64)
1. vim /etc/HOSTNAME ( 很多系统都是/etc/hostname,)
2. check sshd service
#service sshd status
#chkconfig sshd –list
#chkconfig sshd on
#chkconfig sshd –list
#/etc/init.d/sshd restart
3. vim /etc/hosts
static ip address hostname
4. #vi /etc/defaultdomain
domain name
5. # vim /etc/yp.conf
#service ypbind status
#chkconfig ypbind –list
#chkconfig ypbind on
#chkconfig ypbind –list
#service ypbind restart
4.. # vim /etc/resolv.conf
nameserver dns ip address #dns ip address 的ip地址
nameserver dns ip address #dns ip address 的ip地址
search domain name #domain name
5.# vim /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO=’static’
IPADDR=’static ip adress ’ #static ip address
6.#chkconfig network –list
#chkconfig network on
#chkconfig network –list
#service network restart
6.#vim /etc/sysconfig/network/routes
default ***.***.***.1 - - #gateway ip address
7. #vim /etc/auto.master
8. #vim /etc/nsswitch.conf
passwd: file nis
shadow: files nis
group: files nis
hosts: files dns nis
automount: file nis
9.#service autofs status
#chkconfig autofs --list
#chkconfig autofs on
#chkconfig autofs --list
#service autofs restart