Install Solaris 8 on ultra30

-swap size 1024
-hostname oakdev1
-ip 168.125.19.164
-netmask 255.255.252.0
-enable ipv6 No
-nameservice NIS
-domainname rcp.reston.my.com
-nis server hydrolex, 168.125.19.192
-rp: mycbms
-custom install
Disk layouts:
c0t0d0
0: / 1000
1: /swap 1025
3: /tmp 1000
4: /usr 2000
5: /var 500
6:/opt/ora01 2000
7:/usr/cvs 1100

c0t1d0
4:/opt/appsvr 1000
5:/opt/ora02 2000
6:/opt 4600
7: /export/home 1000

•Configure network
/etc/defaultrouter:
168.125.16.1

/etc/defaultdomain: rcp.reston.my.com

/etc/nsswitch.conf:
hosts: files dns nis

/etc/resolv.conf:
nameserver 168.125.8.43
nameserver 168.125.8.44
nameserver 168.125.50.5
nameserver 168.125.67.5

•Update /etc/profile
stty erase ‘^H’
EDITOR=vi;export EDITOR

•Add groups:
#groupadd wlgrp
#groupadd cvsgrp
#groupadd tcgrp

•Add users:
#useradd -c “Owner of WebLogic Installations” -g wlqrp -G cvsgrp -d /export/home/weblogic -m -s /bin/ksh weblogic
#passwd weblogic
passwd

#useradd -c “Apache Tomcat” -g tcqrp -G cvsgrp -d /opt/appsvr/tomcat -m -s /bin/ksh tomcat
#passwd tomcat
passwd

#useradd -c “Owner of CVS Installations” -g cvsgrp -d /export/home/cvs -m -s /bin/ksh cvs
#passwd cvs
passwd

#useaadd -c “Jian-ming Li” -g cvsgrp -G wlgrp -d /export/home/jmli -m -s /bin/ksh jmli
#passwd jmli
passwd

•install jdk1.3
#zcat j2sdk-1_3_1_01-solsparc[1].tar.Z | tar -xf –
#pkgadd -d . SUNWj3rt SUNWj3dev SUNWj3man SUNWj3dmo
#cd /usr
#rm java
#ln -s j2se java

•Install gnu tar at “/usr/local”
#pkgadd -d tar-1.13.19-sol8-sparc-local

•Install cvs at “/usr/local”
#pkgadd -d cvs-1.11-sol8-sparc-local

•Update /etc/profile
PATH=/usr/local/bin:$PATH;export PATH

•Setup cvs pserver
-/etc/inetd.conf:
cvspserver stream tcp nowait root /usr/local/bin/cvs cvs –allow-root=/space/cvsroot pserver
-/etc/services:
cvspserver 2401/tcp

•set up cvsroot
#chown -R cvs:cvsgrp /space/cvsroot
#chmod -R 770 /space/cvsroot

•Update .profile in user directory
CVSROOT=:pserver:weblogic@localhost:2401/space/cvsroot;export CVSROOT

•Install together5.02
-#mkdir Together-5.02
-#chown weblogic:wlgrp Together-5.02
-$jar -xf together.jar
-run setpermissions.sh
-update bin/licence.lic
-update bin/Together.sh

•Install Oracle 815(see memo)
@create OFA mount points:
-1 sw mnt point: /opt/ora01/u01
-3 data mnt point:/opt/ora01/u02, /opt/ora02/u03,/opt/ora02/u04

-set ORACLE_BASE -> /opt/ora01/u01/app/oracle
-set ORACLE_HOME -> $ORACLE_BASE/product/8.1.5
PATH=$ORACLE_HOME/bin:$PATH; export PATH

-Custome installation

•install weblogic5.1sp9
#mkdir /opt/weblogic
#chown weblogic:wlgrp weblogic
$ jar xf weblogicsp9_generic.zip
-update license/WebLogicLicense.xml

This entry was posted in solaris. Bookmark the permalink.