Labs – Installing a FTP Server BUPT/QMUL 2013-5-17
Labs on 2013-5-17 Objective: Installing a FTP server in Ubuntu, which helps you to test your program Refer to http://www.cnblogs.com/feisky/archive/2010/03/25/1696108.html 2
Steps 1. Login, using root account $sudo –i 2. Installing FTP server packet # apt-get install vsftpd 3. change access rights of ftp directory # chmod 777 /srv/ftp 4. revise configuration file # vi /etc/vsftpd.conf 3
Example of vsftpd.conf (1) 4
Example of vsftpd.conf (2) 5
Example of vsftpd.conf (3) 6
# service vsftpd restart FTP服务的启动和关闭 # service vsftpd start # service vsftpd stop 7
Accessing your FTP server 8