Solaris 2.0 SPARC

Aus Knowledgebase
Zur Navigation springen Zur Suche springen

Solaris 2.0 installation on a SPARCstation

Solaris 2.0 is a FCS release. It is somewhat buggy and feels much slower than later releases.

Datei:800px-Solaris 2.0 sparcstation1.jpg


boot from Solaris 2.5 cdrom partition the disk then boot from Solaris 2.0 cdrom and install everything.

Solaris 2.0 did not boot the kernel depending on the SCSI disks installed. Worked with two Seagate disks, but not with Quantum or DEC disks...

Solaris 2.0 could not be installed via serial console, because the installation process would not work correctly with the VT100 terminal setting. It needed a graphical console to install.


edit /etc/nsswitch.conf:

hosts:        files dns [NOTFOUND=return]

add gateway to /etc/defaultrouter add hosts to /etc/hosts


uncomment CONSOLE=/dev/console in /etc/default/login to allow remote root login


Patch-ID# 100723-01 Problem Description: Solaris-2.0FCS install procedures leave world-writable directories, thus opening a path for normal users to gain root privileges.

After the installation of Solaris 2.0, the installer should run the following command as root:

  1. pkgchk -f

This command will correct improperly set directory and file attributes created during the install process.


install patches like this:

/usr/local/compile/sol21/100833-12/installpatch /usr/local/compile/sol21/100833-12

needs full paths...


.profile:

PATH=/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/ucb:/usr/openwin/bin export PATH

CFLAGS="-O -I/usr/local/include -L/usr/local/lib -R/usr/local/lib" CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib -R/usr/local/lib" export CFLAGS CPPFLAGS LDFLAGS

MANPATH=/usr/local/man:/usr/share/man:/usr/openwin/share/man export MANPATH

  1. CONFIG_SHELL=/usr/local/bin/bash
  2. export CONFIG_SHELL

TERM=vt100 export TERM


.bashrc:

  1. set a fancy prompt

PS1='\u@\h:\w\$ ' export PS1


gcc-2.7.2.3: install binary build on Solaris 2.1

gcc-2.8.1: native build with: configure --enable-languages=c --without-gnu-ld --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as --without-gnu-as --disable-locale --disable-nls

flex-2.5.4a gzip-1.2.4a sed-3.02 grep-2.3

copy install-sh from gawk-3.0.6 to /usr/local/bin/install

m4-1.4.5 gawk-3.0.6

make-3.79: change include <kstat.h> to include <sys/kstat.h> in getloadavg.c at line 425

pdksh-5.2.14 --disable-nls --disable-emacs

bison-1.28 tar-1.11.8

bash-2.05b bzip2-1.0.6: remove the -f from Makefile

ncurses-5.9 --with-shared --without-cxx --without-cxx-binding --without-ada

make-3.82: change include <kstat.h> to include <sys/kstat.h> in getloadavg.c

tin-2.4.4-snapshot zlib-1.2.8

fileutils-4.1