cd /etc/yum.repos.d/
mkdir backup
mv C* backup/
cd backup/
vi local.repo
[local]
baseurl=file:///media/
gpgcheck=0
mount /dev/cdrom /media
cd /media/
mkdir backup
mv C* backup/
cd backup/
vi local.repo
[local]
baseurl=file:///media/
gpgcheck=0
mount /dev/cdrom /media
cd /media/
yum search openssh
sudo rpm -qa | grep java//检查是否安装过java