RSS

Installing CMS Made Simple

Mon, Apr 3, 2006

PHP

Grab the code

Option 1 - Subversion

[code]
cd ~bealers/www
svn co http://svn.cmsmadesimple.org/svn/cmsmadesimple/trunk cmsmadesimple
[/code]

This checks out the entire project including a lot of modules into a folder called cmsmadesimple which may not be what you want, but it’s what I’ve done.

Option 2 - Tarball

Instead you could grab the tarball and extract to the same place and rename the folder to be cmsmadesimple.

[code]cd ~bealers/www
tar -zxvf ../build/src/cmsmadesimple-0.12.1.tar.gz
ln -s cmsmadesimple-0.12.1/ cmsmadesimple[/code]

Configure webserver and local DNS

Edit /etc/hosts and c:/windows/system32/drivers/etc/hosts
[code]10.0.0.200 cmsmadesimple.dev[/code]
[code]

ServerAdmin webmaster@host.some_domain.com
DocumentRoot /home/bealers/www/cmsmadesimple
ServerName cmsmadesimple.dev
ErrorLog /var/log/apache/cmsmadesimple.dev-error.log
CustomLog /var/log/apache/cmsmadesimple.dev-access.log common
[/code]

Now RTFM:
http://wiki.cmsmadesimple.org/en:installation:quickinstall

If using svn then create some folders:
[code]mkdir -p tmp/templates_c tmp/cache uploads[/code]

Create config file and change permissions on key files/folders (so the webserver can write to them)

[code]
cd cmsmadesimple
chmod -R 0777 tmp/templates_c tmp/cache uploads modules
touch config.php && chmod 0666 config.php
[/code]

Create database

[code]mysql> create database cmsmadesimple;
Query OK, 1 row affected (0.03 sec)
[/code]

Go to the install page in my browser:
http://cmsmadesimple.dev/install/install.php

Everything should be “Success!”

Follow the steps onscreen, and when finished visit http://cmsmadesimple.dev/admin, making sure to ‘INSTALL’ the module menu manager.

Related:
Building a PHP Development server from scratch
CMS Made simple website

,

This post was written by:

Bealers - who has written 350 posts on Darren Beale.


Contact the author

2 Comments For This Post

  1. Ted Kulp Says:

    Glad to see you like the program.

    One little note for clarity. If you download the subversion release, there is a script called autogen.sh (run: ./autogen.sh) that will create the tmp and upload directories for you. It will also chmod them properly… well, not quite properly. More like 777 all around. But it does work. :)

  2. Bealers Says:

    Thanks for the tip

Leave a Reply