Jump to content

Installing Gallery On Redbrick: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4: Line 4:


Download gallery and install it as instructed.
Download gallery and install it as instructed.
==Gallery 2==
Mostly this involves untarring it into some directory.
Now, you'll need to ask the admins to set up a MySQL account for you.
Then edit
gallery2/index.php
gallery2/main.php
gallery2/install/index.php
and add the #!/usr/local/bin/php
line as per below.
Then go to
http://www.redbrick.dcu.ie/~YOURUSERNAME/gallery2  (or whereever you intalled it)
and follow the nifty online installation program.  At some stage it will ask you for the MySQL values that the
nice admins should have mailed you when they set up your datbase.  You'll need a database name, a user name and a
password.  Everything else: accept the defaults ( e.g. table prefixes ).
Ignore the bit about making a directory chmod 777; on redbrick PHP scripts run as you, so you have permission to write
to your own directory.
See the bit at the bottom of this page for adding a php.ini to allow uploading big files.
==Gallery 1==


You must then pass all the files through 'dos2unix' even if you downloaded the '.tar.gz' archive. You could probaly write a simple script to this. This is the key to getting the scripts to work.  
You must then pass all the files through 'dos2unix' even if you downloaded the '.tar.gz' archive. You could probaly write a simple script to this. This is the key to getting the scripts to work.  
35

edits