Difference between revisions of "Installation InstructionsG2"

From GeeklogWiki
Jump to: navigation, search
m
 
(New install instructions based on my experience)
 
Line 1: Line 1:
* Download the current CVS version:
+
=Installation Instructions=
<pre>cvs -d:ext:anonymous@cvs.geeklog.net:/cvsroot/geeklog2 co Geeklog-2.x</pre>
+
 
* create a databse called geeklog_2
+
==Step One: Dependencies==
* create the databases by running /sql/MYSQL/create.sql
+
:To run Geeklog 2 you will need to have the following software installed and running:
* fill the tables by running /sql/MYSQL/fill.sql
+
:*Web Server - [http://httpd.apache.org/ Apache]
* edit /config.php, at least the values for the databse name, username, password, $glConf['path'] and $glConf['site_url']
+
:*SQL Database - [http://www.mysql.com/ MySQL]
 +
:*[http://www.php.net/ PHP]
 +
:*The CURL module for PHP
 +
 
 +
==Step Two: Checkout Geeklog 2 Code==
 +
:Use SVN to check out the latest Geeklog 2 code tree. You can either place the code tree in a folder accessable by your web server or, if you are running a *nix system, you can place a system link in a web accessable folder that links to the root of the Geeklog 2 code tree.
 +
 
 +
==Step Three: Configure Geeklog 2==
 +
:With your favorite editor open <Geeklog_2_Root>/config.php and edit the various settings to work with your computer. The file is well commented so this step should be pretty straight forward. You may need to change the value of $appConf['db_host'] to 'localhost'.
 +
 
 +
==Step Four: Configure The Database==
 +
:Once you have edited <Geeklog_2_Root>/config.php and saved you can now run the provided database configuration script. Open your browser and go to <site_url>/database.php. Follow the instructions on the page to setup the database for Geeklog 2.
 +
 
 +
==Step Five: Visit check.php==
 +
:Using your browser go to <site_url>/check.php. If all the tests pass then you have properly setup Geeklog 2. If a test fails the script will display an error message indicating what is wrong.
 +
 
 +
==Step Six: Visit index.php==
 +
:Your Geeklog 2 installation should be finished now. Browse to <site_url>/index.php. The first time you visit this page the Geeklog 2 system will run though a system build and will output various messages to your browser. Scroll to the bottom of the output and click the Continue link to be taken to your Geeklog 2 main page.
 +
 
 +
:During the build process you may encounter a "Fatal error: Allowed memory size of X bytes exhausted" error. You will need to increase the amount of memory that is available to PHP in order to finish the build process.

Latest revision as of 19:37, 3 June 2008

Installation Instructions

Step One: Dependencies

To run Geeklog 2 you will need to have the following software installed and running:

Step Two: Checkout Geeklog 2 Code

Use SVN to check out the latest Geeklog 2 code tree. You can either place the code tree in a folder accessable by your web server or, if you are running a *nix system, you can place a system link in a web accessable folder that links to the root of the Geeklog 2 code tree.

Step Three: Configure Geeklog 2

With your favorite editor open <Geeklog_2_Root>/config.php and edit the various settings to work with your computer. The file is well commented so this step should be pretty straight forward. You may need to change the value of $appConf['db_host'] to 'localhost'.

Step Four: Configure The Database

Once you have edited <Geeklog_2_Root>/config.php and saved you can now run the provided database configuration script. Open your browser and go to <site_url>/database.php. Follow the instructions on the page to setup the database for Geeklog 2.

Step Five: Visit check.php

Using your browser go to <site_url>/check.php. If all the tests pass then you have properly setup Geeklog 2. If a test fails the script will display an error message indicating what is wrong.

Step Six: Visit index.php

Your Geeklog 2 installation should be finished now. Browse to <site_url>/index.php. The first time you visit this page the Geeklog 2 system will run though a system build and will output various messages to your browser. Scroll to the bottom of the output and click the Continue link to be taken to your Geeklog 2 main page.
During the build process you may encounter a "Fatal error: Allowed memory size of X bytes exhausted" error. You will need to increase the amount of memory that is available to PHP in order to finish the build process.