Solaris 11.4安装,映像包管理系统(IPS)搭建
文章目录
1.下载地址
2. IPS安装准备
2.1 repo包
IPS的repo包下载:上述截图的“Create a Local Repository”链接。

说明:为什么配置IPS,因为Solaris 11的text版本安装后没有桌面,需要配置个IPS安装桌面。
2.1 install-repo.ksh
Download下的“Repository Assembly Script (install-repo.ksh)”是个安装脚本,点击之后出现下图:

脚本名字为install-repo.ksh。
2.2 校验文本
“SHA256 Digest”是校验码,点击右键另存为之后,如下图:

需要命名为“sol-11_4-repo_digest.txt”。安装时候需要这个文件。
3. Solaris系统安装
3.1 虚拟机软件
我用的是VMware Workstation 15 Pro。

3.2 安装os
新建虚拟机步骤省略了,把iso镜像文件挂载在CD/DVD后打开虚拟机,出现这个画面直接回车。

在下边也直接回车,不选中文了。

选择1安装系统。

直接F2继续。下边没说明直接F2继续了。

默认就是本地磁盘,F2继续。



主机名默认为solaris,F2继续。

选net0配置网络。

手工分配ip,选Static。

键入ip地址的值和router的值。
router一般都是ip结尾为1,如果你不确定,就在windows的cmd命令下看你虚拟机的网卡的地址,用这个就行了,可以参考我安装Solaris10的文章有图文。或者你干脆不写也行。

不要DNS。

这里提示是否选择名称服务。

时区选亚洲中国北京。



英语。






等待…
F8重启。

等待30s或者回车。


这里敲个回车,不然你还以为卡在这里。



完成。
3.3 允许远程使用root用户登录SSH
# vi /etc/ssh/sshd_config
PermitRootLogin no
---修改为
PermitRootLogin yes
重启SSH服务,使其生效
# svcadm restart ssh
3.4 bash配置
3.4.1 修改提示符(可选)
root@solaris:~# pwd
/root
root@solaris:~# vi .profile
添加:
alias ll='ls -l'
PS1='[\u@\h:$PWD]# '
export PS1
保存退出,重新开启会话即可对新会话生效。
3.5 sendmail无法获取域名问题
参考Solaris 10安装时候的报错。
[root@oracle:/]# vi /etc/hosts
192.168.180.111 solaris
改为
192.168.180.111 solaris localhost.localdomain
4. IPS搭建
4.1 上传资源
资源在章节2处说明如何下载,在哪里下载了。
下边全部都要,名字要和截图一样。

4.2 合成软件库
4.2.1 授权脚本
[root@solaris:/soft]# chmod 775 install-repo.ksh
4.2.2 执行脚本生成ISO
[root@solaris:/root]# cd /soft
[root@solaris:/soft]# ll
total 18817596
-rw-r--r-- 1 root root 12262 Mar 16 20:28 install-repo.ksh
-rw-r--r-- 1 root root 1968246581 Jan 3 2019 sol-11_4-repo_1of5.zip
-rw-r--r-- 1 root root 1814619737 Jan 3 2019 sol-11_4-repo_2of5.zip
-rw-r--r-- 1 root root 1772147401 Jan 3 2019 sol-11_4-repo_3of5.zip
-rw-r--r-- 1 root root 2132702935 Jan 3 2019 sol-11_4-repo_4of5.zip
-rw-r--r-- 1 root root 1939943920 Jan 3 2019 sol-11_4-repo_5of5.zip
-rw-r--r-- 1 root root 495 Mar 17 00:01 sol-11_4-repo_digest.txt
[root@solaris:/soft]# chmod 775 install-repo.ksh
[root@solaris:/soft]# ./install-repo.ksh -d /soft -I -c
Using sol-11_4-repo download.
Comparing digests of downloaded files...done. Digests match.
Uncompressing sol-11_4-repo_1of5.zip...done.
Uncompressing sol-11_4-repo_2of5.zip...done.
Uncompressing sol-11_4-repo_3of5.zip...done.
Uncompressing sol-11_4-repo_4of5.zip...done.
Uncompressing sol-11_4-repo_5of5.zip...done.
Repository can be found in /soft.
Building ISO image...done.
ISO image can be found at:
/soft/sol-11_4-repo.iso
Instructions for using the ISO image can be found at:
/soft/README-repo-iso.txt
参考链接:IPS搭建,里边有好多复杂的东西,而且比较正规(我就不需要这么正规的操作了,执行安装个桌面),或者留下来以后有时间研究…
4.2.3 参数-v说明
“Create a Local Repository”点进去后,有个readme,里边给的安装参数格式语句如下:
install-repo.ksh -d /tank/repos/dev -I -v -c
和参考链接给的是一样的格式,但是实际在11.4中会报错,报错内容如下:
root@solaris:/export/repoSolaris11# ./install-repo.ksh -d /export/repoSolaris11 -I -v -c
Using sol-11_4-repo download.
Comparing digests of downloaded files...done. Digests match.
Uncompressing sol-11_4-repo_1of5.zip...done.
Uncompressing sol-11_4-repo_2of5.zip...done.
Uncompressing sol-11_4-repo_3of5.zip...done.
Uncompressing sol-11_4-repo_4of5.zip...done.
Uncompressing sol-11_4-repo_5of5.zip...done.
Repository can be found in /export/repoSolaris11.
Initiating repository verification.
pkg://solaris/developer/opensolaris/osnet 3578/6433 /
ERROR: Missing dependency.
Package: pkg://solaris/developer/opensolaris/osnet@11.4,5.11-11.4.0.0.1.15.0:20180817T002355Z
Dependency: developer/developerstudio-126/dmake
Dependency type: require
ERROR: Missing dependency.
Package: pkg://solaris/developer/opensolaris/osnet@11.4,5.11-11.4.0.0.1.15.0:20180817T002355Z
Dependency: developer/developerstudio-126/c++
Dependency type: require
...省略部分内容...
ERROR: Missing dependency.
Package: pkg://solaris/consolidation/osnet/osnet-incorporation@11.4,5.11-11.4.0.0.1.15.0:20180817T002336Z
Dependency: pkg:/SUNWwbint@0.5.11,5.11-0.133
Dependency type: incorporate
这个报错好像是11.4才有的,因为oracle社区有人也有这样子的报错,而且一摸一样,并且未得到解决。
所以尝试去掉-v(校验)后就可以了。
4.3 挂载镜像
[root@solaris:/soft]# lofiadm -a /soft/sol-11_4-repo.iso
/dev/lofi/1
[root@solaris:/soft]# mount -F hsfs -o ro /dev/lofi/1 /mnt
4.4 更新publisher
[root@solaris:/soft]# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F http://pkg.oracle.com/solaris/release/
[root@solaris:/soft]# pkg set-publisher -Pe -O file:///mnt/repo/ solaris
[root@solaris:/soft]# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F file:///mnt/repo/
安装桌面:参考GUI安装
Solaris 11.4安装,映像包管理系统(IPS)搭建的更多相关文章
- Oracle Solaris 11.4安装桌面/gdb
文章目录 1. 说明 2. 挂载镜像 3. 安装桌面 4. 安装gdb 5. 重启OS 1. 说明 该文承接上文Solaris 11.4安装,映像包管理系统(IPS)搭建. Solaris 11.4的 ...
- Solaris 11的自动化安装(AI server)的搭建
solaris 11 总体比solaris 10很多变动的地方,可以去官方网站上面学习:http://www.oracle.com/technetwork/server-storage/solaris ...
- Solaris 11 system package 安装与更新(如:assembler)
最近在VirtualBox虚拟机中导入了Solaris 11.3.在里面安装Oracle数据库时,先行条件检查没通过,提示缺少程序包assembler. 在网上看了许多,这方面的信息还比较少.最后在O ...
- Solaris 11配置IPS安装系统包(类似linux中的yum源)
参考:http://blog.chinaunix.net/uid-8860-id-3777457.html 一. 概述: Solaris 11被称为第一个云操作系统,因此在很多方面体现了云系统的一些特 ...
- Mac安装Brew包管理系统
Mac安装Brew包管理系统 前言 为什么需要安装brew 作为一个开发人员, 习惯了使用centos的yum和ubuntu的apt, 在mac中有没有这两个工具的平替? 有, 就是Brew. Bre ...
- Centos7 mysql-community-5.7.11编译安装
安装环境 [root@localhost ~]# cat /etc/centos-release CentOS Linux release 7.0.1406 (Core) 0x01 准备工作 1.到m ...
- 【转】 Homebrew – OSX下简单的包管理系统
很多linux用户很喜欢 (Debian/Ubuntu)系列的apt包管理系统和(Redhat/Fedora)系列的yum包管理系统. 包括Windows用户都有多种方便的软件管理工具,如:360软件 ...
- ubuntu 11.04安装笔记
首先,本文查询了网络中各位大大的经验共享,特别是<UltraISO制作U盘启动Ubuntu 8.10 LiveCD>,地址在http://blog.sina.com.cn/s/blog_5 ...
- Unix/Linux环境C编程入门教程(1) Solaris 11 64bit环境搭建
Unix/Linux版本众多,我们推荐Unix/Linux初学者选用几款典型的Unix/Linux操作系统进行学习. 本文就带大家来安装Solaris 11 64位并且配置好C/C++开发环境 本文所 ...
随机推荐
- java实现 洛谷 P1056 排座椅
import java.util.Arrays; import java.util.Map.Entry; import java.util.Scanner; import java.util.Tree ...
- C++实现网络寻路
标题:网络寻路 X 国的一个网络使用若干条线路连接若干个节点.节点间的通信是双向的.某重要数据包,为了安全起见,必须恰好被转发两次到达目的地.该包可能在任意一个节点产生,我们需要知道该网络中一共有多少 ...
- PAT 月饼
月饼是中国人在中秋佳节时吃的一种传统食品,不同地区有许多不同风味的月饼.现给定所有种类月饼的库存量.总售价.以及市场的最大需求量,请你计算可以获得的最大收益是多少. 注意:销售时允许取出一部分库存.样 ...
- SpringSceurity(3)---图形验证码功能实现
SpringSceurity(3)---图形验证码功能实现 有关springSceurity之前有写过两篇文章: 1.SpringSecurity(1)---认证+授权代码实现 2.SpringSec ...
- kworkerds挖矿木马
昨天一朋友的公司服务器中了挖矿病毒,一起帮忙查看并做下记录. 病毒信息 名称:kworkerds 目录:/tmp/ 关键点:文件 -i 属性 i :这个i可就很厉害了.它可以让一个文件“不能被 ...
- Python数据分析软件包介绍
Python数据分析主要软件包: 1.python -m pip install numpy 2.python -m pip install pandas 3.python -m pip instal ...
- SignalR控制台自托管服务端向web客户端指定用户推送数据,客户端断线重连
一.前言 SignalR是微软推出的开源实时通信框架.其内部使用Web Socket, Server Sent Events 和 Long Polling作为底层传输方式,SignalR会根据客户端和 ...
- ios支付签名认证
一.解析json中参数的含义 private Long id; @ApiModelProperty(value = "创建时间") private Date gmtCreate; ...
- (七)Maven Profile 和 Filtering
每个项目都会有多套运行环境(开发,测试,正式等等),不同的环境配置也不尽相同(如jdbc.url),借助Jenkins和自动部署提供的便利,我们可以把不同环境的配置文件单独抽离出来,打完包后用对应环境 ...
- 【Laravel】 常用的artisan命令
全局篇 查看artisan命令php artisanphp artisan list 查看某个帮助命令php artisan help make:model 查看laravel版本php artisa ...
