For the sake of Hadoop, consider that starting the Linux desktop will bring a comparison card to the computer. So just turn the graphical interface off and use Linux completely in command mode.
The FTP service is built using Yum. Use of yum reference: http://blog.csdn.net/enson16855/article/details/9140623
Windows uses FileZilla to connect to the Linux FTP, the more depressed is the upload problem, got half the afternoon time has not been successful, just finally finished. Here's the idea:
1, installation Vsftp
[Plain]View PlainCopy
- Yum Install Vsftp
2. Start Vsftp
[Plain]View PlainCopy
- Service VSFTPD Start
Although it can be started correctly, the basic is to follow the default configuration to go, anonymous login can not upload files and folders, online acquisition a bunch:
The above are:
[Plain]View PlainCopy
- Vim/etc/vsftpd/vsftpd.conf
The result content, the red place represents the permission to allow anonymous uploading of files and folders. Restart the VSFTPD service.
Although the configuration is not a problem, but still can not upload files, reported or the issue of permissions.
For a look, it turns out that SELinux needs to be closed:
Modify Vim/etc/selinux/config
The above way to disable the SELinux service, need to restart the computer, of course, there is a temporary disable, you can search the Internet to deal with the way ~
After OK, found still can't upload files. Dizzy dead today ...
For a while, also set the root folder permissions on the ftp:
[Plain]View PlainCopy
- chmod 777-r/var/ftp/pub
After the setup is complete, you can finally upload the file .... Of course you need to upload it to the pub folder.
Solve the problem that vsftp cannot upload files and folders