51Testing软件测试论坛

标题: suse11怎么安装ftp服务器? [打印本页]

作者: liu51    时间: 2013-8-9 11:07
标题: suse11怎么安装ftp服务器?
有谁用过suse11安装ftp服务器吗?我下载了个安装包,可是不会安装?谢谢支援!
作者: chinacia    时间: 2013-8-9 18:35
晕死,这么个简单工作没人回答么?

Reference Link:http://www.server-world.info/en/ ... e_Server_11&p=ftp
考虑到网络可能有点慢,转贴过来:

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 root directory
local_root=public_html
# use local time
use_localtime=YES

www1:~# vi /etc/vsftpd.chroot_list

# add users you allow to move over their home directory
sles

www1:~# /etc/init.d/vsftpd start
Starting vsftpddone
www1:~# chkconfig vsftpd on





欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2