8. SOLARIS ADMINISTRATION

SPARC10 - INSTALL

Note = SOLARIS 10 SPARC

      Solaris 10 Sparc Get ISO from Oracle

Configuration Setup                                              

$     ORACLE SOLARIS LIBRARY FILES

1

  Solaris : ZFS Only available through the text mode installer

ok>  boot cdrom    - nowin

2

  Solaris :To boot with OpenWindows but still use the text mode installer:

ok>  boot cdrom    - text


3

  Solaris: Customise Install , I prefer ZFS

1) Remove StarOffice
2) Remove Webmin


4

  Solaris : Install Nano : Get from sunfreeware but first need wget

bash-3.00# uname -an && cat /etc/rel*
SunOS sparc.ajvm.net 5.10 Generic_139555-08 sun4u sparc    SUNW,Sun-Fire-V240
                       Solaris 10 5/09 s10s_u7wos_08 SPARC
           Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                           Use is subject to license terms.
                             Assembled 30 March    2009
bash-3.00# which wget
no wget in /usr/sbin /usr/bin
bash-3.00# pkginfo |grep wget
system        SUNWwgetr                        GNU wget -    utility    to retrieve files from the World Wide Web (root)
system      SUNWwgetu                        wget - GNU    wget
bash-3.00#
-------
bash-3.00# find    / -name    wget
/usr/sfw/bin/wget
--------
[now settle this problem first]
-----------
bash-3.00# pwd
/
------------
bash-3.00# echo    "PATH=$PATH:/usr/sfw/bin:/usr/bin:/usr/sbin:" >    .profile
bash-3.00# echo    "export    PATH" >> .profile
----------
bash-3.00# bash
bash-3.00# su -
Sun Microsystems Inc.    SunOS 5.10    Generic    January    2005
You have mail.
# bash
bash-3.00# which wget
/usr/sfw/bin/wget
bash-3.00#
bash-3.00# wget    -c ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/nano-2.0.9-sol10-sparc-local.gz
bash-3.00# gunzip -d nano-2.0.9-sol10-sparc-local.gz
bash-3.00# pkgadd -d  nano-2.0.9-sol10-sparc-local
The following packages are available:
  1  SMCnano     nano
                 (sparc) 2.0.9

Select package(s) you wish to process (or 'all'    to process
all packages). (default: all) [?,??,q]:
---------------------------------------------------
Installation of    <SMCnano> was successful.
bash-3.00# nano
bash: nano: command not    found
bash-3.00#
----------------------
bash-3.00# find    / -name    nano
/usr/local/share/nano
/usr/local/doc/nano
/usr/local/bin/nano

bash-3.00# /usr/local/bin/nano test
ld.so.1: nano: fatal: libintl.so.8: open failed: No such file or directory
Killed
------------------
bash-3.00# wget    -c ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/libintl-3.4.0-sol10-sparc-local.gz
--------------
bash-3.00# gunzip -d libintl-3.4.0-sol10-sparc-local.gz
bash-3.00# pkgadd -d libintl-3.4.0-sol10-sparc-local
Installation of    <SMClintl> was successful.
bash-3.00# /usr/local/bin/nano
ld.so.1: nano: fatal: libiconv.so.2: open failed: No such file or directory
Killed
bash-3.00#
bash-3.00# wget    -c ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/libiconv-1.11-sol10-sparc-local.gz
bash-3.00# gunzip -d libiconv-1.11-sol10-sparc-local.gz
bash-3.00# pkgadd -d libiconv-1.11-sol10-sparc-local
Installation of    <SMCliconv> was    successful.
bash-3.00# /usr/local/bin/nano test
ld.so.1: nano: fatal: libncurses.so.5: open failed: No such file or directory
Killed
------------------------
bash-3.00# wget    -c ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/ncurses-5.6-sol10-sparc-local.gz

bash-3.00# gunzip -d ncurses-5.6-sol10-sparc-local.gz
bash-3.00# pkgadd -d ncurses-5.6-sol10-sparc-local
------------------------
Installation of    <SMCncurs> was successful.
bash-3.00# /usr/local/bin/nano test
ld.so.1: nano: fatal: libgcc_s.so.1: open failed: No such file or directory
Killed
-------------------------------
bash-3.00# find    / -name    libgcc_s.so.1
/usr/lib/AdobeReader/Adobe/Reader8/Reader/sparcsolaris/lib/libgcc_s.so.1
/usr/sfw/lib/libgcc_s.so.1
/usr/sfw/lib/sparcv9/libgcc_s.so.1
bash-3.00#
--------------its there but that lib is not load by default--------------------
-------------ok    settle this-----------------

5

  Solaris CRLE

bash-3.00# crle

Default    configuration file (/var/ld/ld.config) not found
  Default Library Path (ELF):    /lib:/usr/lib  (system default)
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system default)
bash-3.00#

bash-3.00# crle    -l /lib:/usr/lib:/usr/local/lib:/usr/sfw/lib:/usr/openwin/lib/
-----add all lib system u may know--------------

bash-3.00# /usr/local/bin/nano test
----------yeah its work


6

  Solaris



7

  Solaris



Previous Section    SOLARIS ADMINISTRATION Next Section