vsftpd 설치하기 > 리눅스

본문 바로가기

회원로그인

회원가입

리눅스

레드햇 vsftpd 설치하기

페이지 정보

profile_image
작성자 최고관리자
댓글 0건 조회 71회 작성일 22-10-20 17:26

본문


> dnf search vsftpd
> dnf install vsftpd

> vi /etc/vsftpd/vsftpd.conf

YES -> NO 바꾸기
anonymous_enable=NO

주석풀기
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list

> vi /etc/vsftpd/chroot_list
lovezone

방화벽 설정
> firewall-cmd --permanent --add-service=ftp
> firewall-cmd --permanent --add-port=21/tcp
> firewall-cmd --reload


> systemctl enable vsftpd.service

> systemctl start vsftpd.service




SELinux 설정해제
> vi /etc/selinux/config

SELINUX=disabled 로 변경




> reboot

댓글목록

등록된 댓글이 없습니다.