CentOS7 에 ftp설치합니다.
yum install ysftpd
저는 -y 옵션을 안줍니다. 어떤게 깔리는지 눈으로 볼라꼬요.. vsftp는 다행히도 지 하나만 깔리네요 의존된 다른건 없네요.
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 7.7 kB 00:00
* base: mirror.kakao.com
* epel: mirrors.aliyun.com
* extras: mirror.kakao.com
* ius: mirrors.kernel.org
* remi-php72: ftp.riken.jp
* remi-safe: ftp.riken.jp
* rpmforge: ftp.neowiz.com
* updates: mirror.kakao.com
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
ius | 2.3 kB 00:00
mariadb | 2.9 kB 00:00
remi-php72 | 2.9 kB 00:00
remi-safe | 2.9 kB 00:00
rpmforge | 1.9 kB 00:00
updates | 3.4 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package vsftpd.x86_64 0:3.0.2-22.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
vsftpd x86_64 3.0.2-22.el7 base 169 k
Transaction Summary
================================================================================
Install 1 Package
Total download size: 169 k
Installed size: 348 k
Is this ok [y/d/N]: y
설치완료 몇가지만 설정해볼께요
#vi /etc/vsftpd/vsftpd.conf
anonymous_enable=NO <== 익명접속하용하지 않음. 허용하려면YES
xferlog_enable=NO <== 파일송수신 로그 너무 많아서 저는 NO 로그하시려면 YES하세요.
설치끝 방화벽 열고 시작함.
# firewall-cmd --permanent --add-service=ftp
success
# firewall-cmd --reload
success
# systemctl start vsftpd
#systemctl enable vsftpd
Created symlink from /etc/systemd/system/multi-user.target.wants/vsftpd.service to /usr/lib/systemd/system/vsftpd.service.
댓글 없음:
댓글 쓰기