美文网首页Linux
在centos 6.7上配置ftp server

在centos 6.7上配置ftp server

作者: 中_中_ | 来源:发表于2018-10-08 22:51 被阅读1次

1,使用yum安装vsftpd服务

yum install -y vsftpd

2,设置为自启动服务

chkconfig vsftpd on

3,在配置文件中配置ftp 服务,配置文件路径:/etc/vsftpd下

vi /etc/vsftpd/vsftpd.conf

修改ftp banner

ftpd_banner=Welcome to zhongzhong ftp service

设置ftp服务监听在ipv6地址上

service vsftpd stop
cp /etc/vsftpd/vsftpd.conf  /etc/vsftpd/vsftpd_ipv6.conf 

编辑/etc/vsftpd/vsftpd.conf

listen=YES
#listen_ipv6=YES

编辑/etc/vsftpd/vsftpd_ipv6.conf

#listen=YES
listen_ipv6=YES
ftpd_banner=Welcome to zhongzhong ftp service for ipv6 address

启动ftp服务

service vsftpd start

测试:


相关文章

网友评论

    本文标题:在centos 6.7上配置ftp server

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