Install TomatoCMS manually

From TomatoCMS Documentation

Jump to: navigation, search

Beside install wizard, you can install by manual as easy as install wizard.

Contents

Step 1:Check file permission

Ensure that following files and folders are writable:

  • tomatocms/application/config/application.ini
  • tomatocms/application/config/layout.ini
  • tomatocms/application/templates
  • tomatocms/temp
  • tomatocms/upload

Step 2: Create database

Create database with UTF-8 encoding

Step 3: Import sample data

If you use

  • mysql: Import from tomatocms/install/tomatocms_sample_db_mysql.sql
  • sqlserver: Import from tomatocms/install/tomatocms_sample_db_sqlsrv.sql
  • postgre: Import from tomatocms/install/tomatocms_sample_db_postgre.sql

Step 4: Configure manually

Config our TomatoCMS website
Open tomatocms/application/config/application.ini and make some modifications as follow:

[production]
...
resources.frontController.baseUrl = "/tomatocms/index.php"
 
[db]
adapter = "..."
prefix = ""
slave.server2.host = "..."
slave.server2.port = "..."
slave.server2.dbname = "..."
slave.server2.username = "..."
slave.server2.password = "..."
slave.server2.charset = "utf8"
master.server1.host = "..."
master.server1.port = "..."
master.server1.dbname = "..."
master.server1.username = "..."
master.server1.password = "..."
master.server1.charset = "utf8"
 
[web]
...
url = "http://localhost/tomatocms/index.php" 
...
static_server = "http://localhost/tomatocms"
 
[install]
date = "2010-04-15 15:00:00"
version = "2.0.x"

Please fill ... with your database settings.
The [install] section is used to indicated that TomatoCMS is already installed.

Note that, after installing, when go to administrator page (http://localhost/tomatocms/index.php/admin/), you have to use admin for both username and password, then should change your password.

Personal tools