- Select the number corresponding to the type of install you would like
[1]: 2
ie Custom Install
- Select the software localizations you want to install.
The English version of Solaris will be installed by default.
Enable locale German ( de ) (y/n) [n]?
Enable locale Spanish ( es ) (y/n) [n]?
Enable locale French ( fr ) (y/n) [n]?
Enable locale Italian ( it ) (y/n) [n]?
Enable locale Swedish ( sv ) (y/n) [n]?
- Select the number corresponding to the desired system locale [6]: 2
ie. English (Canada) ( en_CA )
- Select the number corresponding to the desired Solaris software
group [2]:
ie. Entire Solaris Software Group
- Layout file systems on disk c0t0d0 (bootdisk) (y/n) [y]?
- Layout file systems on disk c1t1d0 (y/n) [n]? y
- partitioned the disk this way:
Partition | Size |
Number | Name | MBytes |
0 | / | 1024 |
1 | swap | 2048 |
6 | /fsys | 5096 |
Once system has rebooted after the initial OS install, I then:
- corrected hostname from mfcf to mfcf.math.
- mfcf# echo mfcf.math > /etc/hostname.hme0
- mfcf# hostname `cat /etc/hostname.hme0`
- mfcf# sysidconfig
- need mfcf to be able to resolve it's arch masters IP address.
- mfcf# echo "129.97.140.122 pythagoras.math" >> /etc/hosts
- allow root remote access to this system only from
math.uwaterloo.ca and pythagoras.math.uwaterloo.ca
- mfcf# echo "math" > /.rhosts
- mfcf# echo "pythagoras.math" >> /.rhosts
- quick "education" of network information for this host.
- pythagoras# rdist -c -w /etc/{inet/{hosts,networks},group} mfcf.math:/
- Install the IST set of recommended OS patches for this system.
- "mount ist:/sunpatches /mnt"
- "cd /mnt; ./patchinstall"
- store temporary files in "/tmp"
- do not save the original versions of the software
- install "suggested" patches to be installed.
- our environment uses lots of pseudo terminals so
- echo "set pt_cnt = 512" >> /etc/system
- Insert Solaris Easy Access CDrom (from Solaris 7 media box)
- pkgadd -d /cdrom/solaris_easy_access_srvr_2_0/products/DiskSuite_4.2/sparc
- The following packages are available:
1 SUNWmd Solstice DiskSuite
(sparc) 4.2,REV=1998.02.09.12.47.28
2 SUNWmdg Solstice DiskSuite Tool
(sparc) 4.2,REV=1998.14.09.08.19.32
3 SUNWmdn Solstice DiskSuite Log Daemon
(sparc) 4.2,REV=1998.02.09.12.47.28
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: all
- Do you want to continue with the installation of [y,n,?] y
- Do you want to continue with the installation of [y,n,?] y
- Do you want to continue with the installation of [y,n,?] y
- Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: q
- rebooted host using "reboot -- -rv"
XHiering Host
Basic XHier Services
Setup the Xhier Tree using csh
- mkdir -p /vendor /xhbin /.software /fsys/.software/{admin,arch,local,regional,share,spool}
- ln -s /fsys/.software/* /.software
- ln -s /.software/share /software
Setup NFS Mount of regional information and while we're at it
also add all the NFS mounts. Append to the "/etc/vfstab" file the
following lines:
#
# NFS Mounts from fisher.math
#
fisher-1.math:/vol/vol2/dotsoftware/regional - /.software/regional nfs - yes rw,hard,grpid
fisher-1.math:/home/mail - /var/mail nfs - yes rw,hard,grpid,actimeo=0
fisher-1.math:/home/u1 - /u1 nfs - yes rw,hard,grpid
fisher-1.math:/home/u2 - /u2 nfs - yes rw,hard,grpid
fisher-1.math:/home/u3 - /u3 nfs - yes rw,hard,grpid
fisher-1.math:/home/u4 - /u4 nfs - yes rw,hard,grpid
fisher-1.math:/home/u5 - /u5 nfs - yes rw,hard,grpid
Create home mount point directories plus /u (where the link tree into u# lives).
Also want to support kludge from when home directories where on
pythagoras:/fsys2 and everyone use to reference them via /fsys2/u*.
- mkdir /fsys2
- ln -s /u{,1,2,3,4,5} /fsys2
Mount the regional information which is used by xh-first-time.
- mount /.software/regional
- mount /var/mail
Setup the Xhier access rights.
- Pythagoras.uwaterloo.ca is the admin and arch master for this host
So on the ultimate admin master of pythagoras
(ie currently math.uwaterloo.ca) add the line
"mfcf.math pythagoras.math" to
"/.software/admin/xhier/data/access-rights".
You can find the ultimate admin master by tracing it back through
the access-rights file or just hope the comment at the top of the
access-rights file is correct.
- distribute xhier package from ultimate admin master to pythagoras
math# xh-distribute -t admin -h pythagoras.math xhier
- repeat above steps for the arch master (could also potentially be
share but this usually comes from the arch master).
In this case it's even the same as the admin master so we don't
have to do anything.
Add mfcf.math to /etc/hosts.equiv
- update /etc/hosts.equiv on regional master and then
distribute to all hosts listed in hosts.equiv file.
Add host to appropriate groups
- on the arch master, cd to "/software/.admin/hosts" and choose the
appropriate groups that the new host should belong to. In this
case only "mfcf_clients". (Need more about how to choose groups,
maybe "grep *" would do.)
- use "ls -l" on the group name to see what package the group is
actually distributed from (Package mfcf-basics).
- trace that package back to it's root, (where the RCS file is for
the file you need to modify) and add the new host. (host capo)
- xh-distribute the package from the top of the tree to the arch/admin
master(s) of the host your installing.
Add host to setpw setup
- Find out where the setpw package in being distributed from.
ie trace it back from the your arch master to the host that
has the RCS directory for the
/software/setpw/data/config/hosts/hosts.< comment > . < disttype >
files.
- Choose the appropriate file for the new host your adding, and
add it's entry.
- use "spread passwd" to spread this new entry around.
Initializing xhier.
- Run xh-first-time
pythagoras.math# xh-first-time -v mfcf.math
- On mfcf.math, fix /.software/local/xhier/config/local/xhier_maintainer
to be your email address until your happy with the way the host is working.
- Still on mfcf.math, fix /software/xhier/config/admin/xhier_maintainer to
send its mail to the appropriate administration alias
(xhier_math_admin@math.uwaterloo.ca)
- Create /software/os-extras/data/gateway by adding the IP address
of this hosts gateway (use the first three octets of the IP
address followed by a ".1").
mfcf.math# echo "129.97.140.1" > /software/os-extras/data/gateway
- Since this host only has one disk, the entire operating system
was installed on one partition "/". We need to inform xhier that
this is what we wanted.
mfcf.math# echo "AllowPathOnRoot=yes" >> /software/os-extras/config/local/gateway
- Send mfcf-basics and os-extras again (xh-first-time set these the first
time).
pythagoras.math# xh-distribute -h mfcf.math mfcf-basics
pythagoras.math# xh-distribute -h mfcf.math os-extras
- repeated the above xh-distribute's until there are no errors,
only a couple of warnings -> Use a secure mail server
and "Can't find registrar host 'xh-registrar... " which is because
sendmail package has not been installed yet and routing is not yet working.
Installing Basic Service Packages.
- pythagoras.math# xh-distribute -h mfcf.math rcs-5.7
- /etc/hosts and /etc/networks config-files
pythagoras.math# xh-distribute -h mfcf.math config-files
After this is done; save the vendor files and
copy /usr/tmp/config-files*/* to /etc
mfcf.math# cd /; tar cf - etc/{,inet}/{hosts,networks} | (cd /vendor; tar vxfBp -)
mfcf.math# cp /tmp/config-files-Install_*/* /etc
(I've had problems that the /tmp/... files weren't created.)
This broke /.rhosts setup from pythagoras so
removed uwaterloo.ca suffix from /.rhosts hostnames.
- pythagoras.math# xh-distribute -h mfcf.math mfcf-misc
- pythagoras.math# xh-distribute -h mfcf.math nsdata
- pythagoras.math# xh-distribute -h mfcf.math bind-8.2
- pythagoras.math# rcp /etc/resolv.conf mfcf.math:/etc
- mfcf.math# xh-install nsdata
- pythagoras.math# xh-distribute -h mfcf.math qi-2.3
- pythagoras.math# xh-distribute -h mfcf.math nameserver
- pythagoras.math# xh-distribute -h mfcf.math mailers-1
- pythagoras.math# xh-distribute -h mfcf.math sendmail-8.8
(with manual install). Remember to add this host to
/software/sendmail-8.8/config/regional/clients.
- pythagoras.math# xh-distribute -h mfcf.math procmail-3.13
- pythagoras.math# xh-dist2 mfcf.math sunos5
- edited /.software/local/sunos5/config/local/config.d
- RootRlogin=yes
- StartAccounting=yes
- pythagoras.math# xh-distribute -h mfcf.math batch
mfcf.math# xh-install batch
Then iff this is a solaris host, comment out rlimitrss in
/software/batch/spool/*/profile
- reboot
- pythagoras.math# xh-dist-maintenance -h mfcf.math
Sometime around now ask /software/lpr/.admin/Maintainer to setup a printcap
file on this host.
Manual Package Cleanups
Quick blasting of packages (Needs to be sorted by functional groups)
- pythagoras.math# xh-dist2 mfcf.math aceclient-2.1uw acetools-2.1uw
- pythagoras.math# xh-dist2 mfcf.math x11,network x11,contrib
- pythagoras.math# xh-dist2 mfcf.math x11,minimal x11,network
- pythagoras.math# xh-dist2 mfcf.math x11_minimal x11_netbasics x11_network2
- pythagoras.math# xh-dist2 mfcf.math x11r5_demos x11r5_fontstuff
- pythagoras.math# xh-dist2 mfcf.math tetex-1.0
- pythagoras.math# xh-dist2 mfcf.math groff-1.15
- pythagoras.math# xh-dist2 mfcf.math acrobat-4.0
- pythagoras.math# xh-dist2 mfcf.math communicator-4.61
mfcf.math# xh-install communicator-4.61
- pythagoras.math# xh-dist2 mfcf.math pine-4 elm-2.5
- pythagoras.math# xh-dist2 mfcf.math emacs-20.4 emacs-contrib
- pythagoras.math# xh-dist2 mfcf.math xemacs-20.4
- pythagoras.math# xh-dist2 mfcf.math auctex auctex-emacs19 auctex-lemacs
- pythagoras.math# xh-dist2 mfcf.math xpm-3.4f
- pythagoras.math# xh-dist2 mfcf.math ghostscript-6 ghostview-1
- pythagoras.math# xh-dist2 mfcf.math lynx-2.8.2
- pythagoras.math# xh-dist2 mfcf.math top-3.5
- pythagoras.math# xh-dist2 mfcf.math gcc-2.95.2
- pythagoras.math# xh-dist2 mfcf.math calendar
- pythagoras.math# xh-dist2 mfcf.math users
- pythagoras.math# xh-dist2 mfcf.math jqpublic
- pythagoras.math# xh-dist2 mfcf.math xfig-3.2
- pythagoras.math# xh-dist2 mfcf.math sc
Final Tweaking
rcs initial /etc/vfstab and /etc/dfs/dfstab
Turn off dtlogin with "chmod a-x /usr/dt/bin/dtlogin"
- mfcf.math# xh-local-maintenance
and check the output that everything is clean