First the server will install the FTP software to see if the FTP software has been installed:
#which vsftpd
If you see a vsftpd directory stating that the server has FTP software installed
View FTP Server Status
#service vsftpd Status
If it is not installed, check if there is an available RPM installation package
[email protected] ~]# Yum list |grep vsftpd
vsftpd.i686 2.2.2-21.EL6 Base
Installing the VSFTPD Service
[email protected] ~]# Yum install-y vsftpd
5. Start the FTP server
#service vsftpd Start
6. Restart the FTP server
#service vsftpd Restart
7. Check if the service has started
[email protected] ~]# NETSTAT-LNP
TCP 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1491/vsftpd
If you see the above information, it proves that the FTP service is turned on.
8. If you need to open the root user's FTP permissions to modify the following two files
Comment out root in #vi/etc/vsftpd/ftpusers
#vi/etc/vsftpd/user_list also comment out the root
Then restart the FTP service
[Email protected] ~]# service vsftpd restart
This article is from the "11749015" blog, please be sure to keep this source http://11759015.blog.51cto.com/11749015/1859608
How to turn on FTP service under Linux