FTP SEVER INSTALL (VSFTPD)

이제 Ubuntu SERVER에 FTP SERVER를 설치해 보겠습니다.

먼저 apt-get update,upgrade 밑에 gray 색 명령어를 처준다..

lovesujin@ubunserver:~$ sudo apt-get update
lovesujin@ubunserver:~$ sudo apt-get upgrade

그다음에 vsftpd  install을 해준다..밑에 명령어를 치고 ENTER를 친다.

lovesujin@ubunserver:~$ sudo apt-get install vsftpd

VSFTPD 설치되는 모습 (밑에 그림..)

설치가 되었다면.._커서가 깜박이고, vsftpd.conf를 설정해 준다..밑에 명령어를 처본다.

conf 파일은 /etc 밑에 /etc/vsftpd.conf 있다…

lovesujin@ubunserver:~$ sudo nano /etc/vsftpd.conf

위에 명령어를 치면 GNU nano 편집기가  /etc/vsftpd.conf file이 열린다.

이동을 해준다..

#you may fully customise the login banner string:

#ftpd_banner=Welcome to blash to FTP service.<—이쪽의 “#”주석을 지워주고 환영 메시지를 적으면된다.

#ftpd_banner=Welcome to blash to FTP service.<– (수정전..)

ftpd_banner=Welcome to blash to [www.ubunserver.com] FTP service. <–  적고 싶은 환영 메시지를 적으면된다.

다음으로…chroot_local_user쪽을 수정해주는데 chroot_local_user=YES 를 찾으면 2가지의 문장이있다..

#chroot_local_enalbe below.

#chroot_local_user=YES

————————-수정하지말것(“#”) 주석문 없에지 말것..

————————-수정해야 될곳은 밑에 주석문쪽이다.(“#”) 주석문을 없에준다..

#the user odes not have write access to the top lvevel directory within the

#chroot)

#chroot_local_user=YES

#chroot_list_enable=YES

#(default follows)

#chroot_list_file=/etc/vsftpd.chroot_list

———————————-수정전——————————-

#the user odes not have write access to the top lvevel directory within the

#chroot)

chroot_local_user=YES

chroot_list_enable=YES

#(default follows)

chroot_list_file=/etc/vsftpd.chroot_list

——————————–수정후——————————–

여기서 chroot_local_user란?

Categories:

Tags:

No responses yet

답글 남기기