Thursday, February 26, 2015

Raspberry pi에 vsftpd 쉽게 설정하기. (easy configuration for raspberry pi vsftp)

vsftpd 설치( install vsftpd )
명령어(command): sudo apt-get install vsftpd


설정파일 편집 (open configuration file)
명령어(command): sudo nano /etc/vsftpd.conf


모든 내용을 지운다. (erase all content of vsftpd.conf file)

아래 내용을 입력하고 저장. (fill content as bellow text, and write)

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
xferlog_enable=YES
xferlog_std_format=YES
xferlog_file=/var/log/vsftpd.log
pam_service_name=vsftpd
session_support=YES
chroot_local_user=NO
listen=YES
listen_port=21


vsftpd 재시작. (restart vsftpd service)

명령어(command) : sudo service vsftpd restart


이제 pi 계정으로 로그인(Login ftp as "pi")

No comments:

Post a Comment