美文网首页
FTP安装使用(Linux)

FTP安装使用(Linux)

作者: Lincj | 来源:发表于2020-12-24 00:09 被阅读0次

(1)下载安装包

yum install -y vsftpd

(2)在vsftpd文件的最后一行中加入这个命令

vim /etc/vsftpd/vsftpd.conf 
1.png

(3)重启服务并设置为开机自动启动


2.png

(3)关闭防火墙和selinux

systemctl stop firewalld.service
setenforce 0

(4)然后在浏览器输入ftp://192.168.100.11/就可以查看效果


3.png

(5)然后在另一台虚拟机编辑repo文件

[ftp]
name=ftp
baseurl=ftp://192.168.100.11/centos
enabled=1
gpgcheck=0
4.png

(6)

yum clean all
yum repolist
5.png

相关文章

网友评论

      本文标题:FTP安装使用(Linux)

      本文链接:https://www.haomeiwen.com/subject/wchpnktx.html