Operating System/Ubuntu

Ubuntu FTP 설치

5GaNe 2022. 1. 26. 04:29

FTP란?



■ 설치 명령어 : sudo apt-get install vsftpd 

nfv@nfv:~$ sudo apt-get install vsftpd

[sudo] password for nfv:

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following NEW packages will be installed:

  vsftpd

0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.

Need to get 111 kB of archives.

After this operation, 361 kB of additional disk space will be used.

Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main vsftpd amd64 3.0.2-1ubuntu2.14.04.1 [111 kB]

Fetched 111 kB in 1s (95.0 kB/s)

Preconfiguring packages ...

Selecting previously unselected package vsftpd.

(Reading database ... 212932 files and directories currently installed.)

Preparing to unpack .../vsftpd_3.0.2-1ubuntu2.14.04.1_amd64.deb ...

Unpacking vsftpd (3.0.2-1ubuntu2.14.04.1) ...

Processing triggers for man-db (2.6.7.1-1ubuntu1) ...

Processing triggers for ureadahead (0.100.0-16) ...

Setting up vsftpd (3.0.2-1ubuntu2.14.04.1) ...

vsftpd start/running, process 17045

Processing triggers for ureadahead (0.100.0-16) ... 


■ FTP Config 정보 수정 : 

 - 설정 값 수정 : sudo vi /etc/vsftpd.conf, 

 - ftp 데몬 재시동 : sudo /etc/init.d/vsftpd restart 

 - 사용자만 접속 허용 시 anonymous_enable=YES 주석 처리

 - 로컬 사용자의 FTP 접속 허용할 경우 local_enable=YES

 - Default로 Download만 가능함, Upload도 가능하게 하려면 write_enable=YES



'Operating System > Ubuntu' 카테고리의 다른 글

Ubuntu SSH 설정 및 접속  (0) 2022.01.26
Ubuntu GUI Remote Connection  (0) 2022.01.26
Ubuntu GUI(Xwindow) 설정  (0) 2022.01.26