挂载光盘
mkdir /mnt/cdrom
mkdir
/mnt/cdrom
mount -o ro /dev/cdrom /mnt/cdrom
mount
-o ro
/dev/cdrom
修改yum配置
vi /etc/yum.repos.d/server.repo
vi
/etc/yum
.repos.d
/server
.repo
[server]
name=server
baseurl=
file
:
///mnt/cdrom/Server
enabled=1
gpgcheck=0
yum clean
yum list
posted on 2013-10-10 15:30 清风斜阳 阅读(135) 评论(0) 编辑 收藏 举报