Linux Build FTP Server combat

Source: Internet
Author: User

Start by preparing a Linux system machine (virtual machine is also available),

Detects if the VSFTPD software is installed:

Rpm-qa |grep vsftpd

If there is no output, it is not installed.

With the command installation, you will be prompted to enter Y directly during the installation process:

The installation is complete, and then the FTP service starts:

Shut down the Linux firewall, otherwise remote cannot access:

You can now access the FTP server anonymously.

If you need to specify that a specified person has a path, the following configuration is required:

First create an FTP folder in home:

After the creation is successful, create the user ftpuser for the specified directory and create the group:

Initialize the ftpuser password to Ftpuser:

Then use the iteration to assign permissions to Ftpuser under ftp:

To view permissions:

Then configure the FTP core file vsftpd.conf:

Modify the configuration file/etc/vsftpd/vsftpd.conf and set or delete the comment:

  users within the Userlist_deny=no file can access Userlist_enable=yesanonymous_enable=no prohibit anonymous access

Open/etc/vsftpd/user_list and add a line: Ftpuser

If you have updated vsftpd.conf, be sure to restart FTP with the following command:

#/etc/init.d/vsftpd Restart

There is also an important setting: Set SELinux to Disabled

Once setup is complete, reboot the machine:

# reboot

This server has been set up for three days, finally good!

The pro-test works.

Linux Build FTP Server combat

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.