Membuat Bootable OpenSolaris CD
Artikel berikut menyajikan secara sederhana cara membuat bootable OpenSolaris CD. Bootable CD ini bukan sebuah live CD atau distro lengkap berbasis OpenSolaris. Bootable CD ini akan menjalankan program instalasi Solaris Express. Bootable CD ini diharapkan bisa menjadi prototype live CD atau distro lengkap berbasis OpenSolaris.
Membuat ISO Image
Persiapkan DVD Solaris Express dan masukan ke dalam DVD drive. Gunakan setup_install_server script untuk menyalin boot image, kernel dan file-file pendukung lainnya.
# cd /media/SOL_11_X86/Solaris_11/Tools # mkdir /export/bootstrap # ./setup_install_server -b /export/bootstrap Verifying target directory... Calculating space required for the installation boot image Copying Solaris_11 Tools hierarchy... Copying Install Boot Image hierarchy... Copying /boot x86 netboot hierarchy... Install Server setup complete
Kita telah memiliki filesystem image lengkap untuk sebuah prototype OpenSolaris CD installer. Paket-paket software SUNWcsr dan SUNWcsu yang telah dibuat sebelum akan ditambahkan.
# cd /export/bootstrap # ls -aF ./ .install_config/ Solaris_11/ ../ .slicemapfile boot/ # cd Solaris_11 # mkdir Docs ExtraValue Misc Patches Product # Agar mirip dengan layout DVD Solaris distribusi # cd Product # mkdir SUNWcsr SUNWcsu
Menyalin SUNWcsr dan SUNWcsu paket dari direktori /var/spool/pkg
# cd /var/spool/pkg/SUNWcsr # find . -depth -print | cpio -pvdm /export/bootstrap/Solaris_11/Product/SUNWcsr # cd /var/spool/pkg/SUNWcsu # find . -depth -print | cpio -pvdm /export/bootstrap/Solaris_11/Product/SUNWcsu
Total ukuran image secara keseluruhan adalah,
# cd /export # du -sk bootstrap 224194 bootstrap
Asumsikan image telah siap, berikutnya adalah membuat bootable ISO image. Bootable ISO imagenya bernama Solaris11.iso
# cd /
# mkdir /aux0/isoimages
# mkisofs -o /aux0/isoimages/Solaris11.iso -b boot/grub/stage2_eltorito \
-c .catalog -no-emul-boot -boot-load-size 4 \
-boot-info-table -relaxed-filenames -N -L -l -r -J \
-d -D -V Solaris_11 /export/bootstrap
mkisofs: The option '-L' is reserved by POSIX.1-2001.
mkisofs: The option '-L' means 'follow all symbolic links'.
mkisofs: Mkisofs-2.02 will introduce POSIX semantics for '-L'.
mkisofs: Use -allow-leading-dots in future to get old mkisofs behavior.
Warning: creating filesystem that does not conform to ISO-9660.
...
4.40% done, estimate finish Tue May 29 15:07:05 2007
8.80% done, estimate finish Tue May 29 15:07:05 2007
13.20% done, estimate finish Tue May 29 15:07:05 2007
17.60% done, estimate finish Tue May 29 15:07:05 2007
21.99% done, estimate finish Tue May 29 15:07:05 2007
26.40% done, estimate finish Tue May 29 15:07:05 2007
30.79% done, estimate finish Tue May 29 15:07:05 2007
35.20% done, estimate finish Tue May 29 15:07:05 2007
39.59% done, estimate finish Tue May 29 15:07:05 2007
43.99% done, estimate finish Tue May 29 15:07:05 2007
48.40% done, estimate finish Tue May 29 15:07:07 2007
52.79% done, estimate finish Tue May 29 15:07:05 2007
57.19% done, estimate finish Tue May 29 15:07:07 2007
61.59% done, estimate finish Tue May 29 15:07:07 2007
65.98% done, estimate finish Tue May 29 15:07:07 2007
70.39% done, estimate finish Tue May 29 15:07:07 2007
74.78% done, estimate finish Tue May 29 15:07:08 2007
79.19% done, estimate finish Tue May 29 15:07:06 2007
83.58% done, estimate finish Tue May 29 15:07:08 2007
87.98% done, estimate finish Tue May 29 15:07:06 2007
92.38% done, estimate finish Tue May 29 15:07:06 2007
96.78% done, estimate finish Tue May 29 15:07:06 2007
Total translation table size: 2048
Total rockridge attributes bytes: 216195
Total directory bytes: 2052096
Path table size(bytes): 13206
Max brk space used 1f8000
113672 extents written (222 MB)
Mengetes ISO Image Files
# /usr/sbin/lofiadm -a /aux0/isoimages/Solaris11.iso /dev/lofi/1 # mount -F hsfs /dev/lofi/1 /mnt # cd /mnt # ls -aF ./ ../ .catalog .install_config/ .slicemapfile Solaris_11/ boot/
Bootable ISO image telah siap. Untuk membakar imagenya bisa dengan Nero di Microsoft Windows atau cdrecord
Referensi Lain:
http://www.sun.com/bigadmin/features/articles/device_driver_install.html
Membuat Distribusi Paket Solaris
Paket (Package) adalah sebuah standard distribusi software di Solaris. Paket terdiri dari: cpio file yang
terkompresi, pre/post install script, package info (pkginfo) file dan package map (pkgmap). Berikut adalah contoh direktori paket:
$ cd /media/SOL_11_X86/Solaris_11/Product/SUNWcsr $ ls -l total 80 dr-xr-xr-x 2 root root 2048 Jan 13 07:12 archive dr-xr-xr-x 2 root root 8192 Jan 13 07:12 install -r--r--r-- 1 root root 903 Jan 6 02:19 pkginfo -r--r--r-- 1 root root 27458 Jan 6 02:19 pkgmap dr-xr-xr-x 6 root root 2048 Jan 13 07:12 reloc
Paket akan dibuat dari konsolidasi terkompilasi ON (Operating System and Networking), yang dikenal dengan BFU. Tutorial ini tidak menyuguhkan detail proses mengkompilasi OpenSolaris dari kode sumbernya. Distribusi yang dibuat dari BFU bukan merupakan sebuah distribusi lengkap sebuah system operasi tapi bisa digunakan untuk mengupgrade kernel dan core Solaris software yang telah terinstall.
1. Mempersiapkan ON Image
Direktori kerja yang dipakai dalam contoh berikut adalah /aux0/on-bfu-intel untuk menyimpan archive, image dan struktur direktori paket dari distribusi ON BFU. ON BFU archive adalah tar archive yang terdiri dari 2 file yaitu:
- on-bfu-20070423.i386.tar.bz2
- on-closed-bins-20070423.i386.tar.bz2
Pindah ke direktori kerja untuk memulai mengekstrak file-filenya,
$ cd /aux0/on-bfu-intel $ ls on-bfu-20070423.i386.tar.bz2 on-closed-bins-20070423.i386.tar.bz2 $ bzcat on-bfu-20070423.i386.tar.bz2 | tar xf - $ bzcat on-closed-bins-20070423.i386.tar.bz2 | tar xf - $ cd archives-20070423/i386 $ ls conflict_resolution.gz generic.lib generic.sbin i86pc.boot i86pc.usr generic.kernel generic.root generic.usr i86pc.root
Ekstrak archive file-filenya,
$ cpio -ivcd < generic.kernel $ cpio -icd < generic.lib $ cpio -icd < generic.root $ cpio -icd < generic.sbin $ cpio -icd < generic.usr $ cpio -icd < i86pc.boot $ cpio -icd < i86pc.root $ cpio -icd < i86pc.usr
Abaikan dulu file conflict_resolution.gz dan hapus archive file-filenya,
$ rm conflict_resolution.gz $ rm generic.* i86pc.* conflict_resolution.cpio $ ls -F bin@ devices/ home/ mnt/ proc/ tmp/ boot/ etc/ kernel/ opt/ sbin/ usr/ dev/ export/ lib/ platform/ system/ var/
Total ukuran image,
$ du -sk . 307252 .
Berikutnya uppdate ON image dengan menambahkan file-file biner dari closed archive,
$ cd /aux0/on-bfu-intel/closed/root_i386 $ find . -depth -print | cpio -pvdm /aux0/on-bfu-intel/archives-20070423/i386
Abaikan beberapa pesan kesalahan yang muncul ketika cpio mencoba mengupdate image. Pesan yang muncul:
cpio: Existing "/aux0/on-bfu-intel/archives-20070423/i386/kernel/drv/pcser" same age or newer
Seharusnya ukuran image akan lebih besar,
$ cd /aux0/on-bfu-intel/archives-20070423/i386 $ du -sk . 312529 .
2. Membuat Package
ON image akan dibuat dalam 2 paket software:
- SUNWcsu yang berisi semua file di dalam /usr directory
- SUNWcsr yang berisi semua file dalam / kecuali /usr directory dan /opt/SUNWdtrt
Ini diambil dari asumsi sederhana bahwa konsolidari ON merupakan core software Solaris yang terdiri dari 2 filesystem yaitu: / dan /usr. Paket SUNWcsu dan SUNWcsr yang akan kita buat tidak menggambarkan paket sebenarnya yang terdapat dalam DVD distribusi Solaris.
2.a. Membuat Paket SUNWcsu
Persiapkan direktory paket untuk SUNWcsu,
$ mkdir /aux0/on-bfu-intel/package/SUNWcsu/usr
Berikutnya menyalin usr image ke direktori SUNWcsu,
$ cd /aux0/on-bfu-intel/archives-20070423/i386/usr $ find . -depth -print | cpio -pvdm /aux0/on-bfu-intel/package/SUNWcsu/usr
Membuat prototype file,
$ cd /aux0/on-bfu-intel/package/SUNWcsu/usr $ pkgproto . > prototype
Edit prototype file untuk menyesuaikan ownership dan permission
$ vi prototype f none usr/bin/getent 0555 root bin f none usr/bin/fsstat 0555 root bin f none usr/bin/dumpcs 0555 root bin f none usr/bin/sortbib 0555 root bin f none usr/bin/uucp 4511 root bin
Persiapkan file-file berikut: pkginfo, copyright dan pre/post install script. Dalam contoh ini kita hanya menyalin file-file yang diperlukan dari DVD distribusi Solaris Express.
$ cd /media/SOL_11_X86/Solaris_11/Product/SUNWcsu $ cp pkginfo /aux0/on-bfu-intel/package/SUNWcsu $ cd /media/SOL_11_X86/Solaris_11/Product/SUNWcsu/install $ cp copyright i.none postinstall /aux0/on-bfu-intel/package/SUNWcsu
Akhirnya kita dapatkan struktur direktori yang diperlukan untuk membuat paket SUNWcsu,
$ cd /aux0/on-bfu-intel/package/SUNWcsu $ ls -F copyright pkginfo prototype i.none postinstall usr/
Edit prototype file untuk memasukan copyright, pkginfo, dan pre/post install script, tambahkan 5 baris berikut di awal file:
$ vi prototype # Packaging files i pkginfo i copyright i postinstall i i.none
Saatnya untuk membuat SUNWcsu paket sesuai dengan ketentuan yang dibuat dalam prototype file,
$ pkgmk -f ./prototype -r . ..... /var/spool/pkg/SUNWcsu/reloc/usr/xpg4/include/curses.h /var/spool/pkg/SUNWcsu/reloc/usr/xpg4/include/term.h /var/spool/pkg/SUNWcsu/reloc/usr/xpg4/include/unctrl.h ...
Setelah beberapa saat paket SUNWcsu selesai dibuat. Paket tersebut dapat ditemukan di:
# pwd /var/spool/pkg/SUNWcsu # ls -l total 1814 drwxr-xr-x 2 onuser staff 512 May 13 10:53 install -rw-r--r-- 1 onuser staff 511 May 13 10:53 pkginfo -rw-r--r-- 1 onuser staff 917032 May 13 10:53 pkgmap drwxr-xr-x 3 onuser staff 512 May 13 10:53 reloc
Lakukan penyesuain ownership file-file paketnya:
# chown root:other install pkginfo pkgmap reloc # cd install # chown root * # ls -l total 20 -rw-r--r-- 1 root staff 93 May 13 09:11 copyright -rw-r--r-- 1 root staff 7332 May 13 09:11 i.none -rw-r--r-- 1 root staff 220 May 13 09:11 postinstall # chgrp other i.none # ls -l total 20 -rw-r--r-- 1 root staff 93 May 13 09:11 copyright -rw-r--r-- 1 root other 7332 May 13 09:11 i.none -rw-r--r-- 1 root staff 220 May 13 09:11 postinstall # cd ../reloc # chown -R root:other usr # cd ..
Persiapkan direktori archive untuk menampung cpio archive dari paket ini,
# mkdir archive # chgrp -R other archive
Buat cpio archive dari file-file yang berada di reloc dan diberi name none,
# cd reloc # find . -depth -print | cpio -ov -C 512 -O ../archive/none # bzip2 ../archive/none # cd ../archive # ls -l total 116180 drwxr-xr-x 2 root other 512 May 13 11:13 ./ drwxr-xr-x 5 onuser staff 512 May 13 11:08 ../ -rwxr-xr-x 1 root root 57M May 13 11:11 none.bz2* # chmod 644 none.bz2 # chgrp other none.bz2 # ls -l total 116180 drwxr-xr-x 2 root other 512 May 13 11:13 ./ drwxr-xr-x 5 onuser staff 512 May 13 11:08 ../ -rw-r--r-- 1 root other 57M May 13 11:11 none.bz2
Hapus file-file yang ada di direktori reloc tapi biarkan struktur direktori tetap ada,
# cd ../reloc # find . -depth -print > removed_files # rm `cat removed_files` # rm removed_files
2.b. Membuat Paket SUNWcsr
Berikut disajikan secara singkat langkah-langkah membuat paket SUNWcsr dari ON Image yang sama.
$ cd /aux0/on-bfu-intel/archives-20070423/i386 $ mkdir /aux0/on-bfu-intel/package/SUNWcsr $ find . -depth -print | cpio -pvdm /aux0/on-bfu-intel/package/SUNWcsr
Hapus direktori-direktori yang tidak diperlukan di dalam direktori paket,
$ cd /aux0/on-bfu-intel/package/SUNWcsr $ m -r usr opt/SUNWdtrt
Membuat prototype file,
$ cd /aux0/on-bfu-intel/package/SUNWcsr $ pkgproto . > prototype $ vi prototype # Change ownership and permission
Menyalin copyright, installation script dari DVD Distribusi Solaris Express,
$ cd /media/SOL_11_X86/Solaris_11/Product/SUNWcsr/install $ cp * /aux0/on-bfu-intel/package/SUNWcsr $ cd /aux0/on-bfu-intel/package/SUNWcsr
Akhirnya kita dapatkan struktur direktori lengkap untuk paket SUNWcsr
$ ls -F bin@ i.etcrpc i.pamconf kernel/ boot/ i.fstypes i.passwd lib/ checkinstall i.group i.pkcs11confbase mnt/ copyright i.hosts i.policyconf opt/ dev/ i.inetdconf i.preserve pkginfo devices/ i.initd i.rbac platform/ etc/ i.inittab i.renamenew postinstall export/ i.locallogin i.renameold preinstall home/ i.localprofile i.rmmconf preremove i.cronroot i.logadmconf i.services proc/ i.definit i.logindevperm i.shadow prototype i.deflogin i.mailxrc i.syslogconf r.manifest i.defpasswd i.manifest i.tiservices r.rbac i.defsu i.netconfig i.ttydefs sbin/ i.dhcpinittab i.none i.ttysrch system/ i.etcprofile i.nscd i.vfstab tmp/ i.etcremote i.nsswitch i.voldconf var/
Lakukan penyesuaian permission untuk installation scripts,
$ chmod 644 i.* $ chmod 644 r.* $ chmod 644 checkinstall postinstall preinstall preremove copyright
Edit prototype file untuk memasukan copyright, pkginfo, dan installation scripts yang diperlukan,
$ vi prototype # packaging files i pkginfo i copyright i checkinstall i postinstall i preinstall i preremove i i.inittab i i.preserve i i.renamenew i i.tiservices i i.inetdconf i i.definit i i.cronroot i i.passwd i i.shadow i i.etcremote i i.nsswitch i i.nscd i i.netconfig i i.none i i.deflogin i i.defsu i i.syslogconf i i.ttysrch i i.group i i.etcrpc i i.etcprofile i i.mailxrc i i.voldconf i i.rmmconf i i.initd i i.locallogin i i.localprofile i i.logadmconf i i.fstypes i i.pamconf i i.services i i.rbac i r.rbac i i.renameold i i.dhcpinittab i i.policyconf i i.pkcs11confbase i i.defpasswd i i.vfstab i i.manifest i r.manifest i i.ttydefs f none prototype 0644 root root d none kernel 0755 root sys ...
Saatnya untuk membuat SUNWcsr paket sesuai dengan ketentuan yang dibuat dalam prototype file,
$ pkgmk -f prototype -r . ## Building pkgmap from package prototype file. ..... /var/spool/pkg/SUNWcsr/reloc/var/yp/Makefile /var/spool/pkg/SUNWcsr/reloc/var/yp/aliases ## Validating control scripts. ## Packaging complete.
Setelah beberapa saat paket SUNWcsu selesai dibuat. Paket tersebut dapat ditemukan di:
# cd /var/spool/pkg/SUNWcsr # ls -l total 326 drwxr-xr-x 2 onuser staff 1024 May 13 15:46 install -rw-r--r-- 1 onuser staff 813 May 13 15:45 pkginfo -rw-r--r-- 1 onuser staff 155170 May 13 15:45 pkgmap drwxr-xr-x 9 onuser staff 512 May 13 15:46 reloc
Lakukan penyesuain ownership file-file paketnya:
# chown -R root:other * # ls -al total 330 drwxr-xr-x 4 onuser staff 512 May 13 15:45 . drwxrwxrwt 10 root bin 512 May 13 15:45 .. drwxr-xr-x 2 root other 1024 May 13 15:46 install -rw-r--r-- 1 root other 813 May 13 15:45 pkginfo -rw-r--r-- 1 root other 155170 May 13 15:45 pkgmap drwxr-xr-x 9 root other 512 May 13 15:46 reloc # cd .. # chown -R root:other SUNWcsr # ls -al total 330 drwxr-xr-x 4 root other 512 May 13 15:45 . drwxrwxrwt 10 root bin 512 May 13 15:45 .. drwxr-xr-x 2 root other 1024 May 13 15:46 install -rw-r--r-- 1 root other 813 May 13 15:45 pkginfo -rw-r--r-- 1 root other 155170 May 13 15:45 pkgmap drwxr-xr-x 9 root other 512 May 13 15:46 reloc
Memeriksa keutuhan struktur paket,
# pkgchk -d . SUNWcsr Checking uninstalled directory format package from ## Checking control scripts. ## Checking package objects. ## Checking is complete.
Persiapkan direktori archive untuk menampung cpio archive dari paket ini,
# cd /var/spool/pkg/SUNWcsr # mkdir archive # ls -l total 328 drwxr-xr-x 2 root root 512 May 13 15:58 archive drwxr-xr-x 2 root other 1024 May 13 15:46 install -rw-r--r-- 1 root other 813 May 13 15:45 pkginfo -rw-r--r-- 1 root other 155170 May 13 15:45 pkgmap drwxr-xr-x 9 root other 512 May 13 15:46 reloc # chown -R root:other archive
Buat cpio archive dari file-file yang berada di reloc dan diberi name none,
# cd reloc # find . -depth -print | cpio -ov -C 512 -O ../archive/none # cd /var/spool/pkg/SUNWcsr/archive # bzip2 none # ls -l total 77700 drwxr-xr-x 2 root other 512 May 13 16:04 ./ drwxr-xr-x 5 root other 512 May 13 15:58 ../ -rwxr-xr-x 1 root root 38M May 13 16:02 none.bz2* # chown root:other none.bz2 # chmod 644 none.bz2 # ls total 77700 drwxr-xr-x 2 root other 512 May 13 16:04 ./ drwxr-xr-x 5 root other 512 May 13 15:58 ../ -rw-r--r-- 1 root other 38M May 13 16:02 none.bz2
Hapus file-file yang ada di direktori reloc tapi biarkan struktur direktori tetap ada,
# cd /var/spool/pkg/SUNWcsr/reloc # find . -depth -print > removed_files # rm `cat removed_files`
3. Menginstall Paket SUNWcsr dan SUNWcsu
Sekarang saatnya untuk mengetest apakah paket yang telah dibuat dapat terinstall seperti yang diharapkan.Agar instalasi berjalan tidak interaktif digunakan admin file yang telah dimodifikasi sebagai berikut,
# cd /var/spool/pkg # cp -p /var/sadm/install/default . # vi default mail= instance=unique partial=nocheck runlevel=nocheck idepend=nocheck rdepend=nocheck space=nocheck setuid=nocheck conflict=nocheck action=nocheck networktimeout=60 networkretries=3 authentication=quit keystore=/var/sadm/security proxy= basedir=default
Paket-paket ini akan diinstall di /aux0/rootdir,
# mkdir /aux0/rootdir # pkgadd -a ./default -d . -R /aux0/rootdir SUNWcsr Processing package instance from Core Solaris, (Root)(i386) 11.11,REV=2007.05.06.07.38 Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. ## Executing checkinstall script. Using as the package base directory. ## Processing package information. ## Processing system information. Installing Core Solaris, (Root) as ## Executing preinstall script. ## Installing part 1 of 1. /aux0/rootdir/bin /aux0/rootdir/boot/solaris/bin/root_archive /aux0/rootdir/dev/stderr ... # pkgadd -a ./default -d . -R /aux0/rootdir SUNWcsu Processing package instance from Core Solaris, (Usr)(sparc) 11.10.0,REV=2005.01.21.15.53 Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. This appears to be an attempt to install the same architecture and version of a package which is already installed. This installation will attempt to overwrite this package. Using as the package base directory. ## Processing package information. ## Processing system information. 12676 package pathnames are already properly installed. Installing Core Solaris, (Usr) as ## Installing part 1 of 1. ## Executing postinstall script. Installation of was successful. #
Referensi Lain:
http://www.opensolaris.org/os/community/on/gate_info/svr_pac
kaging.pdf
Mengkompilasi dan Membuat Konsolidasi ON Build 65
Sistem yang akan digunakan untuk mengkompilasi ON adalah sebuah Notebook Intel Core Duo 1.73 GHz, 512 RAM yang terinstall Solaris Express Developer Edition 2/07 dan Sun Studio 11. Direktori kerja yang digunakan adalah /aux0 sebesar 29 GB.
Mendownload Kode Sumber ON dan Tool
Dalam artikel ini digunakan ON build 65, file-file yang diperlukan adalah:
- on-src-b65.tar.bz2
- SUNWonbld-b65.i386.tar.bz2
- on-closed-bins-b65.i386.tar.bz2
File-file yang diperlukan telah didownload dan tersimpan di direktori /export/download.
# cd /export/download # ls SUNWonbld-b65.i386.tar.bz2 on-src-b65.tar.bz2 on-closed-bins-b65.i386.tar.bz2
Menginstall ON Development Tool
Instalasi ON Developement Tool dilakukan oleh root,
# bzcat SUNWonbld-b65.i386.tar.bz2 | tar xf - # cd onbld # pkgadd -d . SUNWonbld Processing package instance from ## Installing package in global zone ... Installing OS-Net Build Tools as ## Installing part 1 of 1. /opt/onbld/bin/Install /opt/onbld/bin/SampleLinks /opt/onbld/bin/SamplePkgLinks /opt/onbld/bin/acr ...
Membuat User Account dan Direktori Kerjanya
Buatlah sebuah user account yang akan melakukan proses kompilasi ON dari kode sumbernya. User account ini menggunakan
UID=144780 dan GID=10 (staff), ini sesuai dengan UID/GID dari pemilik file-file yang terdapat dalam file kode sumber ON (on-src-b65.tar.bz2 archive).
# useradd -u 144780 -g staff -d /export/home/onuser -m -s /bin/ksh onuser
Buat direktori kerja untuk onuser
# mkdir /aux0/testws1 # chown -R onuser:staff /aux0/testws1
Mengekstrak file kode sumber, closed binary dan Mengkompilasinya
Proses ekstraksi dan kompilasi dilakukan oleh onuser.
# su - onuser $ cd /aux0/testws1 $ bzcat on-src-b65.tar.bz2 | tar xf - $ bzcat on-closed-bins-b65.i386.tar.bz2 | tar xf - $ ls -F README.opensolaris on-closed-bins-b65.i386.tar.bz2* usr/ SUNWonbld-b65.i386.tar.bz2* on-src-b65.tar.bz2* closed/ onbld/
Modifikasi file initialisasi .profile untuk mengupdate variable PATH dan MANPATH,
$ cd /export/home/onuser
$ vi .profile
MAIL=/usr/mail/${LOGNAME:?}
PATH=/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/onbld/bin:/opt/onbld/i386:\
/usr/sfw/bin
MANPATH=/usr/dt/man:/usr/man:/usr/openwin/share/man:/usr/X11/share/man:/opt/onbld/man:/usr/sfw/man:\
/opt/SUNWspro/man
DISPLAY=:0.0
export PATH MANPATH DISPLAY
$ . $HOME/.profile
Berikutnya, menyalin ON-specific environment file, yaitu opensolaris.sh dan memodifikasinya. Variabel-variable yang perlu diubah adalah GATE, emMGR_WS, STAFFER, VERSION. Variable NIGHTLY_OPTION saya tambahkan option -p agar selesai kompilasi langsung dibuatkan SVR4 paketnya.
$ cd /aux0/testws1 $ ls usr/src/tools/env Makefile developer.sh gatekeeper.sh opensolaris.sh $ cp usr/src/tools/env/opensolaris.sh . $ chmod u+x opensolaris.sh $ vi opensolaris.sh ... NIGHTLY_OPTIONS="-pFNnaCDlmrt" GATE=testws1 CODEMGR_WS=/aux0/$GATE STAFFER=onuser VERSION=$GATE
Jalankan perintah nightly untuk memulai proses kompilasi. File-file hasil kompilasi akan disimpan di direktori proto/root_i386 sedangkat paket software di packages/i386/nightly
$ nightly ./opensolaris.sh
Selama proses kompilasi sebuah log file dibuat. Log file ini berguna untuk melihat dan memonitor proses kompilasi. Buka terminal baru dan jalankan,
$ tail -f /aux0/testws1/log/nightly.log ==== Nightly distributed build started: Thu May 31 11:09:34 WIT 2007 ==== ==== list of environment variables ==== _=/usr/bin/env ENVCPPFLAGS2= TMPDIR=/tmp/nightly.tmpdir.1631 ... ==== Nightly distributed build started: Thu May 31 11:09:34 WIT 2007 ==== ==== Nightly distributed build completed: Thu May 31 13:53:06 WIT 2007 ==== ==== Total build time ==== real 2:43:32
Melihat Hasil Kompilasi dan Log Kesalahan
Hasil kompilasi terdapat di /aux0/testws1/proto/root_i386,
$ cd /aux0/testws1/proto/root_i386 $ ls bin dev etc home lib opt proc system usr boot devices export kernel mnt platform sbin tmp var
Software Paket yang berhasil dibuat akan tersimpan di /aux0/testws1/packages/i386/nightly,
$ cd /aux0/testws1/packages/i386/nightly $ ls BRCMbnx SUNWftpu SUNWonzfs SUNWscpr SUNW1394 SUNWfwdc SUNWopenssl-commands SUNWscpu SUNW1394h SUNWfwdcu SUNWopenssl-include SUNWscsa1394 SUNWaac SUNWgrub SUNWopenssl-libraries SUNWses SUNWaccr SUNWgrubS SUNWopenssl-man SUNWsi3124 SUNWaccu SUNWgss SUNWopensslr SUNWslpr ....
Pesan-pesan kesalahan dapat dianalisa dari beberapa file yang terdapat di /aux0/testws1/log/log.2007-05-31,
$ cd /aux0/testws1/log/log.2007-05-31 $ ls mail_msg nightly.log proto_list_i386
Memahami Proses Instalasi Solaris
Memahami Proses Instalasi Solaris 10
Instalasi Solaris 10 SPARC dan X86/64 pada dasarnya akan melalui tahapan proses yang sama. Artikel ini berisi penjelasan sederhana tahap-tahap instalasi Solaris 10 dan informasi yang harus disediakan di setiap tahap instalasi. Proses instalasi Solaris 10 terbagi menjadi 4 tahap:
- Tahap boot dan mengkonfigurasi program instalasi
- Tahap identifikasi sistem
- Tahap konfigurasi sistem
- Tahap ekstraksi dan menyalin paket distribusi Solaris 10 ke disk
Konfigurasi Perangkat Keras
Proses instalasi dalam artikel ini menggunakan media DVD Solaris 10 SPARC 11/06 dan komputer Sun Blade 1000. Konfigurasi komputer yang digunakan diperlihatkan pada tampilan berikut:
{0} ok banner
SUNW,Sun-Blade-1000 (2 X UltraSPARC-III) , No Keyboard
Copyright 1998-2004 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.13.0, 2048 MB memory installed, Serial #16456776.
Ethernet address 8:0:20:fb:1c:48, Host ID: 80fb1c48.
Akses ke komputer yang akan diinstall dilakukan melalui koneksi serial dari komputer lain yang sudah terinstall Solaris 10. Koneksi serial dilakukan dari program terminal CDE, yaitu dtterm, dengan perintah tip. Artikel ini menyajikan secara berurutan tampilan yang muncul pada layar konsole di setiap bagian tahap instalasi.
Tahap Boot dan Mengkonfigurasi Program Instalasi
Pada komputer berarsitektur SPARC proses boot ke media DVD Solaris 10 dimulai dengan mengetikan perintah boot cdrom ketika sistem masih ada di level Boot PROM. Melalui perintah ini Boot PROM program akan menjalankan boot program yang terdapat di DVD. Boot program selanjutnya akan mengaktifkan program kernel seperti diperlihatkan pada tampilan berikut. Untuk komputer X86, lakukan perubahan parameter urutan boot di BIOS agar komputer boot ke CDROM/DVD.
{0} ok boot cdrom
Boot device: /pci@8,700000/scsi@6/disk@6,0:f File and args:
SunOS Release 5.10 Version Generic_118833-33 64-bit
Copyright 1983-2006 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Configuring devices.
Using RPC Bootparams for network configuration information.
Attempting to configure interface hme0...
SUNW,eri0 : 100 Mbps full duplex link up
WARNING: hme0: fault detected in device; service degraded
WARNING: hme0: No response from Ethernet network : Link down -- cable problem?
Skipped interface hme0
Attempting to configure interface eri0...
Skipped interface eri0
internal error: Bad file number
svc:/system/filesystem/local:default: WARNING: /usr/sbin/zfs mount -a failed: exit status 134
Dec 11 18:31:11 svc.startd[7]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local"
failed with exit status 95.
Dec 11 18:31:11 svc.startd[7]: system/filesystem/local:default failed fatally:
transitioned to maintenance (see 'svcs -xv' for details)
Setting up Java. Please wait...
Beginning system identification...
Searching for configuration file(s)...
Search complete.
Discovering additional network configuration...
Tahap Boot selesai setelah program kernel, program-program untuk perangkat keras dan program-program pendukung kernel lainnya tersedia di memory komputer. Berikutnya program kernel akan mengaktifkan program svc.startd dan svc.startd mengaktifkan program instalasi yang disebut install-begin. Konfigurasi awal yang diperlukan oleh program instalasi adalah bahasa pengantar dan tipe terminal yang akan digunakan, seperti diperlihatkan pada tampilan berikut:
Select a Language 0. English 1. French 2. German 3. Italian 4. Japanese 5. Korean 6. Simplified Chinese 7. Spanish 8. Swedish 9. Traditional Chinese Please make a choice (0 - 9), or press h or ? for help: 0
What type of terminal are you using? 1) ANSI Standard CRT 2) DEC VT52 3) DEC VT100 4) Heathkit 19 5) Lear Siegler ADM31 6) PC Console 7) Sun Command Tool 8) Sun Workstation 9) Televideo 910 10) Televideo 925 11) Wyse Model 50 12) X Terminal Emulator (xterms) 13) CDE Terminal Emulator (dtterm) 14) Other Type the number of your choice and press Return: 13
Setelah informasi konfigurasi dasar terpenuhi maka akan tampil antar muka program instalasi Solaris untuk pertama kali. Tampilan pada layar konsole menjelaskan bahwa proses instalasi terbagi menjadi beberapa bagian dan bagaimana bekerja dengan program instalasi
Solaris Installation Program
The Solaris installation program is divided into a series of short sections
where you'll be prompted to provide information for the installation. At
the end of each section, you'll be able to change the selections you've
made before continuing.
About navigation...
- The mouse cannot be used
- If your keyboard does not have function keys, or they do not
respond, press ESC; the legend at the bottom of the screen
will change to show the ESC keys to use for navigation.
F2_Continue F6_Help
Tahap Identifikasi
Tahap identifikasi dimulai dengan menjalankan program instalasi yang disebut dengan install-begin. Tampilan yang muncul pertama kali pada tahap ini adalah seperti berikut ini:
Identify This System
On the next screens, you must identify this system as networked or
non-networked, and set the default time zone and date/time.
If this system is networked, the software will try to find the information
it needs to identify your system; you will be prompted to supply any
information it cannot find.
> To begin identifying this system, press F2.
F2_Continue F6_Help
Informasi-informasi yang diperlukan pada tahap ini digunakan untuk mengkonfigurasi hal-hal berikut:
- Koneksi jaringan.
- Informasi ini akan menentukan apakah komputer terhubung ke jaringan atau tidak dan bagaimana komputer terkonfigurasi untuk terhubung ke jaringan.
- Layanan Kerberos.
- Informasi ini untuk menentukan layanan otentikasi yang akan digunakan ketika pengguna mengakses sistem komputer. Ada 2 layanan otentikasi yang tersedia yaitu Kerberos dan UNIX standar.
- Name Service.
- Name service berfungsi untuk menyediakan layangan informasi jaringan yang meliputi DNS, NIS, NIS+ dan LDAP.
- Zona waktu.
- Zona waktu akan menentukan selisih waktu antar negara
- Jam dan tanggal.
- Sesuaikan ketepatan jam dan tanggal komputer dengan standar waktu yang berlaku
- Kata sandi untuk root.
- Kata sandi digunakan untuk melindungi akses ke root sebagai sistem administrator
- Layanan jaringan.
- Untuk lebih menjamin keamanan komputer sangat dianjurkan untuk menonaktifkan layanan jaringan seperti telnet, ftp, rsh atau rlogin. Jika diperlukan akses ke komputer dari komputer lain sebaiknya hanya menggunakan SSH.
Detail informasi yang diperlukan untuk mengkonfigurasi koneksi jaringan meliputi:
- Memilih kartu jaringan yang akan dipakai
- Apakah akan menggunakan DHCP untuk menyediakan alamat IP
- Menentukan nama komputer
- Menentukan alamat IP dan netmask jika tidak menggunakan DHCP
- Apakah akan mengaktifkan IPv6
- Menentukan konfigurasi routing
Tampilan pada layar konsole terminal selama tahap identifiasi diperlihatkan secara berurutan pada bagian berikut ini.
Konfigurasi Koneksi Jaringan
Network Connectivity
Specify Yes if the system is connected to the network by one of the Solaris
or vendor network/communication Ethernet cards that are supported on the
Solaris CD. See your hardware documentation for the current list of
supported cards.
Specify No if the system is connected to a network/communication card that
is not supported on the Solaris CD, and follow the instructions listed under
Help.
Networked
---------
[X] Yes
[ ] No
F2_Continue F6_Help
Jika konfigurasi perangkat keras komputer memiliki lebih dari satu kartu jaringan maka akan muncul tampilan berikut:
Configure Multiple Network Interfaces
Multiple network interfaces have been detected on this system. Specify all
of the network interfaces you want to configure.
Note: You must choose at least one interface to configure.
Network interfaces
------------------
[X] eri0
[ ] hme0
Esc-2_Continue Esc-6_Help
Selama tahap mengkonfigurasi koneksi jaringan pada layar konsole muncul tampilan-tampilan berikut ini:
Konfigurasi DHCP
DHCP for eri0
Specify whether or not this network interface should use DHCP to configure
itself. Choose Yes if DHCP is to be used, or No if the network interface is
to be configured manually.
NOTE: DHCP support will not be enabled, if selected, until after the system
reboots.
Use DHCP for eri0
-----------------
[ ] Yes
[X] No
Esc-2_Continue Esc-6_Help
Menentukan Nama Komputer
Host Name for eri0
Enter the host name which identifies this system on the network. The name
must be unique within your domain; creating a duplicate host name will cause
problems on the network after you install Solaris.
A host name must have at least one character; it can contain letters,
digits, and minus signs (-).
Host name for eri0 leopard
Esc-2_Continue Esc-6_Help
Menentukan IP Address
IP Address for eri0
Enter the Internet Protocol (IP) address for this network interface. It
must be unique and follow your site's address conventions, or a
system/network failure could result.
IP addresses contain four sets of numbers separated by periods (for example
129.200.9.1).
IP address for eri0 192.168.1.1
Esc-2_Continue Esc-6_Help
Menentukan Netmask
Subnet for eri0
On this screen you must specify whether this system is part of a subnet. If
you specify incorrectly, the system will have problems communicating on the
network after you reboot.
> To make a selection, use the arrow keys to highlight the option and
press Return to mark it [X].
System part of a subnet
-----------------------
[X] Yes
[ ] No
Esc-2_Continue Esc-6_Help
Netmask for eri0
On this screen you must specify the netmask of your subnet. A default
netmask is shown; do not accept the default unless you are sure it is
correct for your subnet. A netmask must contain four sets of numbers
separated by periods (for example 255.255.255.0).
Netmask for eri0 255.255.255.0
Esc-2_Continue Esc-6_Help
Aktivasi IPv6
IPv6 for eri0
Specify whether or not you want to enable IPv6, the next generation Internet
Protocol, on this network interface. Enabling IPv6 will have no effect if
this machine is not on a network that provides IPv6 service. IPv4 service
will not be affected if IPv6 is enabled.
> To make a selection, use the arrow keys to highlight the option and
press Return to mark it [X].
Enable IPv6 for eri0
--------------------
[ ] Yes
[X] No
Esc-2_Continue Esc-6_Help
Menentukan Konfigurasi Routing
Set the Default Route for eri0
To specify the default route, you can let the software try to detect one
upon reboot, you can specify the IP address of the router, or you can choose
None. Choose None if you do not have a router on your subnet.
> To make a selection, use the arrow keys to select your choice and press
Return to mark it [X].
Default Route for eri0
-----------------------
[X] Detect one upon reboot
[ ] Specify one
[ ] None
Esc-2_Continue Esc-6_Help
Setelah semua informasi yang diperlukan untuk mengkonfigurasi koneksi jaringan terpenuhi maka diakhiri oleh tampilan konfirmasi seperti
berikut ini:
Confirm Information for eri0
> Confirm the following information. If it is correct, press F2;
to change any information, press F4.
Networked: Yes
Use DHCP: No
Host name: leopard
IP address: 192.168.1.1
System part of a subnet: Yes
Netmask: 255.255.255.0
Enable IPv6: No
Default Route: Detect one upon reboot
Esc-2_Continue Esc-4_Change Esc-6_Help
Mengkonfigurasi Kerberos
Configure Security Policy:
Specify Yes if the system will use the Kerberos security mechanism.
Specify No if this system will use standard UNIX security.
Configure Kerberos Security
---------------------------
[ ] Yes
[X] No
Esc-2_Continue Esc-6_Help
Confirm Information
> Confirm the following information. If it is correct, press F2;
to change any information, press F4.
Configure Kerberos Security: No
Esc-2_Continue Esc-4_Change Esc-6_Help
Memilih Name Service
Name Service
On this screen you must provide name service information. Select the name
service that will be used by this system, or None if your system will either
not use a name service at all, or if it will use a name service not listed
here.
> To make a selection, use the arrow keys to highlight the option
and press Return to mark it [X].
Name service
------------
[ ] NIS+
[ ] NIS
[ ] DNS
[ ] LDAP
[X] None
Esc-2_Continue Esc-6_Help
Confirm Information
> Confirm the following information. If it is correct, press F2;
to change any information, press F4.
Name service: None
Esc-2_Continue Esc-4_Change Esc-6_Help
Memilih Zona Waktu
Time Zone
On this screen you must specify your default time zone. You can specify a
time zone in three ways: select one of the continents or oceans from the
list, select other - offset from GMT, or other - specify time zone file.
> To make a selection, use the arrow keys to highlight the option and
press Return to mark it [X].
Continents and Oceans
----------------------------------
- [ ] Africa
x [ ] Americas
x [ ] Antarctica
x [ ] Arctic Ocean
x [X] Asia
x [ ] Atlantic Ocean
x [ ] Australia
x [ ] Europe
v [ ] Indian Ocean
Esc-2_Continue Esc-6_Help
Country or Region
> To make a selection, use the arrow keys to highlight the option and
press Return to mark it [X].
Countries and Regions
------------------------
^ [ ] Georgia
x [ ] Hong Kong
x [ ] India
x [X] Indonesia
x [ ] Iran
x [ ] Iraq
x [ ] Israel
x [ ] Japan
x [ ] Jordan
x [ ] Kazakhstan
x [ ] Korea (North)
x [ ] Korea (South)
v [ ] Kuwait
Esc-2_Continue Esc-6_Help
Time Zone
> To make a selection, use the arrow keys to highlight the option and
press Return to mark it [X].
Time zones
-----------------------------------------------------------------
[X] Java & Sumatra
[ ] west & central Borneo
[ ] east & south Borneo, Celebes, Bali, Nusa Tengarra, west Timor
[ ] Irian Jaya & the Moluccas
Esc-2_Continue Esc-6_Help
Menyesuaikan Jam dan Tanggal
Date and Time
> Accept the default date and time or enter
new values.
Date and time: 2007-12-12 10:10
Year (4 digits) : 2007
Month (1-12) : 12
Day (1-31) : 12
Hour (0-23) : 10
Minute (0-59) : 10
Esc-2_Continue Esc-6_Help
Confirm Information
> Confirm the following information. If it is correct, press F2;
to change any information, press F4.
Time zone: Java & Sumatra
(Asia/Jakarta)
Date and time: 2007-12-12 10:10:00
Esc-2_Continue Esc-4_Change Esc-6_Help
Menentukan Kata Sandi root
Root Password
Please enter the root password for this system.
The root password may contain alphanumeric and special characters. For
security, the password will not be displayed on the screen as you type it.
> If you do not want a root password, leave both entries blank.
Root password: ******
Root password: ******
Esc-2_Continue Esc-6_Help
Aktivasi Layanan Jaringan
Enabling remote services
Would you like to enable network services for use by remote clients?
Selecting "No" provides a more secure configuration in
which Secure Shell is the only network service provided to
remote clients. Selecting "Yes" enables a larger set of
services as in previous Solaris releases. If in doubt, it is
safe to select "No" as any services can be individually enabled
after installation.
Note: This choice only affects initial installs. It doesn't affect upgrades.
Remote services enabled
-----------------------
[X] Yes
[ ] No
F2_Continue F6_Help
Tahap Konfigurasi System
Setelah tahap identifikasi selesai berikutnya instalasi memasuki tahap konfigurasi. Tahap konfigurasi dimulai dengan menjalankan program instalasi yang disebut dengan install-solaris. Tampilan yang muncul pertama kali pada tahap ini adalah seperti berikut ini:
System identification complete. Starting Solaris installation program... Executing JumpStart preinstall phase... Searching for SolStart directory... Checking rules.ok file... Using begin script: install_begin Using finish script: patch_finish Executing SolStart preinstall phase... Executing begin script "install_begin"... Begin script install_begin execution completed.
Informasi-informasi terpenting yang diperlukan pada tahap ini digunakan untuk mengkonfigurasi hal-hal berikut:
- Tipe distribusi software instalasi
- Ada 2 tipe distribusi software Solaris untuk instalasi yaitu distribusi package-based Solaris, disebut sebagai distribusi standar, dan Flash Archive. Distribusi standar merupakan metode distribusi software yang digunakan oleh DVD instalasi Solaris 10. Flash archive merupakan salinan cpio (archive) dari sebuah komputer yang sudah terinstal Solaris 10.
- Tipe instalasi
- Tipe instalasi ada 2 yaitu instalasi perbaharui atau inisial. Instalasi perbaharui dimungkinkan jika komputer telah terinstal Solaris sebelum versi Solaris 10. Instalasi ini akan memperbaharui file-file tertentu dan membiarkan file-file lain tidak diperbaharui. Sebaliknya instalasi inisial akan menggantikan seluruh file yang ada di disk dengan file-file yang ada di media distribusi.
- Bahasa dan locale
- Bahasa akan menentukan bahasa pengantar yang akan digunakan sedangkan locale untuk menentukan antara lain format bilangan dan format mata uang.
- Software group
- Software group akan menentukan berapa ruang disk yang diperlukan untuk menginstal Solaris sesuai dengan fungsi dari sistem komputer. Untuk komputer server dianjurkan untuk memilih software group Entire Distribution atau Entire plus OEM support Distribution sedangkan komputer desktop cukup dengan software group Developer System Support atau End User System Support. Software group Core System Support atau Reduced Networking Core System Support biasanya digunakan untuk komputer yang memerlukan instalasi minimal dengan pertimbangn keamanan sistem.
- Disk dan layout partisi
- Ruang disk minimal yang diperlukan untuk instalasi Solaris 10 adalah 4341 MB dengan layout partisi minial adalah root dan swap.
Tampilan pada layar konsole terminal selama tahap konfigurasi diperlihatkan secara berurutan pada bagian berikut ini.
Memilih Tipe Distribusi Instalasi Software
Solaris Interactive Installation
On the following screens, you can accept the defaults or you can customize
how Solaris software will be installed by:
- Selecting the type of Solaris software to install
- Selecting disks to hold software you've selected
- Selecting unbundled products to be installed with Solaris
- Specifying how file systems are laid out on the disks
After completing these tasks, a summary of your selections (called a profile) will be displayed.
There are two ways to install your Solaris software:
- "Standard" installs your system from a standard Solaris Distribution.
Selecting "Standard" allows you to choose between initial install
and upgrade, if your system is upgradable.
- "Flash" installs your system from one or more Flash Archives.
F2_Standard F4_Flash F5_Exit F6_Help
Penanganan DVD Media
Eject a CD/DVD Automatically?
During the installation of Solaris software, you may be using one or more
CDs/DVDs. You can choose to have the system eject each CD/DVD automatically
after it is installed or you can choose to manually eject each CD/DVD.
[X] Automatically eject CD/DVD
[ ] Manually eject CD/DVD
F2_Continue F3_Go Back F5_Exit
Mengaktifkan reboot setelah instalasi
Reboot After Installation?
After Solaris software is installed, the system must be rebooted. You can
choose to have the system automatically reboot, or you can choose to
manually reboot the system if you want to run scripts or do other
customizations before the reboot. You can manually reboot a system by using
the reboot(1M) command.
[X] Auto Reboot
[ ] Manual Reboot
F2_Continue F3_Go Back F5_Exit
Memilih Tipe Instalasi
Solaris Interactive Installation
This system is upgradable, so there are two ways to install the Solaris
software.
The Upgrade option updates the Solaris software to the new release, saving
as many modifications to the previous version of Solaris software as
possible. Back up the system before using the Upgrade option.
The Initial option overwrites the system disks with the new version of
Solaris software. This option allows you to preserve any existing file
systems. Back up any modifications made to the previous version of Solaris
software before starting the Initial option.
After you select an option and complete the tasks that follow, a summary of
your actions will be displayed.
F2_Upgrade F3_Go Back F4_Initial F5_Exit F6_Help
Initializing
The system is being initialized.
Loading install media, please wait...
Menyetujui Lisensi Software
License
- Sun Microsystems, Inc. ("Sun")
x SOFTWARE LICENSE AGREEMENT
x
x READ THE TERMS OF THIS AGREEMENT ("AGREEMENT") CAREFULLY BEFORE
x OPENING SOFTWARE MEDIA PACKAGE. BY OPENING SOFTWARE MEDIA
x PACKAGE, YOU AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU ARE
x ACCESSING SOFTWARE ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF
x THESE TERMS BY SELECTING THE "ACCEPT"(OR EQUIVALENT) BUTTON AT
x THE END OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE
x TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE OF
x PURCHASE FOR A REFUND OR, IF SOFTWARE IS ACCESSED ELECTRONICALLY,
x SELECT THE "DECLINE" (OR EQUIVALENT) BUTTON AT THE END OF THIS
x AGREEMENT. IF YOU HAVE SEPARATELY AGREED TO LICENSE TERMS
x ("MASTER TERMS") FOR YOUR LICENSE TO THIS SOFTWARE, THEN SECTIONS
x 1-6 OF THIS AGREEMENT ("SUPPLEMENTAL LICENSE TERMS") SHALL
x SUPPLEMENT AND SUPERSEDE THE MASTER TERMS IN RELATION TO THIS
x SOFTWARE.
x
v 1. Definitions.
F2_Accept License F5_Exit
Memilih Tambahan Bahasa
Select Geographic Regions
Select the geographic regions for which support should be installed.
> [ ] Australasia
> [ ] Asia
> [ ] Eastern Europe
> [ ] Northern Europe
> [ ] Northern Africa
> [ ] Middle East
> [ ] Southern Europe
> [ ] South America
> [ ] Central America
> [ ] Central Europe
> [ ] North America
> [ ] Western Europe
Move left, right, up, down using the arrow keys
F2_Continue F3_Go Back F5_Exit F6_Help
Select Geographic Regions
Select the geographic regions for which support should be installed.
> [ ] Southern Europe
> [ ] South America
> [ ] Central America
> [ ] Central Europe
V [/] North America
[ ] Canada-English (ISO8859-1)
[ ] Canada-French (ISO8859-1)
[ ] French
[ ] Mexico (ISO8859-1)
[ ] Spanish
[X] U.S.A. (UTF-8)
[X] U.S.A. (en_US.ISO8859-1)
> [ ] Western Europe
Locale is selected. Press Return to deselect
F2_Continue F3_Go Back F5_Exit F6_Help
Memilih Locale
Select System Locale
Select the initial locale to be used after the system has been installed.
[X] POSIX C ( C )
North America
[ ] U.S.A. (UTF-8) ( en_US.UTF-8 )
[ ] U.S.A. (en_US.ISO8859-1) ( en_US.ISO8859-1 )
[ ] U.S.A. (en_US.ISO8859-15) ( en_US.ISO8859-15 )
F2_Continue F3_Go Back F5_Exit F6_Help
Memilih Software Tambahan
Select Products
Select the products you would like to install.
V [ ] Solaris 10 Extra Value Software................. 0.00 MB
[ ] Sun Validation Test Suite 6.3................... 69.92 MB
Press Return to hide components
F2_Continue F3_Go Back F4_Product Info F5_Exit F6_Help
Additional Products
To scan for additional products, select the location you wish to scan.
Products found at the selected location that are in a Web Start Ready
install form will be added to the Products list.
Web Start Ready product scan location:
[X] None
[ ] CD/DVD
[ ] Network File System
F2_Continue F3_Go Back F5_Exit
Memilih Software Group
Select Software
Select the Solaris software to install on the system.
NOTE: After selecting a software group, you can add or remove software by
customizing it. However, this requires understanding of software
dependencies and how Solaris software is packaged.
[X] Entire Distribution plus OEM support ....... 5619.00 MB
[ ] Entire Distribution ........................ 5578.00 MB
[ ] Developer System Support ................... 5464.00 MB
[ ] End User System Support .................... 4448.00 MB
[ ] Core System Support ........................ 857.00 MB
[ ] Reduced Networking Core System Support ..... 806.00 MB
F2_Continue F3_Go Back F4_Customize F5_Exit F6_Help
Memilih Disk
Select Disks
On this screen you must select the disks for installing Solaris software.
Start by looking at the Suggested Minimum field; this value is the
approximate space needed to install the software you've selected. Keep
selecting disks until the Total Selected value exceeds the Suggested Minimum
value.
NOTE: ** denotes current boot disk
Disk Device Available Space
=============================================================================
[X] c1t1d0 17269 MB (F4 to edit)
[ ] c1t2d0 17269 MB
Total Selected: 17269 MB
Suggested Minimum: 4341 MB
F2_Continue F3_Go Back F4_Edit F5_Exit F6_Help
Melindungi Data Partisi Tertentu
Preserve Data?
Do you want to preserve existing data? At least one of the disks you've
selected for installing Solaris software has file systems or unnamed slices
that you may want to save.
F2_Continue F3_Go Back F4_Preserve F5_Exit F6_Help
Menentukan Layout Partisi dan File System
Automatically Layout File Systems?
Do you want to use auto-layout to automatically layout file systems?
Manually laying out file systems requires advanced system administration
skills.
F2_Auto Layout F3_Go Back F4_Manual Layout F5_Exit F6_Help
Automatically Layout File Systems
On this screen you must select all the file systems you want auto-layout to
create, or accept the default file systems shown.
NOTE: For small disks, it may be necessary for auto-layout to break up some
of the file systems you request into smaller file systems to fit the
available disk space. So, after auto-layout completes, you may find file
systems in the layout that you did not select from the list below.
File Systems for Auto-layout
========================================
[X] /
[ ] /opt
[ ] /usr
[ ] /usr/openwin
[ ] /var
[X] swap
F2_Continue F5_Cancel F6_Help
File System and Disk Layout
The summary below is your current file system and disk layout, based on the
information you've supplied.
NOTE: If you choose to customize, you should understand file systems, their
intended purpose on the disk, and how changing them may affect the operation
of the system.
File sys/Mnt point Disk/Slice Size
========================================================================
/ c1t1d0s0 5294 MB
swap c1t1d0s1 513 MB
overlap c1t1d0s2 17269 MB
/export/home c1t1d0s7 11462 MB
F2_Continue F3_Go Back F4_Customize F5_Exit F6_Help
Customize Disk: c1t1d0
Boot Device: c1t1d0s0
Entry: Recommended: MB Minimum: MB
================================================================================
Slice Mount Point Size (MB)
0 / 10001
1 swap 1026
2 overlap 17269
3 0
4 0
5 0
6 0
7 0
================================================================================
Capacity: 17269 MB
Allocated: 11027 MB
Free: 6242 MB
F2_OK F4_Options F5_Cancel F6_Help
>File System and Disk Layout
The summary below is your current file system and disk layout, based on the
information you've supplied.
NOTE: If you choose to customize, you should understand file systems, their
intended purpose on the disk, and how changing them may affect the operation
of the system.
File sys/Mnt point Disk/Slice Size
========================================================================
/ c1t1d0s0 10001 MB
swap c1t1d0s1 1026 MB
overlap c1t1d0s2 17269 MB
F2_Continue F3_Go Back F4_Customize F5_Exit F6_Help
Mengaktifkan NFS Mount
Mount Remote File Systems?
Do you want to mount software from a remote file server? This may be
necessary if you had to remove software because of disk space problems.
F2_Continue F3_Go Back F4_Remote Mounts F5_Exit F6_Help
Konfirmasi Konfigurasi System
Profile
The information shown below is your profile for installing Solaris software.
It reflects the choices you've made on previous screens.
============================================================================
Installation Option: Initial
Boot Device: c1t1d0
Client Services: None
Locales: U.S.A. (UTF-8)
U.S.A. (en_US.ISO8859-1)
System Locale: C ( C )
Software: Solaris 10, Entire Distribution plus OEM su
File System and Disk Layout: / c1t1d0s0 10001 MB
swap c1t1d0s1 1026 MB
F2_Begin Installation F4_Change F5_Exit F6_Help
Tampilan berikut memperlihatkan munculnya peringatan karena tidak semua silinder disk digunakan ketika mempartisi disk. Dari contoh di atas, adanya silinder yang tidak digunakan (unused disk space) sengaja dilakukan dan akan dimanfaatkan nanti setelah proses instalasi selesai.
Warning
The following disk configuration condition(s) have been
detected. Errors must be fixed to ensure a successful
installation. Warnings can be ignored without causing the
installation to fail.
WARNING: Unused disk space (c1t1d0)
WARNING: CHANGING DEFAULT BOOT DEVICE
You have either explicitly changed the default boot device, or
accepted the default to "Reconfigure EEPROM". In either case,
the system's EEPROM will be changed so it will always boot
Solaris from the device that you've specified. If this is not
what you had in mind, go back to the disk selection screens and
change the "Reconfigure EEPROM" setting.
F2_OK F5_Cancel
Bagian akhir dari tahap konfigurasi adalah mempartisi disk, mengkonfigurasi disk label dan membuat sistem file UFS di masing-masing partisi seperti diperlihatkan tampilan berikut ini.
Configuring disk (c1t1d0)
- Creating Solaris disk label (VTOC)
Creating and checking UFS file systems
- Creating / (c1t1d0s0)
Warning: 1032 sector(s) in last cylinder unallocated
/dev/rdsk/c1t1d0s0: 20483064 sectors in 3334 cylinders of 48 tracks, 128 sectors
10001.5MB in 209 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,
19563424, 19661856, 19760288, 19858720, 19957152, 20055584, 20154016,
20252448, 20350880, 20449312
Tahap Ekstraksi Paket Distribusi Solaris dan Menyalin ke Disk
Paket distribusi standar Solaris 10 dalam DVD Solaris 10 sebenarnya dalam format salinan cpio yang terkompresi bzip2. Tahap ekstrasi paket distribusi Solaris 10 dan menyalinya ke disk membutuhkan waktu yang cukup lama. Tampilan berikut memperlihatkan progres selama tahap ekstraksi dan penyalinan.
Solaris Initial Install MBytes Installed: 245,16 MBytes Remaining: 3312,67 Installing: JDK 5.0 | | | | | | 0 20 40 60 80 100
Tahap akhir dari tahap ini ditandai dengan munculnya pesan “Solaris 10 software installation succeeded” seperti diperlihatkan tampilan berikuti ini.
Solaris 10 software installation succeeded
Customizing system files
- Mount points table (/etc/vfstab)
- Unselected disk mount points (/var/sadm/system/data/vfstab.unselected)
- Network host addresses (/etc/hosts)
- Network host addresses (/etc/hosts)
- Environment variables (/etc/default/init)
Cleaning devices
Customizing system devices
- Physical devices (/devices)
- Logical devices (/dev)
Installing boot information
- Installing boot blocks (c1t1d0s0)
- Installing boot blocks (/dev/rdsk/c1t1d0s0)
- Updating system firmware for automatic rebooting
Installation log location
- /a/var/sadm/system/logs/install_log (before reboot)
- /var/sadm/system/logs/install_log (after reboot)
Installation complete
Executing SolStart postinstall phase...
Executing finish script "patch_finish"...
Finish script patch_finish execution completed.
Executing JumpStart postinstall phase...
The begin script log 'begin.log'
is located in /var/sadm/system/logs after reboot.
The finish script log 'finish.log'
is located in /var/sadm/system/logs after reboot.
Launching installer. Please Wait... Installing Additional Software |-1%--------------25%-----------------50%-----------------75%--------------100%| Pausing for 30 seconds at the "Summary" screen. The wizard will continue to the next step unless you select "Pause". Enter 'p' to pause. Enter 'c' to continue. [c] Pausing for 90 seconds at the "Reboot" screen. The wizard will continue to the next step unless you select "Pause". Enter 'p' to pause. Enter 'c' to continue. [c] syncing file systems... done rebooting... Resetting ...
Reboot Setalah Instalasi Selesai
SUNW,Sun-Blade-1000 (2 X UltraSPARC-III) , No Keyboard
Copyright 1998-2004 Sun Microsystems, Inc. All rights reserved.
OpenBoot 4.13.0, 2048 MB memory installed, Serial #16456776.
Ethernet address 8:0:20:fb:1c:48, Host ID: 80fb1c48.
Rebooting with command: boot
Boot device: /pci@8,600000/SUNW,qlc@4/fp@0,0/disk@w21000004cf0b1daf,0:a File and args:
SunOS Release 5.10 Version Generic_118833-33 64-bit
Copyright 1983-2006 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Hostname: leopard
SUNW,eri0 : 100 Mbps full duplex link up
Configuring devices.
Loading smf(5) service descriptions: 42/143
Loading smf(5) service descriptions: 143/143
Creating new rsa public/private host key pair
Creating new dsa public/private host key pair
This system is configured with NFS version 4, which uses a domain
name that is automatically derived from the system's name services.
The derived domain name is sufficient for most configurations. In a
few cases, mounts that cross different domains might cause files to
be owned by "nobody" due to the lack of a common domain name.
Do you need to override the system's default NFS version 4 domain
name (yes/no) ? [no] :
For more information about how the NFS version 4 default domain
name is derived and its impact, refer to the man pages for nfs(4)
and nfsmapid(1m), and the System Administration Guide: Network
Services.
Dec 12 11:32:25 leopard sendmail[828]: My unqualified host name (leopard) unknown; sleeping for retry
leopard console login: Dec 12 11:33:25 leopard sendmail[828]: unable to qualify my own domain name (leopard) -- using short name
Dec 12 11:33:25 leopard sendmail[948]: My unqualified host name (leopard) unknown; sleeping for retry
Dec 12 11:33:25 leopard sendmail[949]: My unqualified host name (leopard) unknown; sleeping for retry
Dec 12 11:33:57 leopard java[1286]: pkcs11_softtoken: Keystore version failure.
Dec 12 11:34:25 leopard sendmail[948]: unable to qualify my own domain name (leopard) -- using short name
Dec 12 11:34:25 leopard sendmail[949]: unable to qualify my own domain name (leopard) -- using short name
leopard console login: root
Password:
Dec 12 11:34:34 leopard login: ROOT LOGIN /dev/console
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
#
Tinggalkan Sebuah Komentar