Install VSFTPD di RHEL 8


Step by step :

  1. Install vsftpd# dnf install vsftpd
  2. Start dan Enable vsftpd
    # systemctl start vsftpd# systemctl enable vsftpd

    # systemctl status vsftpd

  3. Open FTP port
    # firewall-cmd –zone=public –permanent –add-port=21/tcp# firewall-cmd –zone=public –permanent –add-port=45073/tcp

    # firewall-cmd –reload

  4. Configure vsftpd.conf# vi /etc/vsftpd/vsftpd.conf

    Output set :
    anonymous_enable=NO
    local_enable=YES
    write_enable=YES
    local_umask=022
    dirmessage_enable=YES
    xferlog_enable=YES
    connect_from_port_20=YES
    xferlog_std_format=YES
    listen=NO
    listen_ipv6=YES
    pam_service_name=vsftpd

  5. Set SELinux Boolean rule
    # semanage boolean -m ftpd_full_access –on
  6. Restart vsftpd# systemctl restart vsftpd
Baca Juga:  Melihat IP Address pada VM menggunakan virsh command

Di tulis oleh: