vsftpd and apache2

vsftpd and apache2

sudo -s

apt install vsftpd
vim /etc/vsftpd.conf

anonymous_enable=NO
write_enable=YES
local_umask=000
allow_writeable_chroot=YES
chroot_local_user=YES
cmds_denied=RMD
local_root=/home/xxx

/etc/init.d/vsftpd restart

apt install apache2

vim /etc/apache2/sites-available
vim /etc/apache2/sites-available/000-default.conf

DocumentRoot /home/xxx/

vim /etc/apache2/apache2.conf

DocumentRoot /home/xxx
<Directory /home/xxx/>

 

/etc/init.d/apache2 restart

 

 

關於「Editing」

番組編輯
分類: IT部。這篇內容的永久連結