yum源配置,映射到自己某个文件夹内,可能有些人不会
方法/步骤
1
关闭防火墙# chkconfig iptables off# service iptables stop
2
配置Redhat 5.7的操作系统yum源,可以随时添加没有安装的软件包:插入安装光盘
3
# mkdir /rhel57# mount /dev/cdrom /rhel57# vi /etc/yum.repos.d/rhel57.repo上面是建立一些文件和文件夹,就是建立目录
4
----rhel57.repo文本内容---------------------[rhel57]Name=rhel57Baseurl=file:///rhel57/ServerEnabled=1Gpgcheck=0--------------------------------------------