美文网首页
centos7 通过yum安装proftpd

centos7 通过yum安装proftpd

作者: 张龙象 | 来源:发表于2017-12-10 21:07 被阅读0次

1.安装epel源
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
2.安装proftpd
yum install -y proftpd openssl proftpd-utils
3.启动proftpd
systemctl start proftpd.service
systemctl enable proftpd.service
4.创建ftp登录用户
a.创建ftp组:groupadd ftpgroup
b.创建ftp用户,并关联ftp目录:useradd -G ftpgroup ftptest -s /sbin/nologin -d /home/ftptest/
c.设置ftptest用户密码:passwd ftptest
5.给目录设置权限,
chmod -R 777 /home/ftptest/
6.完毕,使用ftp客户端测试proftpd是否正常上传下载文件。

相关文章

网友评论

      本文标题:centos7 通过yum安装proftpd

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