[root@localhost /]# mkdir /localyum
[root@localhost /]# cp -r /media/RHEL_6.3\ i386\ Disc\ 1/* /localyum/
[root@localhost /]# yum clean all
[root@localhost /]# vim /etc/yum.repos.d/local.repo
[yum]
name=local
baseurl=file:///localyum
enable=1
gpgcheck=0
[root@localhost /]# yum clean all
[root@localhost /]# yum list
[root@localhost /]# yum -y install httpd
[root@localhost /]# yum -y install vsftpd
[root@localhost /]# yum grouplist | grep -i 'desktop'
Unable to read consumer identity
Desktop
Desktop Debugging and Performance Tools
Desktop Platform
General Purpose Desktop
Desktop Platform Development
KDE Desktop
Remote Desktop Clients
[root@localhost /]# vim /etc/vsftpd/vsftpd.conf
[root@localhost /]# vim /etc/sysconfig/ifcfg-eth0 ->onboot = yes
[root@localhost /]# service vsftpd restart
[root@localhost /]# chkconfig(查询服务) vsftpd on
关闭防火墙 iptables -L
iptables -F
service iptables save
修改共享目录权限 /var/ftp/pub 777
安装yum -y install lftp
使用lftp IP