1、修改suse主机名【1

修改/etc/HOSTNAME文件,例如:

SLES-1

然后运行命令设置主机名

# /etc/rc.d/boot.localnet start

2、修改IP

1)命令

#ifconfig eth0 静态IP地址 netmask 掩码 upT6K百度排名优化

#route add [-net DNS的IP地址][default] netmask 掩码 gw 静态IP地址

2)文件

/etc/sysconfig/network/ifcfg-eth0

BOOTPROTO='static'

IPADDR=192.168.1.110

NETMASK=255.255.255.0

NETWORK=192.168.1.0

BROADCAST=192.168.1.255

/etc/init.d/network restart

3、图形方式

yast2 network

参考:

1http://qunhua.blog.163.com/blog/static/106708942010995251811/

2http://www.alonely.com.cn/SuSE/20110511/1062.html

相关文章:

  • 2022-12-23
  • 2021-04-30
  • 2022-02-14
  • 2022-12-23
  • 2021-12-07
  • 2022-01-04
  • 2021-09-26
  • 2022-02-07
猜你喜欢
  • 2021-12-18
  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
  • 2021-07-01
  • 2022-01-23
相关资源
相似解决方案