Applications folder are (usually) located in /var/www/$appname
If an application folder is expected to get bigger because of the amount of data it contains, it might be relevant to move it to another storage (like an external hard drive).
Here's a summary of how to do this the application wordpress. Here, is is assumed that you already mounted the external hard-drive.
mv /var/www/wordpress /media/externalharddrive/
So that programs looking for files in /var/www/wordpress will actually take them from the harddrive
ln -s /media/externalharddrive/wordpress /var/www/wordpress
After this, note that you may need to tweak the permissions of /media/externalharddrive
so that www-data
(or the user corresponding to the app) is able to read through the folder... Something like :
chgrp www-data /media/externalharddrive
chmod g+rx /media/externalharddrive
(but it depends on your exact setup... Please update this doc page if you figure out what to do exactly)
Hai trovato degli errori? Pensi di poter migliorare questa documentazione? Simply click the Edit link at the top of the page, and then the icon on Github to suggest changes.
Powered by Grav + with by Trilby Media. • Terms of Service