Here is a checklist for installing and setting up Apache2 + ProFTPd with Virtual FTP accounts on MySQL, with correct folders permissions:
- Install Apache2 with this tutorial
- Install ProFTPd with this tutorial
- Add the Apache user "www-data" to the group "ftpgroup": usermod -a -G ftpgroup www-data
- Set your virtual webhost directory as follows: chown www-data:ftpgroup -R /var/yourvirtualwebdirectory
- Set the permissions as follows: chmod 775 -R /var/yourvirtualwebdirectory
- Reboot Apache2: service apache2 restart
- Reboot ProFTPd: service proftpd restart
Nessun commento:
Posta un commento