Recently, due to hadoop, the startup of Linux desktop will bring a comparison card to the computer .. Therefore, the graphic interface is started and closed, and Linux is used in command mode.
Use Yum to build the FTP service .. Yum usage reference: http://blog.csdn.net/enson16855/article/details/9140623
In Windows, filezilla is used to connect to the Linux FTP. What is depressing is the upload problem. After half an afternoon, it was not successful .. Let's talk about the following ideas:
1. Install vsftp
yum install vsftp
2. Start vsftp
service vsftpd start
Although it can be started correctly, it is basically based on the default configuration, anonymous login cannot upload files and folders, a bunch of online collection:
The above is:
vim /etc/vsftpd/vsftpd.conf
The result content, marked in red, indicates the permission to upload files and folders anonymously. Restart the vsftpd service ..
Although the configuration is okay, you still cannot upload files and report permission issues ..
For more information, SELinux needs to be disabled:
Modify Vim/etc/SELinux/config
If the SELinux service is disabled in the preceding method, you need to restart the computer. Of course, there is also a temporary disabling method. You can search for the processing method online ~
After the OK command is completed, the file still cannot be uploaded .. Dizzy today...
For more information, set the FTP root folder permissions:
chmod 777 -R /var/ftp/pub
After the settings are complete, you can finally upload the file .... Of course, you need to upload it to the pub folder ..