linux建立ftp suse_SUSE Linux 安装FTP
发布日期:2021-06-24 11:37:10 浏览次数:2 分类:技术文章

本文共 994 字,大约阅读时间需要 3 分钟。

一、 安装步骤:

www1:~#

zypper install -y vsftpd

www1:~# vi /etc/vsftpd.conf

# line 18: uncomment ( allow writing )

write_enable=YES

# line 39: uncomment

ls_recurse_enable=YES

# line 59: uncomment ( allow local user )

local_enable=YES

# line 69: uncomment ( enable chroot )

chroot_local_user=YES

# line 75: uncomment ( enable chroot list )

chroot_list_enable=YES

# line 79: uncomment ( specify chroot list )

chroot_list_file=/etc/vsftpd.chroot_list

# line 91: uncomment ( no anonymous )

anonymous_enable=NO

# line 200: uncomment: ( allow ascii mode )

ascii_upload_enable=YES

ascii_download_enable=YES

# add at the bottom: specify  your root directory

local_root=/home

# use local time

use_localtime=YES

www1:~# vi /etc/vsftpd.chroot_list

# add users you allow to move over their home directory

test

www1:~# /etc/init.d/vsftpd start

Starting vsftpddone

www1:~# chkconfig vsftpd

二、安装后验证

查看FTP服务状态                 执行                /etc/init.d/vsftpd status

重新启动FTP服务                 执行                /etc/init.d/vsftpd restart

关闭FTP服务                        执行                /etc/init.d/vsftpd stop

参考:

转载地址:https://blog.csdn.net/weixin_32552195/article/details/112028469 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:snmpwalk 获取端口流量_通过snmpwalk命令计算接口速率
下一篇:字符串算法 金策_GitHub - 662d7/shareOI: OI & ACM 课件分享

发表评论

最新留言

路过按个爪印,很不错,赞一个!
[***.219.124.196]2024年03月31日 12时30分59秒