This environment is built on the desktop in linux6
############################## #yum #################################
Yum-server
Ifconfig (ip:192.168.2.8)
Umount/dev/cdrom (automatically mounts on the environment CD of the desktop above linux6)
Mount/dev/cdrom/media
Mkdir/var/ftp/linux
rm-ivh/media/packages/vsftpd-2.2.2-6.el6.i686.rpm
cp-rf/media/*/var/ftp/linux/(The replication process is long, please wait patiently)
Service VSFTPD Start
NETSTAT-ANPTL | grep vsftpd
Iptables-f
Iptables-l
Setenforce 0
Setup (the process is on, this step is to facilitate the writing of firewall rules)
650) this.width=650; "title=" Image 1.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/5D/FC/ Wkiol1uouvwhl365aag5mwu2kvw529.jpg "alt=" Wkiol1uouvwhl365aag5mwu2kvw529.jpg "/>
650) this.width=650; "title=" Image 2.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/5E/01/ Wkiom1uouamqfovqaaiyhsyyhg0856.jpg "alt=" Wkiom1uouamqfovqaaiyhsyyhg0856.jpg "/>
650) this.width=650; "title=" Image 3.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/5D/FC/ Wkiol1uouvaj3c1gaairypyhro0484.jpg "alt=" Wkiol1uouvaj3c1gaairypyhro0484.jpg "/>
650) this.width=650; "title=" Image 4.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/5E/01/ Wkiom1uouarztmhraah1nf9b7qu895.jpg "alt=" Wkiom1uouarztmhraah1nf9b7qu895.jpg "/>
650) this.width=650; "title=" Image 5.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/5D/FC/ Wkiol1uouvfqoo34aagz42aihjy013.jpg "alt=" Wkiol1uouvfqoo34aagz42aihjy013.jpg "/>
650) this.width=650; "title=" Image 6.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/5E/01/ Wkiom1uouaujrq4yaahewilqecs231.jpg "alt=" Wkiom1uouaujrq4yaahewilqecs231.jpg "/>
650) this.width=650; "title=" Image 7.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/5D/FC/ Wkiol1uouvmycjt-aahvqsybeo4563.jpg "alt=" Wkiol1uouvmycjt-aahvqsybeo4563.jpg "/>
650) this.width=650; "title=" Image 8.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M01/5E/01/ Wkiom1uoua3hc-jcaaigb-rw19i824.jpg "alt=" Wkiom1uoua3hc-jcaaigb-rw19i824.jpg "/>
650) this.width=650; "title=" Image 9.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/5D/FC/ Wkiol1uouvnqabf4aaibyqspeei269.jpg "alt=" Wkiol1uouvnqabf4aaibyqspeei269.jpg "/>
650) this.width=650; "title=" Image 10.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M02/5E/01/ Wkiom1uoua6cu5pyaahfn6y_6sk411.jpg "alt=" Wkiom1uoua6cu5pyaahfn6y_6sk411.jpg "/>
650) this.width=650; "title=" Image 11.png "style=" Float:none; "src=" http://s3.51cto.com/wyfs02/M00/5D/FC/ Wkiol1uouvrrs9fraahvsl7vpmi449.jpg "alt=" Wkiol1uouvrrs9fraahvsl7vpmi449.jpg "/>
The above is the process of yum-server
Yum-client
Ifconfig (ip:192.168.2.10)
cat/etc/yum.repod/
rm-rf/etc/yum.repod/*
Cat >/etc/yum.repod/linux.repo <<end
[Local]
Name=tony
Baseurl=ftp://192.168.2.8/linux
Enabled=1
Gpgcheck=1
Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-redhat-release
End
Yum-y Install VSFTPD
This article is from the "routers, Linux communication" blog, be sure to keep this source http://12580520.blog.51cto.com/8967650/1631191
Install the service software under Linux using Yum