Iv. FTP Server Settings
After the Web accessories are installed, we will start to briefly introduce the vsftpd software that comes with Linux. Of course, you can also configure the FTP service between Web software configurations. Here, I will introduce how to modify vsftpd software files in Linux to enable the client to log on to the Linux server and upload and download related file web files. The procedure is as follows:
4.1 Linux FTP User Account creation and Configuration File Modification
1. Create an FTP User Account:
# Adduser ftptest-D/usr/local/Apache/htdocs * Add the user ftptest and use htdocs as the user directory # passwd ftptest ab88er * set the ftptest user password to ab88er
2. Modify the vsftpd configuration file:
# Vi/etc/vsftpd. conf * modify vsftpd. the items in conf are as follows: anonymous_enable = yes * anonymous FTP is allowed, otherwise, select nowrite_enable = yes * to allow anonymous users to write the modified permission anon_upload_enable = yes * to allow anonymous users to write the modified permission anon_mkdir_write_enable = yes * to allow anonymous users to create directories.
After simple modification, you can upload, download, and modify files through CuteFTP on the client. The following is the interface on which I log on to the Linux server using CuteFTP:
1