Disney web site - 660 Part V . Running Servers 3. Log

660 Part V . Running Servers 3. Log in as the user that will own the CPG installation and download the latest version from the Internet: $ mkdir -p ~/public_html $ cd ~/public_html $ wget http://dl.sourceforge.net/sourceforge/coppermine/cpg1.3.3.zip –19:30:46– http://dl.sourceforge.net/coppermine/cpg1.3.3.zip => `cpg1.3.3.zip Resolving dl.sourceforge.net… 64.74.207.41, 66.35.250.221,… Connecting to dl.sourceforge.net[64.74.207.41]:80… connected. HTTP request sent, awaiting response…200 OK Length: 2,924,274 [application/zip] 100%[===============>] 2,924,274 58.02K/s ETA 00:00 19:31:36 (57.08 KB/s) - `cpg1.3.3.zip saved [2924274/2924274] 4. Unpack the archive: $ unzip cpg1.3.3.zip Archive: cpg1.3.3.zip inflating: cpg133/addfav.php inflating: cpg133/xp_publish.php […] inflating: cpg133/zipdownload.php 5. Rename the freshly unpacked cpg directory, and then set the permissions so that files can be uploaded from PHP: $ mv cpg133 photos $ cd photos $ chmod 777 include $ find albums -type d | xargs chmod 777 6. Go to a Web browser on any machine that can reach your LAMP server over the network and open the install.php script under your coppermine directory. If you re installing CPG under a user directory under your main host, the URL is http://servername/~username/photos/install.php. If you re installing CPG under a virtual host, the URL is http:// virtualhostname/photos/install.php. Figure 24-2 shows the installation page. 7. Configure CPG to work with your installation by filling in the following fields and selecting Let s Go!: Username and Password The administrative login and password that you will use to administer CPG.
If you are looking for affordable and reliable webhost to host and run your business application visit our ftp web hosting services.

Leave a Reply