1, first check whether the system has installed an FTP package
Rpm-qa|grep vsftpd
2, if not, to the installation of the CD-ROM directory.
cd/media/CD name/server
ls | grep FTP
You'll see a lot of files with a suffix named. rpm
You can choose to install, or you can perform RPM-IVH *.rpm all installation
---
You can also download the installation directly by performing the following command:
Using Yum Installation
# yum-y Install FTP vsftpd
or use RPM to install the following two packages
Ftp-0.17-66.el7.x86_64
vsftpd-3.0.2-9.el7.x86_64---
3, after installation to see if the successful installation
The following prompts the VSFTPD service to stop, indicating that the service has been installed but not opened
[Root@localhost root]# Service VSFTPD Status
VSFTPD is stopped (VSFTPD stopped)
4, open the service
[root@localhost root]# Service vsftpd start
Starting vsftpd for VSFTPD:
See again that discovery is already in the startup state:
[Root@localhost root]# Service VSFTPD Status
VSFTPD (PID 4510) is running ...
---
Note: Turn off service
Service VSFTPD Stop
---
5, the boot automatically start the FTP service
Chkconfig vsftpd on
Service iptables stop firewall shutdown command
----------------------------------------------------------------------------------------------------
Enable the root user to use FTP (not recommended)
FTP cannot be used by the root user by default, as follows:
-------------------------------------------------------
C:\users\thinkpad>ftp 192.168.141.123
Connected to 192.168.141.123.
1.1.3 (VSFTPD)
User (192.168.141.123: (none)): Root
530 Permission denied.
Login failed.
--------------------------------------------------------
Modifies the/etc/vsftpd/ftpusers file, which records users who cannot log on using FTP, and comments the root user
Modify the/etc/vsftpd/user_list file to annotate the root user.
Note: The/etc/vsftpd/user_list file is associated with the/etc/vsftpd/vsftpd.conf file if the userlist_enable= in the/etc/vsftpd/vsftpd.conf file YES (This is also the default setting), then
Users listed in the/etc/vsftpd/user_list file will not be able to use FTP.