Koozali.org: home of the SME Server

[Announce] Gallery2 for SME7.x

Offline berdie

  • *
  • 237
  • +0/-0
[Announce] Gallery2 for SME7.x
« on: May 14, 2007, 03:50:00 PM »
to the community,
for the ease of installation a rpm package of Gallery2 for the SME Server 7.x is available at http://wiki.contribs.org/Gallery2.
This package installs the gallery 2 photo and video gallery system into /opt.
You can start it with your browser with the URL http://MYSERVER/gallery2.

Rgds.,
Dietmar

Offline okepc

  • ***
  • 118
  • +0/-0
    • http://www.okepc.nl
[Announce] Gallery2 for SME7.x
« Reply #1 on: May 14, 2007, 05:08:16 PM »
What is the directory name in /opt ist it gallery or gallery2 ?
currently gallery 1 is installed in /opt/gallery and i don't wanna mess that up :D

Dirk

Offline berdie

  • *
  • 237
  • +0/-0
[Announce] Gallery2 for SME7.x
« Reply #2 on: May 14, 2007, 05:38:09 PM »
it's in /opt/gallery2

Offline skydivers

  • *
  • 178
  • +0/-0
[Announce] Gallery2 for SME7.x
« Reply #3 on: May 14, 2007, 05:50:43 PM »
I'm going to try this rpm. There was already a package with .sh scripts to install gallery, but I did not like it. Curious for this one  :)

Offline skydivers

  • *
  • 178
  • +0/-0
[Announce] Gallery2 for SME7.x
« Reply #4 on: May 14, 2007, 07:16:52 PM »
Quote from: "skydivers"
I'm going to try this rpm. There was already a package with .sh scripts to install gallery, but I did not like it. Curious for this one  :)


Tested it and works great. Thanx Berdie!

Offline okepc

  • ***
  • 118
  • +0/-0
    • http://www.okepc.nl
[Announce] Gallery2 for SME7.x
« Reply #5 on: May 15, 2007, 02:16:27 PM »
Tested flawless install and runs perfectly txs for the contrib!

Offline idyll

  • ***
  • 113
  • +0/-0
contrib
« Reply #6 on: May 15, 2007, 10:03:21 PM »
I tested this and it works beautifully.

Thank you for packaging it all and creating a very simple utility.

There is one issue, however, and it pertains to the security of the g2data directory. The devs at Gallery are very clear the g2data directory should be in other then the document root for security reasons.

Have you considered this issue? Perhaps you could change the package to install the g2data directory somewhere else on the server?

thanks

regards,

patrick
...

Offline berdie

  • *
  • 237
  • +0/-0
[Announce] Gallery2 for SME7.x
« Reply #7 on: May 15, 2007, 11:07:23 PM »
Thanks for your comments.
Quote
The devs at Gallery are very clear the g2data directory should be in other then the document root for security reasons.
This should not be an issue. The g2data directory is not in the tree, it has in fact his own document root and this is not within the /opt/gallery2/html directory.

Additionally to this the template has the line
Quote
php_admin_value open_basedir /opt/gallery2/html/:/opt/gallery2/g2data/
for security reasons.

Offline idyll

  • ***
  • 113
  • +0/-0
solid
« Reply #8 on: May 15, 2007, 11:53:25 PM »
Well devised, berdie.

Thank you for the reply.

Might I ask where two specific modules install? Using the Gallery GUI, I cannot locate the paths to dcraw or ffmpeg. I have installed them, and when attempting to configure they cannot be found.

Imagemagick installs into /usr/bin. But not these other two.

Any pointers?

thank you.

regards,

patrick
...

Offline berdie

  • *
  • 237
  • +0/-0
[Announce] Gallery2 for SME7.x
« Reply #9 on: May 16, 2007, 10:51:07 PM »
You can download the necessary files from
Quote
http://mirror.contribs.org/smeserver/contribs/dberteld/gallery2/rpms
to a tmp install directory. Fore installation type
Quote
yum localinstall *.rpm
from this directory.
I've successful tested ffmeg, ImageMagick and NetPBM.

Rgds.
Dietmar

Offline eenn62

  • 4
  • +0/-0
[Announce] Gallery2 for SME7.x
« Reply #10 on: May 29, 2007, 02:41:28 PM »
After the install Gallery2 from http://wiki.contribs.org/Gallery2 and change the admin-password. Everything is working fine. Thanks for the fine contrib..
But I have noticed  that the http://web.site/gallery2/upgrade still had the password admin.
How can I change that because I don’t want that someone ells can upgrade my gallery2 software. And how and ware can I change it.
I hope someone can help my, I’m not so very good in Linux. Still a beginner.

Thanks

Offline berdie

  • *
  • 237
  • +0/-0
[Announce] Gallery2 for SME7.x
« Reply #11 on: May 29, 2007, 04:53:22 PM »
Quote from: "eenn62"
How can I change that because I don’t want that someone ells can upgrade my gallery2 software.

Thanks for your comment.
You should change the rights for the "upgrade"-folder as follows:
Login to your server as user "root" and hit the command
Quote
chmod -R 640 /opt/gallery2/html/upgrade

I will upload a new version without this "bug" soon.

Rgds.,
Dietmar

Offline kryptos

  • ****
  • 245
  • +0/-0
[Announce] Gallery2 for SME7.x
« Reply #12 on: June 05, 2007, 07:06:21 AM »
I have problem with Local server Upload path. When i add the path to an ibay i get this error "Your webserver is configured to prevent you from accessing that directory.Please refer to the open_basedir documentation  and consult your webserver administrator." Does anyone has they same problem with this?

Thanks!

Offline berdie

  • *
  • 237
  • +0/-0
[Announce] Gallery2 for SME7.x
« Reply #13 on: June 05, 2007, 07:59:17 AM »
Look at this:
http://wiki.contribs.org/viewpost.php?p=166295
Hope it helps.

Dietmar

Offline polarair

  • *
  • 32
  • +0/-0
    • http://www.cosoprinting.nl
Re: [Announce] Gallery2 for SME7.x
« Reply #14 on: August 16, 2007, 09:24:35 AM »
I noticed that many of the addon contribution like Joomla and Gallery2 always make the following url
www.websiite.com/joomla/  or www.websiite.com/gallery2/ is it possible to make the installs without these directory structures.
I would like to choose my own name. Not everybody has to see that i use joomla or some other addon.

Please help

(Newbie) Mike
live is to short not to enjoy it :lol: ......