huqwstar53 发表于 2009-09-14 11:10

Solaris 10 基础设置


Solaris 10 svn installation

First download the below list install packages:
db-4.2.52.NC-sol10-intel-local
neon-0.25.5-sol10-x86-local
openssl-0.9.8j-sol10-x86-local
subversion-1.4.3-sol10-x86-local

Second install those packages one by one as below:
gunzip subversion-1.4.3-sol10-x86-local.gz
pkgadd –d subversion-1.4.3-sol10-x86-local

Third create some symbol link:
ln -s /usr/sfw/lib/libexpat.so.0 /usr/local/lib/libexpat.so.0
ln -s /usr/sfw/lib/libgcc_s.so.1 /usr/local/lib/libgcc_s.so.1

Thus,the svn can be used.

Solaris 10 create a new user
Create a new user:
useradd-d /export/home/star -s /usr/bin/bash-m star
chown star /export/home/star

Set the environment parameter:
vi /export/home/star/.bash_profile
add the below line
export PATH=$PATH:/usr/ucb:/usr/local/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/sfw/bin:/usr/openwin/bin:/usr/apache2/bin/
source /export/home/star/.bash_profile

Solaris 10 login by root via ssh
vi /etc/ssh/sshd_config
modify “PermitRootLogin no” to “PermitRootLogin yes”
svcadm restart ssh



本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/29346/showart_2051712.html
页: [1]
查看完整版本: Solaris 10 基础设置