Solaris Companion Diskのインストール
とりあえず、SUNのサイトへ行って、SompanionのisoイメージをGetしておく。
isoイメージは、このままDVDに焼いてもダメなので、
imgburn等、何でもよいので、ISOを焼けるライティングソフトで、DVDにしておく。
Solaris上で、DVDをマウントすると、自動的にウインドウが開くので、
READMEを読めばわかる。
具体的にREADMEは、こんなことが書いてある。
Solaris(tm) Software Companion September, 2009 The Solaris(tm) Software Companion is a collection of useful and popular software for use in conjunction with the Solaris 10 Operating Environment on both the SPARC and Intel architectures. This software consists of many public domain or freely available programs including utilities, productivity and development tools and much more. These packages should only be installed on Solaris 10 Update 8 or higher. They are not built to work on Update 7 or lower. You will need to use the older Companion packages for those versions of Solaris. For details on how to obtain older Companion packages, see the contact information at the end of this file. The software on this media is offered to you for free as a convenience as it may complement your Solaris Operating Environment. No warranty is made on any of this software; please read the accompanying Legal Notice for details. Support and assistance with this software is not provided by Sun Microsystems, Inc. You may freely copy the contents of this media. PLEASE NOTE: INSTALLATION CHANGES To install the packages contained on the September 2009 Companion media: 1. You must have installed at least the packages contained in the SUNWCuser cluster. You will also need to be sure that you have allocated enough disk space in /var and /opt. You should have 700 MB free space in /opt and 65 MB in /var. The Companion packages are located on the media as follows: SPARC: Solaris_Software_Companion/Solaris_sparc/Packages x86: Solaris_Software_Companion/Solaris_i386/Packages 2. To install the packages, use the pkgadd (1M) command. For example, to install a single package, cd to the directory where the packages are located and execute the following command as root. # pkgadd -d `pwd`To install all of the packages without interacting with each package installation, create an installation administration file containing the following information. # cat /var/tmp/admin mail= conflict=nocheck setuid=nocheck action=nocheck partial=nocheck instance=overwrite idepend=nocheck rdepend=nocheck space=check Then cd to the location of the packages and, as root, execute: # pkgadd -a /var/tmp/admin -d `pwd` 3. Source code compressed tar files for all the package on this media are contained in the Source directory. Sources can be viewed by using gunzip on .gz files, bunzip2 on .bz2 files, and uncompress on .Z files. Run tar xvf on the resulting tar files to see the source. Questions about any of the above files can be sent to Steven.Christensen@Sun.COM.
と書かれてある通り、
/var/tmp/admin
/var/tmp/
に、adminという名前のファイルを作成する。
一応作成方法は、
viの経験があれば、
vi /var/tmp/admin
である。
mail= conflict=nocheck setuid=nocheck action=nocheck partial=nocheck instance=overwrite idepend=nocheck rdepend=nocheck space=check
と書いておく。
次に、
バージョンによってもディレクトリ名は変わっていると思うが、
cd /cdrom/s10_1009_software_companion/Solaris_Software_Companion/Solaris_i386/Packages/
として、ディレクトリを移動する。
最後に、
pkgadd -a /var/tmp/admin -d `pwd`
とすればよい。
きっと、さっき入力したadminファイルは、pkgadd の設定ファイルになるのであろう。
そうすると、途中で、一回だけ、どのようにインストールするんだ?と英語で聞いてくるので、そのままEnterを押下すると、全部インストールしてくれる。