Difference between revisions of "Gallery3"

From Amahi Wiki
Jump to: navigation, search
(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...")
 
m
Line 2: Line 2:
  
 
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:
1. Install gallery3
+
# Install gallery3
2. su root
+
## su root
3. edit /etc/passwd to allow apache2 to login (set the shell to /bin/bash)
+
### edit /etc/passwd to allow apache2 to login (set the shell to /bin/bash)
4. cd /var/hda/web-apps/gallery3/html/
+
#### cd /var/hda/web-apps/gallery3/html/
5. cp -R var /var/hda/files/pictures/
+
##### cp -R var /var/hda/files/pictures/
6. sudo chown -R apache:users /var/hda/files/pictures/var
+
###### sudo chown -R apache:users /var/hda/files/pictures/var
7. su apache
+
####### su apache
8. ln -s /var/hda/files/pictures/var var
+
######## ln -s /var/hda/files/pictures/var var
9. exit
+
######### 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:

  1. Install gallery3
    1. su root
      1. edit /etc/passwd to allow apache2 to login (set the shell to /bin/bash)
        1. cd /var/hda/web-apps/gallery3/html/
          1. cp -R var /var/hda/files/pictures/
            1. sudo chown -R apache:users /var/hda/files/pictures/var
              1. su apache
                1. ln -s /var/hda/files/pictures/var var
                  1. exit

Gallery 3 should now be directing correctly to that pictures share!