Installation InstructionsG2

From GeeklogWiki
Jump to: navigation, search

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.