Difference between revisions of "Gallery3"

From Amahi Wiki
Jump to: navigation, search
Line 3: Line 3:
 
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.
 
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  the pictures folder to an Amahi share (Amahi 7/Fedora) =
+
= Moving  the pictures folder in Amahi 7/Fedora 19 =
 +
 
 +
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].
 
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 to an Amahi share (Ubuntu) =
 
= Moving  the pictures folder to an Amahi share (Ubuntu) =

Revision as of 22:25, 28 October 2013

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 the pictures folder in Amahi 7/Fedora 19

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 to an Amahi share (Ubuntu)

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

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