启用vsftpd服务
環境:
server 192.168.10.7 clone1.up.com
client 192.168.10.1 clone2.up.com
服務器端:
一、查看軟件包是否安裝
[root@test1 ~]# rpm -q vsftpd
[root@test1 ~]# yum install vsftpd -y
默認提供下載功能
二、啟動服務
[root@test1 ~]# systemctl restart vsftpd
[root@test1 ~]# systemctl enable vsftpd
[root@test1 ~]# systemctl status vsftpd
LISTEN 0 32 :::21 :::* users:(("vsftpd",pid=3424,fd=3))
三、提供可被匿名用戶下載的文件 [root@test1 ~]# cp -v /etc/host* /var/ftp/pub [root@test1 ~]# ll -h /var/ftp/pub/總用量 20K
-rw-r--r--. 1 root root 9 1月 24 03:14 host.conf
-rw-r--r--. 1 root root 14 1月 24 03:14 hostname
-rw-r--r--. 1 root root 158 1月 24 03:14 hosts
-rw-r--r--. 1 root root 370 1月 24 03:14 hosts.allow
-rw-r--r--. 1 root root 479 1月 24 03:14 hosts.deny
轉載于:https://blog.51cto.com/13553337/2093197
總結
以上是生活随笔為你收集整理的启用vsftpd服务的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 排序法
- 下一篇: 两个等号(==)和三个等号(===)的区