Solaris 10 x86-64 虚拟机配置


1.关闭图形界面: /usr/dt/bin/dtconfig -d

2.网络配置 :
/etc/hosts 添加 ip 和 node名称映射 :192.168.38.190 node80
/etc/netmasks 添加子网信息 : 192.168.38.1 255.255.255.0
/etc/defaultrouter 添加路由信息 :192.168.38.1
/etc/resolv.conf 添加dns Nameserver : nameserver 223.5.5.5
/etc/nsswitch.conf 找到host: files 后追加dns
重启

3.修改ssh 允许root登录
先关闭ssh :svcadm disable ssh
修改: /etc/ssh/sshd_config 把 premitRootLogin no ==》yes
重启ssh :svcadm enable ssh

猜你喜欢

转载自www.cnblogs.com/luyang08/p/12896238.html