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
Leave a Reply