jack_zheng 发表于 2007-05-13 14:31

Solaris configuration issues

Met some problems during the configuration of solaris 10 on vmware. solution logged as below.

1- ipaddress change.
Edit /etc/hostname and /etc/hosts, the start scripts will change the IP address accordingly. Note that on Solaris 10, file /etc/inet/ipnode should also be changed.
Change /etc/defaultroute for the route config.run 'netstat -rn' to look at the current root.
2- graph GUI shutdown.
Solaris will start the graph GUI by default. with the following command, the graph GUI could be shutdown,
'/usr/dt/bin/dtconfig -d'

3- ssh setup.
sshd is not installed by default on solaris 10. follow the steps to install,
1) download packages from sun, openssh-4.6p1-sol9-sparc-local,openssl-0.9.8e-sol9-sparc-local,zlib-1.2.3-sol10-x86-local.
2) install with 'pkgadd -d'. '/usr/lib/ssh/sshd' will run if the installation succeeded.
3) edit '/usr/local/etc/ssh_config', add 'PermitRootLogin yes' to allow root to login.

4- cc path config
PATH=/opt/SUNWspro/bin:$PATH
MANPATH=/opt/SUNWspro/man:$MANPATH
export PATH
add lines to .profile.

5- ctags on solaris
different from linux, command is as follows,
find . -name '*.' -exec ctags -u {} \;

6- service administration on opensolaris
svcadm restart network/ssh
svcadm enable network/ftp
http://docs.sun.com/app/docs/doc/819-7059/6n91h5ucp?l=zh&a=view
http://docs.sun.com/app/docs/doc/819-7059?l=zh



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/38597/showart_300002.html
页: [1]
查看完整版本: Solaris configuration issues