Solaris 2.0 SPARC: Unterschied zwischen den Versionen
Luna (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Luna (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
== Solaris 2.0 installation on a SPARCstation == | |||
[[Datei:Solaris_2.0_sparcstation1.jpg|thumb|right|Solaris 2.0 booting up]] | |||
Solaris 2.0 is a FCS release. It is somewhat buggy and feels much slower than later releases. | Solaris 2.0 is a FCS release. It is somewhat buggy and feels much slower than later releases. | ||
boot from Solaris 2.5 cdrom | boot from Solaris 2.5 cdrom | ||
partition the disk | partition the disk. | ||
then boot from Solaris 2.0 cdrom and install everything. | then boot from Solaris 2.0 cdrom and install everything. | ||
Zeile 31: | Zeile 30: | ||
--------------- | --------------- | ||
Patch-ID# 100723-01 | Patch-ID# 100723-01 | ||
Problem Description: Solaris-2.0FCS install procedures leave world-writable | Problem Description: Solaris-2.0FCS install procedures leave world-writable | ||
directories, thus opening a path for normal users to gain root privileges. | directories, thus opening a path for normal users to gain root privileges. | ||
After the installation of Solaris 2.0, the installer should run the | After the installation of Solaris 2.0, the installer should run the | ||
following command as root: | following command as root: | ||
# pkgchk -f | # pkgchk -f | ||
This command will correct improperly set directory and file attributes | This command will correct improperly set directory and file attributes | ||
created during the install process. | created during the install process. | ||
--------------- | --------------- | ||
Zeile 47: | Zeile 46: | ||
install patches like this: | install patches like this: | ||
/usr/local/compile/sol21/100833-12/installpatch /usr/local/compile/sol21/100833-12 | /usr/local/compile/sol21/100833-12/installpatch /usr/local/compile/sol21/100833-12 | ||
needs full paths... | needs full paths... | ||
Zeile 55: | Zeile 54: | ||
.profile: | .profile: | ||
PATH=/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/ucb:/usr/openwin/bin | PATH=/usr/local/bin:/usr/ccs/bin:/usr/sbin:/usr/bin:/usr/ucb:/usr/openwin/bin | ||
export PATH | export PATH | ||
CFLAGS="-O -I/usr/local/include -L/usr/local/lib -R/usr/local/lib" | CFLAGS="-O -I/usr/local/include -L/usr/local/lib -R/usr/local/lib" | ||
CPPFLAGS="-I/usr/local/include" | CPPFLAGS="-I/usr/local/include" | ||
LDFLAGS="-L/usr/local/lib -R/usr/local/lib" | LDFLAGS="-L/usr/local/lib -R/usr/local/lib" | ||
export CFLAGS CPPFLAGS LDFLAGS | export CFLAGS CPPFLAGS LDFLAGS | ||
MANPATH=/usr/local/man:/usr/share/man:/usr/openwin/share/man | MANPATH=/usr/local/man:/usr/share/man:/usr/openwin/share/man | ||
export MANPATH | export MANPATH | ||
#CONFIG_SHELL=/usr/local/bin/bash | #CONFIG_SHELL=/usr/local/bin/bash | ||
#export CONFIG_SHELL | #export CONFIG_SHELL | ||
TERM=vt100 | TERM=vt100 | ||
export TERM | export TERM | ||
.bashrc: | .bashrc: | ||
# set a fancy prompt | # set a fancy prompt | ||
PS1='\u@\h:\w\$ ' | PS1='\u@\h:\w\$ ' | ||
export PS1 | export PS1 | ||
---------------- | ---------------- | ||
gcc-2.7.2.3: | '''gcc-2.7.2.3:''' | ||
install binary build on Solaris 2.1 | 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''' | |||
[[Kategorie: UNIX]] | |||
[[Kategorie: Solaris]] |
Aktuelle Version vom 3. April 2019, 00:19 Uhr
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.
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:
# 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
#CONFIG_SHELL=/usr/local/bin/bash #export CONFIG_SHELL
TERM=vt100 export TERM
.bashrc:
# 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