检查rsh-server安装情况,没安装请安装,默认没装服务器端
查看安装包的命令 :rpm -aq | grep rsh
安装rsh-server命令:yum -y install rsh-server
步骤:
1、新建一个目录
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=file:///media/cdrom0/Server/
enabled=1
gpgcheck=0
查看安装包的命令 :rpm -aq | grep rsh
安装rsh-server命令:yum -y install rsh-server
步骤:
1、新建一个目录
mkdir /media/cdrom0
mount /mnt/media/rhel-server-5.8-x86_64-dvd.iso/media/cdrom0/ -t iso9660 -o loop
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=file:///media/cdrom0/Server/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release