오픈소스의 일상

#8 FTP 설정 본문

오픈소스/네이버클라우드

#8 FTP 설정

실버카미 2022. 1. 5. 10:01

1. vsftpd 설치

[root@flas www]# ps -ax | grep vsftpd
 6334 pts/1    S+     0:00 grep --color=auto vsftpd

[root@flas www]#  yum -y install vsftpd
...

Dependencies Resolved

========================================================================================================
 Package               Arch                  Version                       Repository              Size
========================================================================================================
Installing:
 vsftpd                x86_64                3.0.2-29.el7_9                updates                173 k

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

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

Installed:
  vsftpd.x86_64 0:3.0.2-29.el7_9

Complete!

2. FTP 설정

[root@flas www]# vi /etc/vsftpd/vsftpd.conf
...
#익명 허용 여부와, 허용 리스트 관리

anonymous_enable=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list

[root@flas www]# vi /etc/vsftpd/chroot_list
...
#root 추가
root

[root@flas www]#

3. 데몬 시작

[root@flas www]# systemctl enable vsftpd 
Created symlink from /etc/systemd/system/multi-user.target.wants/vsftpd.service to /usr/lib/systemd/system/vsftpd.service.

[root@flas www]# systemctl restart vsftpd
728x90

'오픈소스 > 네이버클라우드' 카테고리의 다른 글

#7. 아파치+톰켓 설치 및 연동  (0) 2021.12.23
#6. OpenJDK 1.8 설정  (0) 2021.12.22
#5. PostgreSQL 설정  (0) 2021.12.22
#4. PostGIS 3.1.X 설치 및 확인  (0) 2021.12.21
#3. 필수 라이브러리 설치  (0) 2021.12.21