맛집 여행 캠핑 일상 생활

vsftpd 설치 및 설정 본문

LAMP

vsftpd 설치 및 설정

영은파더♥ 2016. 1. 25. 16:04

● VSFTPD 설치


yum -y install vsftpd

chkconfig --level 2345 vsftpd on



● VSFTPD 환경설정


/etc/vsftpd/vsftpd.conf 파일에서 아랫 부분과 같이 수정


#anonymous_enable=YES (변경전)

anonymous_enable=NO


#chroot_local_user=YES (변경전)

chroot_local_user=NO


#chroot_list_enable=YES (변경전)

chroot_list_enable=YES


#chroot_list_file=/etc/vsftpd/chroot_list (변경전)

chroot_list_file=/etc/vsftpd/chroot_list


## 아랫부분 추가

# 전송속도제어(ex : 500K bytes/sec)

local_max_rate=500000

# 지정한 Byte 단위로 나눠서 전송 저장, 0 자동으로 알아서 판단

trans_chunk_size=0

# 숨긴파일 보이게

force_dot_files=YES

# 클라이언트와 서버의 파일시간이 안맞을때

use_localtime=YES



touch /etc/vsftpd/chroot_list

chmod 600 /etc/vsftpd/chroot_list

service vsftpd restart



Trackback : | Comments :