CentOS vsftpd 설치 및 설정

Jmnote (토론 | 기여)님의 2012년 11월 29일 (목) 22:31 판 (→‎설정)
리눅스 FTP 서버 설치
vsftpd 설치
vsftpd 설정

1 확인

[root@jmnote ~]# rpm -qa vsftpd*
→ vsftpd가 설치되지 않았음

2 설치

[root@jmnote ~]# yum install vsftpd -y
... (생략)
Installed:
  vsftpd.i386 0:2.0.5-24.el5_8.1                                                                                                                                          

Complete!

3 재확인

[root@jmnote ~]# rpm -qa vsftpd*
vsftpd-2.0.5-24.el5_8.1
[root@jmnote ~]# service vsftpd status
vsftpd is stopped
→ 패키지 설치됨, 서비스 등록됨

4 설정

vi /etc/vsftpd/vsftpd.conf

아래 내용으로 수정

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=YES
chroot_local_user=YES
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES

5 자동시작

[root@jmnote ~]# chkconfig vsftpd on
[root@jmnote ~]# chkconfig --list | grep vsftpd
vsftpd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off

6 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}