vsftp安装
vsftp安装
#解压
tar -zxf vsftpd-xx.tar.gz
cd ./vsftpd-xx
#vsftpd需要使用nobody来作为运行者,一般已经存在
useradd nobody
#安装时需要/usr/share/empty/
作为临时目录,一般已经存在
mkdir /usr/share/empty/
#编译
make
make install
#如果make install没有安装文件,你可能需要手动执行下面的命令
#cp vsftpd /usr/local/sbin/vsftpd
#cp vsftpd.conf.5 /usr/local/man/man5
#cp vsftpd.8 /usr/local/man/man8
cd ./EXAMPLE/INTERNET_SITE
cp vsftpd.conf /etc
cp vsftpd.xinetd /etc/xinetd.d/vsftpd
/etc/rc.d/init.d/xinetd restart
#解压
tar -zxf vsftpd-xx.tar.gz
cd ./vsftpd-xx
#vsftpd需要使用nobody来作为运行者,一般已经存在
useradd nobody
#安装时需要/usr/share/empty/
作为临时目录,一般已经存在
mkdir /usr/share/empty/
#编译
make
make install
#如果make install没有安装文件,你可能需要手动执行下面的命令
#cp vsftpd /usr/local/sbin/vsftpd
#cp vsftpd.conf.5 /usr/local/man/man5
#cp vsftpd.8 /usr/local/man/man8
cd ./EXAMPLE/INTERNET_SITE
cp vsftpd.conf /etc
cp vsftpd.xinetd /etc/xinetd.d/vsftpd
/etc/rc.d/init.d/xinetd restart