Xshell using XFTP to transfer files, using PURE-FTPD to build FTP service

Source: Internet
Author: User

Using PURE-FTPD to build an FTP service
  • PURE-FTPD is easier than vsftp.
  • Installation
    [[email protected] ~]# yum install -y epel-release[[email protected] ~]# yum install -y pure-ftpd
  • Specify the password configuration file
    [[email protected] ~]# vim /etc/pure-ftpd/pure-ftpd.confPureDB                        /etc/pure-ftpd/pureftpd.pdbvim /etc/pure-ftpd/pure-ftpd.conf//找到pureftpd.pdb这行,把行首的#删除
  • Turn off the VSFTPD service, turn on the PURE-FTPD service
      [[email protected] ~]# vim/etc/pure-ftpd/pure-ftpd.conf [[email  Protected] ~]# systemctl stop vsftpd[[email protected] ~]# systemctl start pure-ftpd[[email protected] ~]#         Netstat-lntpactive Internet connections (only servers) Proto recv-q send-q Local address Foreign Address State Pid/program name TCP 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 593/RPCBI        nd TCP 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1062/nginx:master TCP              0 0 0.0.0.0:20048 0.0.0.0:* LISTEN 937/rpc.mountd TCP 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1627/pure-ftpd (SER  
  • Create a test directory and a regular user, and change the genus owner
    [[email protected] ~]# mkdir /data/ftp[[email protected] ~]# useradd -u 1010 pure-ftp[[email protected] ~]# chown -R pure-ftp:pure-ftp /data/ftp
  • Create a virtual user to map to the system user and specify the home directory
    [[email protected] ~]# pure-pw useradd ftp_usera -u pure-ftp  
  • Generate a password for PURE-PW recognized files
    [[email protected] ~]# pure-pw mkdb
  • Test
    [[email protected] ~]# touch /data/ftp/111.txt[[email protected] ~]# lftp [email protected]口令: lftp [email protected]:~> ls      drwxr-xr-x    2 1010       pure-ftp           21 Jun 25 20:58 .drwxr-xr-x    2 1010       pure-ftp           21 Jun 25 20:58 ..-rw-r--r--    1 0          0                   0 Jun 25 20:58 111.txt
    Xshell Transferring files using xftp
  • Download and install XFTP5 software to your computer first
  • Again in the Xshell log in the server, using the shortcut key Ctrl+alt+f can open the interface, double-click to transfer files. Extended
  • Vsftp use MySQL to store virtual users and verify
  • Active and passive mode of FTP

Xshell using XFTP to transfer files, using PURE-FTPD to build FTP service

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.