1.下载所需的资源
http://www.oracle.com/technetwork/server-storage/solaris11/downloads/local-repository-2245081.html
http://download.oracle.com/otn/solaris/11.2/sol-11_2-repo-1of4.zip
http://download.oracle.com/otn/solaris/11.2/sol-11_2-repo-2of4.zip
http://download.oracle.com/otn/solaris/11.2/sol-11_2-repo-3of4.zip
http://download.oracle.com/otn/solaris/11.2/sol-11_2-repo-4of4.zip
sol-11_2-repo-1of4.zip是从官网下载下来的
上传到/down下,这个是我自己创建的目录。
root@dbserver:/down# ls -l
total 14373948
-rwxrwxrwx 1 root root 5594 10月 30日 12:59 install-repo.ksh
-rwxrwxrwx 1 root root 1771800121 10月 30日 12:58 sol-11_2-repo-1of4.zip
-rwxrwxrwx 1 root root 1889867782 10月 30日 12:59 sol-11_2-repo-2of4.zip
-rwxrwxrwx 1 root root 1902167161 10月 30日 13:00 sol-11_2-repo-3of4.zip
-rwxrwxrwx 1 root root 1790358735 10月 30日 13:50 sol-11_2-repo-4of4.zip
-rwxrwxrwx 1 root root 228 10月 30日 13:57 sol-11_2-repo-md5sums.txt
root@dbserver:/down# ./install-repo.ksh -d /down -I -v -c
Comparing checksums of downloaded files...done. Checksums match.
Uncompressing sol-11_2-repo-1of4.zip...done.
Uncompressing sol-11_2-repo-2of4.zip...done.
Uncompressing sol-11_2-repo-3of4.zip...done.
Uncompressing sol-11_2-repo-4of4.zip...done.
Repository can be found in /down.
Initiating repository verification.
2.用text CD安装solaris11
安装完后为solaris-large-server模式。
3.制做本地的repository
解压合并文件
$ cd /export/home/yanzi/repo
$ unzip sol-11-1111-repo-full-iso-a.zip
$ unzip sol-11-1111-repo-full-iso-b.zip
$ cat sol-11-1111-repo-full-iso-a sol-11-1111-repo-full-iso-b > sol-11-1111-repo-full.iso
挂载镜像
# lofiadm -a /down/sol-11-1111-repo-full.iso
# mount -F hsfs -o ro /dev/lofi/1 /mnt
设置镜像为本地repository
# pkg set-publisher -Pe -O file:///mnt/repo/ solaris
4.安装GUI
# pkg search solaris-desktop
# pkg install solaris-desktop
恢复在线repository
# pkg set-publisher -Pe -O http://pkg.oracle.com/solaris/release solaris
重启
reboot -p
重启启动后自动进入X界面。
原创文章请注明转载自技术小站本文地址:http://www.i5i6.net/post/95.html,标题:Solaris11 text 安装GUI