[Clipart] [PATCH] cchost INSTALL.TXT

Bryce Harrington bryce at bryceharrington.org
Sat Feb 11 13:44:21 PST 2006


Another patch, for the actual install directions.  I found a few manual
steps (like creating a database, setting permissions, etc.) that are
probably worth doing upfront, so I've documented them with examples in
this file.

Bryce

--- cchost-1.0.3/ccadmin/INSTALL.TXT	2005-10-22 11:20:32.000000000 -0700
+++ cchost-bwh/ccadmin-hidden/INSTALL.TXT	2006-02-11 13:34:44.000000000 -0800
@@ -7,8 +7,8 @@
 =========================================
 
 
- UPGRADE EXISTING ccHOST INSTALLATIONS
----------------------------------------
+UPGRADE EXISTING ccHOST INSTALLATIONS
+-------------------------------------
 
 For 1.0.RC installations:
 
@@ -21,18 +21,47 @@
 customations will be lost.
 
 
- NEW INSTALL: (no phpBB2 integration)
-------------------------------------------------
+NEW INSTALL: (no phpBB2 integration)
+------------------------------------
 If you have basic knowledge of using FTP you can use these steps to 
 quickly get started. 
 
- 1. Unzip the ccHost ZIP archive on your local system and
-    copy the files (retaining the directory sturcture)
-    to you web server.
+ 1. Unzip the ccHost ZIP or tar.bz2 archive on your local system and
+    copy the files (retaining the directory structure)
+    to your web server.
+
+    For example:
+    cp -a cchost-1.0.3 /var/www/localhost/htdocs/cchost
+    chgrp -R apache /var/www/localhost/htdocs/cchost
+    chmod g+w /var/www/localhost/htdocs/cchost/
+    chmod -R g+w /var/www/localhost/htdocs/cchost/cclib/phptal/phptal_cache/
+
+ 2. Install getID3.  Unpack the package, and then copy the getid3
+    directory to the location it will be accessed.  For example:
+
+    tar xzf getid3.tar.gz
+    cp -a getid3/getid3 /var/www/localhost/htdocs/cchost/
+
+ 3. Create a database instance and users to access it.  For example:
+
+    mysql -p -u root
+
+    mysql> CREATE DATABASE cchost;
+    mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE ON cchost.* 
+    ->     TO 'cchost'@'localhost' IDENTIFIED BY 'password';
+
+    Make sure to change 'password' (and maybe cchost) to something
+    unique to your site.
+
+ 4. Create directory /var/log/cchost or other location to store log
+    files.  Must be writable by apache.  For example:
+
+    mkdir /var/log/cchost
+    chown apache:apache /var/log/cchost
 
- 2. Browse to http://where_you_installed_cchost/ccadmin 
+ 5. Browse to http://where_you_installed_cchost/ccadmin 
 
- 3. Follow the instructions from there on...
+ 6. Follow the instructions from there on...
 
 UNIX Installations Take Note: on the last screen of the 
 installation process you'll be prompted to read about



More information about the clipart mailing list