一、 安装步骤:

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




参考:
GitHub 加速计划 / li / linux-dash
10
2
下载
A beautiful web dashboard for Linux
最近提交(Master分支:1 个月前 )
186a802e added ecosystem file for PM2 5 年前
5def40a3 Add host customization support for the NodeJS version 5 年前
Logo

新一代开源开发者平台 GitCode,通过集成代码托管服务、代码仓库以及可信赖的开源组件库,让开发者可以在云端进行代码托管和开发。旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐