Installing CMS Made Simple
Posted in Development, php on April 2, 2006
Grab the code
Option 1 - Subversion
cd ~bealers/www svn co http://svn.cmsmadesimple.org/svn/cmsmadesimple/trunk cmsmadesimple
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.
cd ~bealers/www tar -zxvf ../build/src/cmsmadesimple-0.12.1.tar.gz ln -s cmsmadesimple-0.12.1/ cmsmadesimple
Configure webserver and local DNS
Edit /etc/hosts and c:/windows/system32/drivers/etc/hosts
10.0.0.200 cmsmadesimple.dev
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
Now RTFM: http://wiki.cmsmadesimple.org/en:installation:quickinstall
If using svn then create some folders:
mkdir -p tmp/templates_c tmp/cache uploads
Create config file and change permissions on key files/folders (so the webserver can write to them)
cd cmsmadesimple chmod -R 0777 tmp/templates_c tmp/cache uploads modules touch config.php && chmod 0666 config.php
Create database
mysql> create database cmsmadesimple; Query OK, 1 row affected (0.03 sec)
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