For the manual installation you need a textfile and a little help.
This way of installation is only recommendable if you already have a database with the databasetables.
Download the sourcefile from http://www.cmsmadesimple.org/downloads.shtml
OR
check out the latest version from subversion - svn co http://svn.cmsmadesimple.org/cms/trunk
Step 1
* Linux -- Untar the source package to document root dir on your webserver - cd DOCUMENT_ROOT - tar xvfz cms-VERSION.tar.gz
* Windows -- Unzip cms-VERSION.zip into your document root dir on your webserver
Step 2
Create an empty config.php file and make it writable by your webserver's user:
* - touch config.php
* - chmod 666 config.php
Step 3
Create the cms database if you don't have already one and grant a user rights to use it.
copy your existing databasetables into the new database
* Linux- login to mysql: mysql -u root -p create database cms; grant all privileges on cms.* to cms_user@localhost identified by 'cms_pass'; quit
* Windows - login into your databasems and create a database cms; gave all privileges on the database cms to a cms_user@localhost identified by 'cms_pass', save and quiet
Step 4
* Linux - Fix the permissions on the cache and template compilation directories so the web server has access to them
o chmod 777 tmp/templates_c
o chmod 777 tmp/cache
o chmod 777 uploads
o chmod 777 uploads/images
* Windows - Set the permission on the cache and template compilation directorie so the webserver has access to them
o tmp/templates_c
o tmp/cache
o uploads
o uploads/images
Step 5
Paste the configuration into your config.php.
This step is for some andvanced Users who know what they are doing
Code: Select all
$config['dbms'] = 'mysql';databse Character
$config['db_hostname'] = 'localhost';database host normal ist localhost if you want to conect to a database on an diverent
server you could insert here your domain
$config['db_username'] = 'cms_user'; database username
$config['db_password'] = ' cms_pass';database password
$config['db_name'] = 'cms';database name
$config['db_prefix'] = 'cms_';If you use a obscure prefix (instead of cms_), you should have no worries of table overlap.
$config['root_url'] = 'http://subdomain.domain.tld';Your Url to your Websit
$config['root_path'] = '/www/htdocs/documentroot';Your Path to your Dokumentroot of yourWebsite
$config['query_var'] = 'page';If you don't use cleen URL's this will say which site going to load
$config['use_bb_code'] = false;
$config['use_smarty_php_tags'] = false;
$config['previews_path'] = '/www/htdocs/documentroot/tmp/cache';Previewpath
$config['uploads_path'] = '/www/htdocs/documentroot/uploads';Its the path where uploads get stored
$config['uploads_url'] = 'http://subdomain.domain.tld/uploads';Url to your uploadsdirektory
$config['max_upload_size'] = 1000000;Set's the maximuml Uploadsize of files in CMS
$config['debug'] = false;
$config['assume_mod_rewrite'] = true;If you want to use cleen URL **
$config['auto_alias_content'] = true;if you don't want to set an alias for each site you could leave it true
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/';
$config['use_Indite'] = false;
$config['image_uploads_path'] = '/www/htdocs/documentroot/uploads/images';path where images get stored
$config['image_uploads_url'] = 'http://subdomain.domain.tld/uploads/images';Url where images could be found
$config['default_encoding'] = '';default encoding is for peaple who have diverent characters like greek,german,...
$config['disable_htmlarea_translation'] = false;
$config['admin_dir'] = 'admin';Here you could spezify the path to your adminarea
$config['persistent_db_conn'] = true;set's persistent dbbase conection
$config['default_upload_permission'] = '664';Set the permission for uploads
$config['page_extension'] = '.shtml';If you use assume_mod_rewrite
$config['locale'] = 'en_US'; default language
Step 6
Save the config.php and call your site
have fun with CMSMS