Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: gatox 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
-
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.
-
http://sme.swerts-knudsen.dk/index.html?frame=http%3A//sme.swerts-knudsen.dk/howtos/howto_13.htm
-
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
-
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 (http://codex.gallery2.org/index.php/Gallery2:Multisite).
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!
-
Thank you blockbuster,
Will try it this evening and will post my results.
Kind regards,
Luis
-
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
-
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.
-
Download Putty,
www.putty.nl/download.html
Login to your server as root
and do the commands as I described above.
-
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
-
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
-
I get this error
// Error: You must specify a path for netpbm or ImageMagick for Gallery to function!!
-
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.
-
I did manage to get it working. Thanks once more.