Installing CMS Made Simple

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


Comments

2 responses to “Installing CMS Made Simple”

  1. 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. Thanks for the tip

Leave a Reply

Your email address will not be published. Required fields are marked *