?????????????
????1.vmware workstation pro???Linux?????
????2.Linux??Linux Red Hat Enterprise Linux 7.0
???????????????yum?
????1.????
??????wmware workstation pro?????????-->????-->CD/DVD-->???ISO??????-->????????Linux Red Hat Enterprise Linux 7.0??ISO????????????????
????2.????yum?????
??????1??????????ISO????????
????mkdir  /media/cdrom
????mount  /dev/cdrom  /media/cdrom
??????2????????????????ISO??????
????df -T   #??ISO???????
????vi /etc/fstab
????#???????????????????????
????/usr/local/src/rhel-server-7.0-x86_64-dvd.iso  /media/cdrom  iso9660 default??ro??loop 0 0
????#ISO????·??                                                 ?????????      ???????
??????3????/etc/yum.repos.d/???′???????μ?xxx.repo??????????????????????????/media/cdrom?????media.repo??????/etc/yum.repos.d/??
????cp /media/cdrom /etc/yum.repos.d/
????#???media.repo???
????vim /etc/yum.repos.d/media.repo
????[InstallMedia]
????name=Red Hat Enterprise Linux 7.2
????baseurl=file:///media/cdrom
????eabled=1
????mediaid=1446216863.790260
????metadata_expire=-1
????gpgcheck=1(?????1????????gpgkey)
????gpgkey=file:///media/cdrom/RPM-GPG-KEY-redhat-release cost=500
??????wq #???沢???
??????4?????yum??????????vsftpd????
????yum clean all   #???yum????
????yum makecache  #???汾??yum??е?????????
????yum install vsftpd  #???vsftpd
????rpm -qa vsftpd  #??????а??httpd?????????
??????5??????????????????????????????????vsftpd???
????systemctl start vsftpd.service  #???apache
????systemctl stop vsftpd.service  #??apache
????systemctl restart vsftpd.service  #????apache
????systemctl enable vsftpd.service  #??????????
????systemctl status httpd.service  #??vsftpd???????????
????ps ef | grep vsftpd  #???????vsftpd????
??????6??????vsftpd????
????????FTP????????FTP???????????FTP??????
????mkdir  /data
????useradd  ftpuser -d /data  -s /sbin/nologin
????????ftpuser?????????
????passwd ftpuser
??????7?????vsftpd?????????
????vim /etc/vsftpd/vsftpd.conf
????anonymous_enable=NO  #?????????????
????local_enable=YES           #??????????
?????????????????.???????ú????????vsftpd????
??????8?????÷??????????????21???
????firewall-cmd --permanent --add-port=21 cp
????firewall-cmd --reload #??·?????б?
????firewall-cmd --list-all  #????????б?
????systemctl  start  firwalld.service  #????????
????systemctl  stop  firwalld.service  #???????
????systemctl  restart  firwalld.service  #????????
????systemctl  status  firwalld.service  #?????????
????systemctl  enable  firwalld.service  #??????????
??????9?????SELinux
??????????selinux??
????getenfoce     #??selinux??
????setenfoce 0  #?澯??
????setenfoce 1  #??????
????“”????linux??
????vim /etc/sysconfig/selinux
????SELINUX=enfocing #????selinux
????SELINUX=permissive #?澯??
????SELINUX=disabled  #???selinux
???????????Ч
???????????????????
????1.????????????????????????
????????cmd.exe
????ftp  ip???
???????????ftp??????????????????
????2.????????
????ftp  ip???
?????????????ftpuser????????????????
????3.???filezilla.exe????????
????????ip?????????????????
???????FTP????????