Solaris 10修改主机名和IP地址
前提:在终端输入:sys-unconfig
然后,系统提示重启,重启之后,按下述内容选择并修改配置。
1. Select a Language: 0
2.network Connnectivity : Networked
3.DHCP for pcn0: No
4.Host Name for pcn0: Solaris
5.Ip Address for pcn0:192.168.1.72
6.Netmask for pcn0:255.255.255.0
7.IPv6 for pcn0:no
8. Set the Default Route for pcn0: Specify one
9. Set the Default Route for pcn0: 192.168.1.254
10. Kerberos: No
11.Name Service: DNS
12.Domain Name : example.com
13. DNS Server Address: 192.168.1.1
14. DNS Search List (Search Domain):空白
15.NFSv4 Domain name: 默认 use the NFSv4 domain derived by the system
16.Time Zone:默认
17.Continent and Country: Asia China
18.Date and Time: 默认
19.Root Password: 123456
20:Enabling Remote Services:默认
21.Installer Options: 默认
22.Specify Media:默认
23.Select Type of Install:Custom Install
24.Select software Localizations: 选择Asia 下面所有的Chinese
25. Additional Products: None
26.Lay Out File Systems:选择Modify,
1>/export/home 的空间设为0,系统文件删除
2>swap的空间大小设为内存的2倍
3> /剩余的空间都分配给它
32.next
33.Installing
建议不要配置DHCP 因为这样机器开启会很慢 而且CRT连接也会更慢。