CentOS deployment NetCore-3. Deploy site

Source: Internet
Author: User

One. CentOS Installation FTP

Linux Installation FTP
The first step

Use the following command #rpm-qa |grep VSFTPD can detect if the VSFTPD software is installed,

Rpm-qa |grep vsftpd  

If it is not installed, install it using the Yum command.

Yum Install Vsftpd-y  

Step Two

Using VSFTPD software, mainly includes the following commands:

Start ftp command #service vsftpd start  stop ftp command #service vsftpd stop  

Step Three
Configuration of the VSFTPD
There are three main FTP configuration files, which are located in the/etc/vsftpd/directory, respectively:
Ftpusers This file is used to specify that those users cannot access the FTP server.
User_list the default account that the file uses to indicate that the FTP is not accessible by default
Vsftpd.conf VSFTPD's master configuration file

Fourth Step

Take the anonymous user as an example, we remove the configuration file vsftpd.conf the following

cd/etc/vsftpd/  ls  vi vsftpd.conf  

Modify the file and put these 2 comments out

Anon_upload_enable=yes  Anon_mkdir_write_enable=yes

Two previous # numbers, you can complete the configuration of anonymous users, the anonymous user can log in both upload, download files. Remember to restart the service after modifying the configuration file.


Fifth step: Allow the root user to log in remotely using FTP
cd/etc/vsftpd/
Then modify the two files and comment out the root.
Vim Ftpusers #把root注释掉就可以了
Vim User_list # to comment out the root


Restart FTP command #service vsftpd restart

Test:

Using CuteFTP or other FTP tools, you can:

Two. Uploading Files

go to the home directory and upload files from the published directory

CentOS deployment NetCore-3. Deploy site

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.