Before creating the FTP server, the command: Ps-ef |grep vsftpd
Check the system has not installed VSFTPD this server, if it appears as shown in the interface instructions are not installed.
- Then execute: Yum install vsftpd-y
Perform an online installation vsftpd this service.
- After the installation is successful, you need to close the anonymous login feature.
Use command: vim/etc/vsftpd/vsftpd.conf
Then found in Richeng:?
Anonymous_enable=no
- And then look at the VSFTPD this service has no boot.
Use command: Chkconfig--list
If you do not start as shown.
No startup using Startup: Chkconfig--level vsftpd on
- The next step is to create the user name.
Create user name: Useradd Jingyan
- Then the password is created.
Command: passwd Jingyan
You can enter the password two times.
- Finally, restart the services: Service VSFTPD start
If a startup failure occurs, you can use:/etc/rc.d/init.d/vsftpd restart
- Successfully linked on the FTP server.
How Linux creates an FTP server