一、部署前的准备工作
1)下载搭建RHN的ISO文件:rhn_satellite-5.0.1-11-redhat-linux-as-i386-4-embedded-oracle.iso RHN软件包,其中包括一个嵌入式的oracle数据库
2)得到redhat的授权证书:redhat-gls-*.cert
3)下载Channel Content ISOs文件:channel.iso RHN 各个频道软件包
二、安装RHN
#mount -o loop rhn_satellite-5.0.1-11-redhat-linux-as-i386-4-embedded-oracle.iso /mnt/rhn
#cp redhat-gls*.cert /root
#/mnt/rhn/install.pl --disconnected
将会出现交互过程,比如询问管理员邮件地址、红帽授权证书位置(如果出现Activating Satellite,则说明卫星服务器激活成功,证书无误。)、CA certificate password、organization等等。
之后通过访问https://rhn.zhousonglinux.com接着配置。
以下为在http页面下的设置:
创建全局管理员
Desired Login*:zhousong 管理员用户名
Desired Password*:zhousong 管理员密码
Confirm Password*:zhousong 重复上面的密码
First,Last Name*:Zhou Song
Email*:zhousonglinux@gmail.com
完成后点击required field创建。
三、导入频道
#mount -o loop channel.iso /mnt/channel
#cd /mnt/channel
#satellite-sync --mount sat-dump-5.1 --list-channel 查看所有频道
#satellite-sync -m sat-dump-5.1 -c rhel-i386-server-5(频道名) 导入频道,必须先导入主频道,再导入子频道
四、RHN客户端加入RHN
#rhn_register注册到RHEL AS 4的RHN
转载于:https://blog.51cto.com/zhoutianqi/529197