Set up a Web server in Linux by yourself (figure) 4

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.