119
edits
mNo edit summary |
(Remove legacy information.) |
||
Line 1: | Line 1: | ||
[http://gallery.sourceforge.net Gallery] is an excellent piece of PHP software for your website for | [http://gallery.sourceforge.net Gallery] is an excellent piece of PHP software for your website for organising and displaying photos. | ||
Unfortunately it's not possible to install Gallery on redbrick and have it work straight away. So instead, use the [http://gallery.redbrick.dcu.ie RBGallery] which removes all the hassle of setting up the software, upgrades, and best of all, doesn't use your quota up. | |||
Download gallery and install it as instructed. | Download gallery and install it as instructed. | ||
Line 7: | Line 7: | ||
Mostly this involves untarring it into some directory. | Mostly this involves untarring it into some directory. | ||
Now, you'll need to ask the admins to set up a MySQL account for you. | Now, you'll need to ask the admins to set up a MySQL account for you. | ||
Then go to | Then go to | ||
http://www.redbrick.dcu.ie/~YOURUSERNAME/gallery2 (or whereever you | http://www.redbrick.dcu.ie/~YOURUSERNAME/gallery2 (or whereever you installed it) | ||
and follow the nifty online installation program. At some stage it will ask you for the MySQL values that the | 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 | nice admins should have mailed you when they set up your database. You'll need a database name, a user name and a | ||
password. Everything else: accept the defaults ( e.g. table prefixes ). | 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 | Ignore the bit about making a directory chmod 777; on redbrick PHP scripts run as you, so you have permission to write | ||
Line 27: | Line 20: | ||
==Gallery 1== | ==Gallery 1== | ||
You must then pass all the files through 'dos2unix' even if you downloaded the '.tar.gz' archive. You could | You must then pass all the files through 'dos2unix' even if you downloaded the '.tar.gz' archive. You could probably write a simple script to this. This is the key to getting the scripts to work. | ||
Oh, BTW, ImageMagick and most of NetPBM is already installed on Redbrick so you won't need those binaries in your account locally. | Oh, BTW, ImageMagick and most of NetPBM is already installed on Redbrick so you won't need those binaries in your account locally. |