ftp服务器安装与配置

1--安装 yum install vsftpd

2--创建用户 useradd -d /usr/tester -m tester

3--disable SELinux protection

//disable SELinux protection for the httpd daemon by executing

setsebool -P ftpd_disable_trans 1

执行 getsebool ftpd_disable_trans查看是否为on,否则上传不了文件,修改,删除也不行

4-- service vsftpd restart

扫描二维码关注公众号,回复: 1324164 查看本文章

5--上传下载,读取ok

6--进一步设置...待续

猜你喜欢

转载自yangwr.iteye.com/blog/1273065