Koozali.org: home of the SME Server

Gallery Photo under SME 6

gatox

Gallery Photo under SME 6
« on: January 06, 2006, 07:38:24 PM »
Good afternoon to all,

has anyone been able to install successfully gallery under SME 6.x and are there any other type of contribs for SME ?

Regards,

Luis

Offline holck

  • *
  • 322
  • +1/-0
Gallery Photo under SME 6
« Reply #1 on: January 06, 2006, 07:53:14 PM »
I have - with some difficulty - installed Gallery 2.0.2 under SME 6.01-01. No rpm exists for SME, as far as I know. I installed netpbm 10.26.20 as a graphics package. I had some problems with different Python versions, but somehow managed to solve it in the end.
......


gatox

Gallery
« Reply #3 on: January 06, 2006, 10:40:49 PM »
Hi Boris,

Tried the installation but cannot see the pictures on the web site.

Picture upload, album creation and everything else works fine except nothing (images) gets displayed on the screen.

Any other package besides that one for SME ?

Regards,

Luis

blockbuster

My install how to
« Reply #4 on: January 06, 2006, 11:18:12 PM »
Installing
   
Tested on SME-6.01 modified
 
Gallery 2 is a web application and must be installed on your webserver in
order for you to use it.


Create Ibay
Create an Ibay called gallery2 via your sever-manager panel. Make sure you enable php scripts.


Create mysql user and database
Create via phpmyadmin an sql database called dbgallery and a user galleryuser.


Download de Gallery2 software by giving the following commands.
Open Putty if you are working on a windows machine or use a terminal application on a linux machine to make a shh connection.

$ cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/gallery login   (if it asks for a password, just hit enter)
      $ cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/gallery co gallery2

       This approach is great because any time you want to update
       your Gallery install all you have to do is do:
     
      $ cd gallery2
      $ cvs update -Pd


   
Move files:
Take a look at where the files are stored in your IBAY most probably they will be in a directory /html/gallery2, you probably want them in the /html. So copy all the files over via cp -Rv /home/e-smith/files/ibays/gallery2/html/gallery2/* /home/e-smith/files/ibays/gallery2/html/

After that remove the following directory:
rm -rf /home/e-smith/files/ibays/gallery2/html/gallery2/*
rmdir /home/e-smith/files/ibays/gallery2/html/gallery2

   
Begin Installing - Open up your web browser and
browse to the http//:www.yoursite/gallery2/install/index.php.  
Gallery 2 will walk you through the process of validating that your system is properly configured and will set everything up for you.
   

    Authenticate - You will be asked to create and save a
   small text file in order to authenticate.  You may not proceed
   until you do this.  That’s how Gallery 2 knows that you’re authorized
   to use the installer.

     
    System Checks - The installer checks your system to
   make sure that it will support Gallery 2. Make sure that all
   checks are successful!
   

    Installation Type - Gallery can support multiple independent sites with a single installation of the code.  Here you will select a standard single install or the location of a new multisite install. There is more information about multisite in the Gallery Codex.
   

    Storage Setup - Read the instructions on the
   installer to set up a storage location for Gallery 2.  This is
   where Gallery 2 will store all of your images, as well as other cache
   information.


    Database Setup - Select your database type and enter
   your database authentication information. If this is not your first Gallery 2 installation
   and there are still some remains of the old installation, it will check the state of the
   installed version and offer a clean install option which will delete all your data in the
   storage directory and in the database. If the installed version  seems to be fine, it will
   also offer to reuse the existing database tables. Select this option if you did not start
   the installer with the intent to start from scratch.
     

    Admin User Setup - You are prompted for an
   administrator username and password. Type in a password and
   type it again to validate it. The full name and the email address are optional.
   But entering an email address is highly recommended. Once you’re finished,
    click ’Create’ to create the admin user for this installation of Gallery 2.
   
    Create Config File - Gallery 2 will create the
   config.php file in your Gallery 2 directory.  This contains
   all the answers you’ve provided in the installer and is
   necessary for Gallery 2 to function properly. At this point, there’s also a sanity
   check to prevent you from damaging your Gallery install by running the installer when you
   should rather have started the upgrader.
     


Install the Core module - Here’s where we create all
the database tables and initial users and albums to get you
started.  Unless something goes wrong, there’s nothing for you
to do here.
     

Install other modules - Gallery 2 has lots of different
modules that provide useful functionality.  Choose which ones
you want to use.  You can always go to the
[http://www.yoursite.com/gallery2/main.php?g2_view=core.SiteAdmin Site page later on to install, activate, deactivate or uninstall modules, so it’s ok to experiment here.


Check Security - Gallery 2 walks you through the process of
locking down your new config.php.

     
Finished! - Congratulations! You have successfully
installed Gallery 2!

gatox

Gallery 2
« Reply #5 on: January 07, 2006, 12:39:31 AM »
Thank you blockbuster,

Will try it this evening and will post my results.

Kind regards,

Luis

gatox

Gallery2 Post-Install
« Reply #6 on: January 07, 2006, 06:34:42 AM »
Dear blockbuster,

It works !!! like a charm.

Wow great looking application.

Thank you very much, created 2 web sites in a blink of an eye.

Will post a url very soon to check it out.

Kind regards from snowy Montreal.

Luis

geerd

I need a little more help
« Reply #7 on: January 17, 2006, 10:54:40 PM »
hi everybodey,

I'm running SME7.0 pre1 for 2 days now. :-)

I'm also trying to install gallary. my problem  is that I can create the I-bay but dont understand where I have to put the command lines.
I dont now anything about the system yet. thats why.


Geerd from holland.

blockbuster

Gallery Photo under SME 6
« Reply #8 on: January 23, 2006, 05:04:59 AM »
Download Putty,
www.putty.nl/download.html

Login to your server as root

and do the commands as I described above.

Offline beakersloco

  • ****
  • 142
  • +0/-0
Re: Gallery
« Reply #9 on: January 30, 2006, 09:27:50 AM »
Quote from: "gatox"
Hi Boris,

Tried the installation but cannot see the pictures on the web site.

Picture upload, album creation and everything else works fine except nothing (images) gets displayed on the screen.

Any other package besides that one for SME ?

Regards,

Luis


You probaly missed a config  setting. If you use the one on   http://sme.swerts-knudsen.dk/index.html?frame=http%3A//sme.swerts-knudsen.dk/howtos/howto_13.htm and follow it to the T and also look at each of the tabs in the configuration page you will fine your problem. I had to install mine 3 times before I got it right. The first time I  was not in the correct directory. 2nd time missed a config setting and on the third time I took my time and found that  in my haste I did not enter in the directory info correctly so the page would display but no pictures after I corrected the directory info mine now works.

Check the following setting in the setup

PNM to JPEG converter : ppmtojpeg
Album directory:  /home/e-smith/files/ibays/gallery/html/albums
Albums URL: http://yourhost.yourdomain/gallery/albums Temporary directory: /home/e-smith/files/ibays/gallery/html/temp
All that's necessary for the forces of evil to win in the world is for enough good men to do nothing.???" Edmund Burke -Irish orator, philosopher, & politician


For the battle is not yours, but God's.   2 Chronicles 20:15

blockbuster

Gallery CVS stopped
« Reply #10 on: May 19, 2006, 03:11:36 AM »
Gallery has switched its revision control system from CVS to Subversion to take advantage of Sourceforge's latest offering. Subversion is faster and more featureful than CVS and should increase our development velocity, which means that you get a better product, faster. For those of you who are using Gallery via CVS, we've created a page in the Codex that explains how to use Subversion including how to migrate over from CVS. If you don't know what CVS is, then you won't have to worry about this.

To do a final update to come to a known installation and to swith to Subversion do:

root # cvs -t -d :pserver:anonymous@gallery.cvs.sourceforge.net:/cvsroot/gallery update

cristi3k

hello
« Reply #11 on: May 25, 2006, 06:08:49 PM »
I get this error
// Error: You must specify a path for netpbm or ImageMagick for Gallery to function!!

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: hello
« Reply #12 on: May 25, 2006, 07:36:32 PM »
Quote from: "cristi3k"
I get this error
// Error: You must specify a path for netpbm or ImageMagick for Gallery to function!!
You can configure this when you login as administrative user into your gallery2, altough you need to install one of the two first. If I may advice you go with Imagick this is far more easy to install and has almost all the functions you need.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

cristi3k

thank You
« Reply #13 on: June 13, 2006, 07:14:58 AM »
I did manage to get it working. Thanks once more.