Hello forum
I have installed Piwigo on a local LAMP-Server. As hardware I use a Raspberry PI 2 and and external 500 GB HD on USB port.
Piwigo is installed in the default directory /var/www/html/piwigo.
As the space of the / partition is limited due to a 16 GB microSD card, I need to shift all big datas of Piwigo to the external drive mounted at /media/pi/core/piwigo.
To achieve this, I moved those 3 directories to the external drive:
sudo mv /var/www/html/piwigo/_data/ /media/pi/core/piwigo/
sudo mv /var/www/html/piwigo/upload/ /media/pi/core/piwigo/
Then I created symlinks
sudo ln -s /media/pi/core/piwigo/upload /var/www/html/piwigo/upload
sudo ln -s /media/pi/core/piwigo/_data/ /var/www/html/piwigo/_data
sudo ln -s /media/pi/core/piwigo/gallerie/ /var/www/html/piwigo/gallerie
My Mysql database is already located on the external HD.
Piwigo is doing fine so far and images I load up are stored in either in uploads or _data on the external HD.
Is it ok using symlinks?
Are there more files/folders I should transfer (and symlink) to the HD?
Anything critical I have overseen?
Hints and comments are welcome :-)
Best regards
Irmage
----------------------------------------
Piwigo version: 2.7.4
Linux - Raspbian Jessie
PHP: 5.6.13-0+deb8u1
MySQL: 5.5.44-0+deb8u1
grafik library: GD 2.1.1-dev
Last edited by Irmage (2015-10-30 18:25:58)
Offline