Username:

Password:

Pages: [1] 2

Author Topic: Installing Gallery 3  (Read 8086 times)

cxms

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 7
Installing Gallery 3
« on: September 20, 2009, 07:28:58 PM »
Newby here, just so your warned...

I mostly use Webmin for all my admin but Gallery has its own way of doing things. I would like to install gallery however I get conflicting stories on ways to install it. I know it has an automated install using a web page, but even those directions are not the best for someone without a great deal of experience. So here's the question:

Do I need to install multiple galleries for multiple web sites or can I install it once and have multiple galleries?
Logged

chase

  • WebDes1gn Staff
  • Administrator
  • Full Member
  • *****
  • Karma: +100/-0
  • Posts: 110
    • WWW
Re: Installing Gallery 3
« Reply #1 on: September 20, 2009, 11:17:22 PM »
Hey cxms,

I'm pretty familiar with Gallery2, and thought that maybe a stable release of Gallery3 had already been released because you were asking about installing it. However, after a quick glance at Menalto's site, it appears a final release of G3 is still some ways off. The Beta 3 is available for testing on their homepage; are you just trying to check out the Beta of Gallery3 to check it out? Or, do you plan on running this in a production environment?

If you're just trying to setup a gallery for your website, you'd probably be best using Gallery 2.3, Coppermine, or something equivalent. If you just have to have Gallery 3 though, get the latest version here: http://downloads.sourceforge.net/gallery/gallery-3.0-beta-3.zip

After you have the latest version downloaded, I'd assume that you go through the steps as usual (setup mysql user and db, upload files, go to /installer/ directory, follow steps given).

Let me know what you're trying to do and I'll give you my best recommendation, or more detailed install info on G3.

cxms

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 7
Re: Installing Gallery 3
« Reply #2 on: September 20, 2009, 11:28:36 PM »
Thanks for replying...

Well I would like to go with G3 and just update as they go along, supposedly the updates are easy...  I am running it on a personal server and may or may not have other sites as well.

So first of all which is best, installing one main package and using that with multiple galleries or simply installing multiple galleries?

I have no idea how to do all the install and DB work, so will be working through all that a step at a time as I learn my way.

Logged

chase

  • WebDes1gn Staff
  • Administrator
  • Full Member
  • *****
  • Karma: +100/-0
  • Posts: 110
    • WWW
Re: Installing Gallery 3
« Reply #3 on: September 20, 2009, 11:39:41 PM »
I would think the most simple solution would be a unique install for each site. The complexity of a central gallery spread across multiple domains seems like it'd be more of a headache than anything, for a n00b. lol

Do you have MySQL installed on your system? If not, you'll probably want to install MySQL and read up on it a bit..

You'll have to add a user, a database, add permissions to the database for the user you made, then enter that info in your Gallery3 install when prompted.
« Last Edit: September 20, 2009, 11:51:16 PM by chase »
Logged

cxms

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 7
Re: Installing Gallery 3
« Reply #4 on: September 21, 2009, 12:10:09 AM »
I do have mysql installed and I believe I can do most things through webmin. I really need more specific directions that I can follow step by step to install the gallery.

I use a separate drive for all non OS stuff, which is why I was hoping to install gallery on the os drive then the galleries on each site on the data drive. But if it is better to do separate then I can do that too.
Logged

chase

  • WebDes1gn Staff
  • Administrator
  • Full Member
  • *****
  • Karma: +100/-0
  • Posts: 110
    • WWW
Re: Installing Gallery 3
« Reply #5 on: September 21, 2009, 12:15:54 AM »
The README file in the Beta3 zip says there are two options to install, via the web-based installer, or by command line.


INSTALLATION VIA THE WEB:
- Point your web browser at gallery3/installer/ and follow the
  instructions.


INSTALLATION FROM THE COMMAND LINE:
- php installer/index.php [-h host] [-u user] [-p pass] [-d dbname]

 Command line parameters:
 -h     Database host          (default: localhost)
 -u     Database user          (default: root)
 -p     Database user password (default: )
 -d     Database name          (default: gallery3)
 -x     Table prefix           (default: )

cxms

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 7
Re: Installing Gallery 3
« Reply #6 on: September 21, 2009, 05:43:21 AM »
I read that as well but thanks

To where am I installing it, if each site gets its own install? I remember from the past that the actual package and photo directory remain outside the web site folder for security.

Using webmin, what am I creating in MySql? I must create this first as the install asks for it.

My last server which lasted 8 years, my friend set up, I asked for help but he just did it and I was left asking how it was done. This time around I want to do it with help and learn how it is done.
Logged

chase

  • WebDes1gn Staff
  • Administrator
  • Full Member
  • *****
  • Karma: +100/-0
  • Posts: 110
    • WWW
Re: Installing Gallery 3
« Reply #7 on: September 21, 2009, 09:37:52 AM »
I read that as well but thanks

To where am I installing it, if each site gets its own install? I remember from the past that the actual package and photo directory remain outside the web site folder for security.

Using webmin, what am I creating in MySql? I must create this first as the install asks for it.

My last server which lasted 8 years, my friend set up, I asked for help but he just did it and I was left asking how it was done. This time around I want to do it with help and learn how it is done.


Gotcha, it's always nice to know what you're doing. Very cool of your friend to get you setup, too bad he didn't "teach you to fish", so to speak. lol

Using webmin, or root, you'll need to create a MySQL user and database, create db permissions for the user (allow the user to connect to the db), and feed the information (db name, db user, db password) to Gallery3. These same steps apply applies to pretty much any database-driven script you may be trying to install.
« Last Edit: September 21, 2009, 09:43:15 AM by chase »
Logged

cxms

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 7
Re: Installing Gallery 3
« Reply #8 on: September 21, 2009, 03:32:23 PM »
Do I need to do the MySql thing for each gallery install or just once?

Again, where am I installing the Gallery software? Do I place the package I downloaded to my windows machine in a specific place on the server and then run the command line thing?

Thanks for the patients to a n00b

Logged

chase

  • WebDes1gn Staff
  • Administrator
  • Full Member
  • *****
  • Karma: +100/-0
  • Posts: 110
    • WWW
Re: Installing Gallery 3
« Reply #9 on: September 22, 2009, 07:34:55 PM »
No worries, I'm used to dealing with non-techies, haha. At least you're trying to do stuff on your own!

For the installs, you could do it either way. If all of the installs are located on the same server, it'd be easy to have them all in one MySQL db with different prefixes on each install. Or, you could create a unique db and username/pass for each, to keep things separate. To install the Gallery3 script, you need to upload the files you download from their site to the base directory of the website (/public_html) or download and untar it with wget and tar in a linux environment and place the files in the /home/domain/public_html or comparable folder for that site/install.

cxms

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 7
Re: Installing Gallery 3
« Reply #10 on: September 23, 2009, 05:03:22 AM »
One step at a time

I decompressed the files all within the gallery3 directory and moved them into the same directory as my index.htm for my website. Following the readme file I pointed my browser to: /gallery3/installer/ but my computer kept asking me if I wanted to save the file instead of bringing up the install web page.


Running on command line: php installer/index.php [-h localhost] [-u root] [-p pass] [-d dbname]

I get: - bash php: Command not found


Which would be better, one DB with different tables or seperate db's?

Logged

chase

  • WebDes1gn Staff
  • Administrator
  • Full Member
  • *****
  • Karma: +100/-0
  • Posts: 110
    • WWW
Re: Installing Gallery 3
« Reply #11 on: September 23, 2009, 03:48:30 PM »
Oh, ok. Well, first you need to install PHP. That's why you're being prompted to save the file instead of the browser interpreting it as a PHP script.

Do you have have PHP and MySQL installed? Are you on a linux or windows based system?

cxms

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 7
Re: Installing Gallery 3
« Reply #12 on: September 23, 2009, 05:26:15 PM »
I'm running a Ubuntu Linux server install, but accessing it remotely via my windows vista machine.

Yes, MySQL is installed...

I installed PHP, but now I get: "cannot display page" using web install and absolutly nothing using the command line install.
« Last Edit: September 23, 2009, 05:27:56 PM by cxms »
Logged

mrksem454

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 3
Re: Installing Gallery 3
« Reply #13 on: April 21, 2010, 09:59:27 PM »
I installed Gallery 3. And about it, its a web based software product that lets you manage your photos on your own website.  You must have your own website with PHP and database support in order to install and use it.  With Gallery you can easily create and share albums of photos via an intuitive interface.

johnderby

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 5
Re: Installing Gallery 3
« Reply #14 on: July 15, 2010, 08:53:54 PM »
I read that as well. This announcement was well B3, and we have no more sprint, it is very close though. Ah, just looked at the post, he said: beta final gallery 3. Yes, that was the plan. We came with several things that work we have succeeded in entering the sprint code. But many things have been worked during the last week with a lot of bugs fixed.
Logged
Pages: [1] 2