Difference between revisions of "Gallery3"
From Amahi Wiki
m |
m |
||
Line 3: | Line 3: | ||
Moving your var directory (place where pictures are stored) to an amahi share: | Moving your var directory (place where pictures are stored) to an amahi share: | ||
# Install gallery3 | # 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! |
Revision as of 15:23, 3 August 2011
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:
- 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!