Difference between revisions of "Gallery3"
From Amahi Wiki
(Created page with "This page is going to be dedicated to documentation regarding the gallery3 application. Moving your var directory (place where pictures are stored) to an amahi share: 1. Install...") |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | This page is | + | This page is dedicated to documentation regarding the gallery3 application. |
− | + | The directory where pictures are stored in gallery 3 is known as "var/" and by default it's relative to the web app's root directory. | |
− | + | ||
− | + | = Moving Pictures folder in Amahi 7 or greater (Fedora) = | |
− | + | ||
− | + | Create the share if it's not created yet. | |
− | + | ||
− | + | Follow this FAQ on [http://codex.galleryproject.org/Gallery3:FAQ#I_want_to_move_my_.2Fvar_directory how to move the var directory]. | |
− | + | ||
− | + | You may need to restart the httpd server. | |
− | + | ||
+ | = Moving the pictures folder in Ubuntu = | ||
+ | # Install gallery3 | ||
+ | # su root | ||
+ | # edit /etc/passwd to allow apache2 to login (set the shell to /bin/bash) | ||
+ | # cd /var/hda/web-apps/gallery3/html/ | ||
+ | # cp -R var /var/hda/files/pictures/ | ||
+ | # sudo chown -R apache:users /var/hda/files/pictures/var | ||
+ | # su apache | ||
+ | # ln -s /var/hda/files/pictures/var var | ||
+ | # exit | ||
Gallery 3 should now be directing correctly to that pictures share! | Gallery 3 should now be directing correctly to that pictures share! |
Latest revision as of 01:09, 25 March 2016
This page is dedicated to documentation regarding the gallery3 application.
The directory where pictures are stored in gallery 3 is known as "var/" and by default it's relative to the web app's root directory.
Moving Pictures folder in Amahi 7 or greater (Fedora)
Create the share if it's not created yet.
Follow this FAQ on how to move the var directory.
You may need to restart the httpd server.
Moving the pictures folder in Ubuntu
- Install gallery3
- su root
- edit /etc/passwd to allow apache2 to login (set the shell to /bin/bash)
- cd /var/hda/web-apps/gallery3/html/
- cp -R var /var/hda/files/pictures/
- sudo chown -R apache:users /var/hda/files/pictures/var
- su apache
- ln -s /var/hda/files/pictures/var var
- exit
Gallery 3 should now be directing correctly to that pictures share!