IT정보공유

[리눅스] centos vsftpd 설치 방법

알지오™ 2020. 1. 16.

FTP Server를 구축하기 위해 CentOS에 vsFTPd 를 설치하려고 합니다.
요즘은 yum 명령어로 너무 쉽고 간단하게 설치가 되네요.

 

FTP 서버 구축을 위한 vsftpd 인스톨 명령어

 

yum -y install vsftpd

 

yum install 명령을 통해 설치되는 동안 아래와 같은 터미널 메세지들이 보이게됩니다.

 

[root@ftpserver ftpdata]# yum -y install vsftpd
Loaded plugins: fastestmirror, langpacks
base                                                                                                     | 3.6 kB  00:00:00
extras                                                                                                   | 2.9 kB  00:00:00
updates                                                                                                  | 2.9 kB  00:00:00
(1/4): base/7/x86_64/group_gz                                                                            | 165 kB  00:00:00
(2/4): extras/7/x86_64/primary_db                                                                        | 153 kB  00:00:03
(3/4): updates/7/x86_64/primary_db                                                                       | 5.9 MB  00:01:34
(4/4): base/7/x86_64/primary_db                                                                          | 6.0 MB  00:01:36
Determining fastest mirrors
 * base: mirror.navercorp.com
 * extras: mirror.navercorp.com
 * updates: mirror.navercorp.com
Resolving Dependencies
--> Running transaction check
---> Package vsftpd.x86_64 0:3.0.2-25.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================================================================
 Package                      Arch                         Version                             Repository                  Size
================================================================================================================================
Installing:
 vsftpd                       x86_64                       3.0.2-25.el7                        base                       171 k

Transaction Summary
================================================================================================================================
Install  1 Package

Total download size: 171 k
Installed size: 353 k
Downloading packages:
vsftpd-3.0.2-25.el7.x86_64.rpm                                                                           | 171 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : vsftpd-3.0.2-25.el7.x86_64                                                                                   1/1
  Verifying  : vsftpd-3.0.2-25.el7.x86_64                                                                                   1/1

Installed:
  vsftpd.x86_64 0:3.0.2-25.el7

Complete!

 

설치완료! vsftpd가 설치 되었기 때문에 이제 우리 리눅스에서도 FTP Server를 구동할 수 있게되었습니다.

 

vsftpd FTP Service 시작 방법

service vsftpd start

 

vsftpd FTP Service 종료 방법

service vsftpd stop

 

vsftpd FTP Service 재시작 방법

service vsftpd restart

 

CentOS 7 기준 vsftpd 설정파일 위치는 /etc/vsftpd/vsftpd.conf 입니다.

댓글

💲 추천 글