I have previously given details on easy set up of Coppermine using a free webhost as your server platform. Today I am updating that info to give you the steps to install the album application on your own if you can’t use an autoinstaller. Actually- installing yourself is fast and easy and in many ways better as many autoinstallers manage to generate unwanted code that can make future updates difficult.
Preparation:
- Download the latest version of Coppermine from the Coppermine project site http://coppermine-gallery.net/ and make sure your hosting company has all of the required scripts installed on their server. You will need a newer version of PHP , GD 2.0 and the ability to add a MYSQL database. Read through the documentation provided with coppermine and make sure you have everything required available on your server. At this time- peruse the Coppermine library ( http://coppermine-gallery.net/demo/cpg14x/)of user templates if you want to use something other than one of the pre-made ones supplied with the application. You can download these from the Coppermine download resource area (http://sourceforge.net/project/showfiles.php?group_id=89658 )
- Create a MYSQL database and a database user, then assign full privileges to your user. Make sure you WRITE DOWN your database and user info so you can retrieve it at any time.
- Unzip the coppermine installation files onto your hard disk. Also unzip your template files if you have downloaded some additional ones. I usually have a folder on my drive for COPPERMINE and have these two things in two folders within it.
- Open your FTP client- I use Filezilla and then go to your website and choose the directory to install your gallery into. If your site is going to be just a gallery, you can install it in your root directory, otherwise make a new directory and name it. This will be the address for your Coppermine gallery. ie http://mysite.com would be your gallery address if you published to your root directory- or http://mysite.com/gallery would be the address if you were having your gallery installed in a directory on your site.
- Load all of the files within the Coppermine installation folder to your directory. Once added, you can add the themes you downloaded and unzipped to the THEMES folder. Each theme will need to be added singly into their own folder- don’t load them into a single one within the THEMES folder.
- Set user permissions- the program needs to be able to write to your database to install your site. I usually go ahead and go to the top level of my installation directory and right click on it in Filezilla and select FILE ATTRIBUTES. Set the value to 777 to allow install to occur.
- Once this is done- open your gallery directory in your browser. You should get a page directing you to the installation page for Coppermine. If you do not, then ad the suffix index.php to your address- this should fix this. At your install page you will be asked to provide your database name and user info. Fill in all fields and that is it! You will then be directed to your coppermine homepage.
- Set your coppermine settings in the config panel. You can change your theme, add links to your website or forum, set every detail on using coppermine. Some recommendations: Use GD 2 to handle images and make thumbs and make sure you have selected /usr/bin/ as your path for converting photos or the thumbnail tool won’t work. Also- don’t use the random photo display option- it is a resource hog. Instead replace the breadcrum list with breadcrumb/lastalb,2/catlist/alblist/lastup,2
- I recommend not allowing people to register and making albums public to eliminate SPAMMERs from accessing your gallery.
- If you load pics using the FTP tools, you will want to make sure you go in and set the file attributes to 777 before you try to add them to your gallery using the bulk loader.
HAVE FUN! Coppermine is a flexible tool and ideal for adding photos over time. Now you know how to install it on any PHP/MYSQL server.
For 1.5GB of free server space I recommend 000webhost.com
This will allow you to load about 1000 photos without any problems- make sure images are sized to about 1600px as maximum size for easy viewing and loading.






























































































