Backstage has been prompted Wordperss version and plugins have updated, look at the eyesore, decided to update them all. However, the update file requires the server to provide FTP services, Linode also did not provide to FTP, can only be installed on their own. I installed the server system is Ubuntu 12.04 Lts,ftp software is of course choose the famous vsftpd (very secure FTP daemon), with the system comes with the FTP fortunately Ubuntu installed VSFTPD or is very simple, a command line:
sudo apt-get install vsftpd
During the execution of the command, the installer creates a user group named "FTP" locally, and the FTP service starts automatically when the command finishes.
You can use the "netstat-tl" command to check whether the FTP port has been opened, or directly in the browser type "ftp://your server IP" (the newly installed VSFTPD can be anonymous without direct access to the password), if you can directly connect to the FTP server, The installation of VSFTPD is accomplished.
Opening, stopping, and restarting the VSFTPD service is also simple:
Service VSFTPD Start | Stop | Restart
The newly installed vsftpd can be accessed anonymously by default, and if you only want to give a specific user access to a directory, you need to modify the configuration of the vsftpd.
First, create a user that is specifically intended for access, such as "test":
Mkdir-p/home/testuseradd test-g ftp-d/home/test-s/sbin/nologin
Set Password:
passwd test
Modify the VSFTPD configuration file "vi/etc/vsftpd.conf":
#禁止匿名访问anonymous_enable =no# Accept Local Users local_enable=yes# can upload write_enable=yes# enabled in Chroot_list_file users can only access the root directory chroot_ List_enable=yeschroot_list_file=/etc/vsftpd.chroot_list
To add a user who is restricted by the access directory in/etc/vsftpd.chroot_list:
echo "Test" >>/etc/vsftpd.chroot_list
Some of the problems encountered during the installation process:
"530 Login Incorrect"
Add "/sbin/nologin" to the last line of/etc/shells
"OOPS:vsftpd:refusing to run with writable root inside Chroot ()"
If Chroot is enabled, the root directory should be set to not writable
chmod a-w/home/test
OK, after restarting vsftpd you can use the newly created account above to access:)
http://blog.csdn.net/njchenyi/article/details/8499555
Setting up an FTP server under Ubuntu