Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: berdie on May 14, 2007, 03:50:00 PM

Title: [Announce] Gallery2 for SME7.x
Post by: berdie 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
Title: [Announce] Gallery2 for SME7.x
Post by: okepc 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
Title: [Announce] Gallery2 for SME7.x
Post by: berdie on May 14, 2007, 05:38:09 PM
it's in /opt/gallery2
Title: [Announce] Gallery2 for SME7.x
Post by: skydivers 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  :)
Title: [Announce] Gallery2 for SME7.x
Post by: skydivers 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!
Title: [Announce] Gallery2 for SME7.x
Post by: okepc on May 15, 2007, 02:16:27 PM
Tested flawless install and runs perfectly txs for the contrib!
Title: contrib
Post by: idyll 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
Title: [Announce] Gallery2 for SME7.x
Post by: berdie 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.
Title: solid
Post by: idyll 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
Title: [Announce] Gallery2 for SME7.x
Post by: berdie 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
Title: [Announce] Gallery2 for SME7.x
Post by: eenn62 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
Title: [Announce] Gallery2 for SME7.x
Post by: berdie 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
Title: [Announce] Gallery2 for SME7.x
Post by: kryptos 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!
Title: [Announce] Gallery2 for SME7.x
Post by: berdie on June 05, 2007, 07:59:17 AM
Look at this:
http://wiki.contribs.org/viewpost.php?p=166295
Hope it helps.

Dietmar
Title: Re: [Announce] Gallery2 for SME7.x
Post by: polarair 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
Title: Re: [Announce] Gallery2 for SME7.x
Post by: cactus on August 16, 2007, 10:43:39 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
You can probably do so manually, by modifying the template fragments, but as packages/contribs install automatically without user interaction it is not possible to have the user input a preference, unfortunately.
Title: Re: [Announce] Gallery2 for SME7.x
Post by: wr19026 on August 16, 2007, 12:20:06 PM
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!

I have all my pics in an ibay at the moment, and I do not want to move/duplicate them if possible. So my question is, is it possible to create a symlink to the ibay, or do I need to duplicate all the pictures?



Title: Re: [Announce] Gallery2 for SME7.x
Post by: cactus on August 16, 2007, 07:56:08 PM
I have all my pics in an ibay at the moment, and I do not want to move/duplicate them if possible. So my question is, is it possible to create a symlink to the ibay, or do I need to duplicate all the pictures?
Yes you can, if you go to the 'Add items' option, there should be an option called 'From server', if you have properly configured your server, you should be able to access the location which stores holds your files. Before adding them be sure to check the 'Use symlink' option.
You might run into the PHP basedir restriction, which you could solve by means of the wiki..