Solaris information sites

A bunch of links to places which contain Solaris FAQs and/or info about Solaris. And here is some setup information for local Solaris. The tar files can be found in ~pphillip/adm/solaris/tar/. The rest of the document is copied from ~pphillip/adm/solaris/setup. The document will get extended and clearer with time. I still have some more things todo on cascade.
- install developer hardware release 11/94
- boot
- cd /cdrom/sol_2_4_hw1194_sparc/s0/Patches
  ./install-patches
- install a bunch of FTPed patches:
	101945-29	kernel jumbo
	101959-03	lp jumbo
	101973-11	jumbo ypbind libnsl
	102007-02	tmpfs fixes
	102044-01	mouse root bug (probably already installed)
	102066-04	sendmail
	102070-01	rpcbind/portmap
	102216-02	klmmod + rpcmod
	102218-03	libbsm fixes
	102922-02	inetd fixes
	102292-01	open windows security
	102011-03	fixes to tar, cat, dd

add /usr/sbin/in.logd and entry to inetd.conf

Further setup steps:

Create cache file system:
cfsadmin -c /var/cache

Stop autofs:
/etc/init.d/autofs stop

Edit:
/etc/auto_master

Add:
/etc/resolv.conf

/etc/init.d/autofs start

- after a minute, cfs starts working and can ls /cs/local/bin


rc2.d differences:
Only in /etc/rc2.d: K20lp
Only in rc2.d: S21perf
Only in rc2.d: S72ntp
Only in rc2.d: S79lpd
Only in /etc/rc2.d: S80lp
Only in rc2.d: S86xdm
Only in rc2.d: S97snmp
Only in rc2.d: S98htpd

rc3.d differences:
Only in rc3.d: S79tmpfix

Copy S79tmpfix into /etc/rc3.d

Copy in some tar files containings 'things':
lpd.tar
remove: rc0.d/K20lp /etc/rc2.d/S80lp /etc/rc2.d/K20lp
add: /etc/init.d/S79lpd

Copy S86xdm to /etc/rc2.d

Unpack ntp.tar, replace ntp.conf with cascade original.

Put +@cshosts in /etc/hosts.equiv

tcpd: unpack tcpd.tar

Copy in /etc/mail/sendmail.cf from columbia

rm /var/spool/cron/crontabs/lp (may need this later)

Put 142.103.4.254 in /etc/defaultrouter

chmod 644 /etc/mnttab

cp /cs/local/bin/tcsh /bin

Run "/usr/bin/catman -w" to create /usr/share/man/windex

Edit /etc/system to add:

	set maxusers = 40
	set pt_cnt = 256
	set sadcnt = 64

Should help for large numbers of tty users.

Install BSD sendmail:
/etc/init.d/sendmail stop
/bin/rm -rf /etc/mail
tar xvpf /tmp/sendmail/sendmail.tar
/etc/init.d/sendmail start

Modify syslog.conf:
*** /etc/syslog.conf    Tue Aug 15 19:49:29 1995
--- /tmp/syslog.conf    Thu Aug 17 16:48:56 1995
***************
*** 25,31 ****
  # if a non-loghost machine chooses to have authentication messages
  # sent to the loghost machine, un-comment out the following line:
! #auth.notice                  ifdef(`LOGHOST', /var/log/authlog, @loghost)
  
! mail.debug                    ifdef(`LOGHOST', /var/log/syslog, @loghost)
  
  #
--- 25,31 ----
  # if a non-loghost machine chooses to have authentication messages
  # sent to the loghost machine, un-comment out the following line:
! auth.info                     ifdef(`LOGHOST', /var/log/authlog, @loghost)
  
! mail.debug                    ifdef(`LOGHOST', /var/log/syslog, @mailhost)
  
  #

Add in some links in /usr/ccs/bin to the SUNWspro stuff.

cd /usr/ccs/bin
ln -s /opt/SUNWspro/SC3.0/bin/acc ucbcc
ln -s /opt/SUNWspro/SC3.0/bin/lint ucblint
ln -s /opt/SUNWspro/SC3.0/bin/whatdir .

Here is a script which does the above links and changes some directory
permissions.

---------------
#!/bin/sh
cd /usr/ccs/bin
ln -s /opt/SUNWspro/SC3.0/bin/acc ucbcc
ln -s /opt/SUNWspro/SC3.0/bin/lint ucblint
ln -s /opt/SUNWspro/SC3.0/bin/whatdir .

chmod go-w /var
chmod +t /var/preserve
chmod go-w /var/spool /var/spool/pkg

rmdir /var/news
ln -s spool/news /var/news
chmod go-w /sbin

for i in /var/adm /var/opt /dev /devices /export /mnt /usr /etc
do
echo ${i}:
find $i -xdev -type d -perm -020 -exec chmod og-w {} \;
done
# remove the bogus lpr stuff
cd /usr/ucb; rm lpc lpq lpr lprm lptest
---------------