您的位置:首页 > 运维架构 > Linux

SUSE Linux Enterprise Desktop 11 SP2 (Sled SP2) 32&64 installion

2012-07-07 21:04 591 查看
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

本文出自 “永不言弃” 博客,谢绝转载!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: