Loading...
 

How to install Tiki with TRIM

Instead of using TRIM, you may want to install manually: How to install Tiki Wiki CMS Groupware on ClearOS


TRIM is the Tiki Remote Instance Manager. It permits to handle many tasks (install, update, backup, check security, etc.) with minimum effort. While TRIM is designed to manage Tikis remotely, it can also manage on the same server. Full documentation is available at https://doc.tiki.org/TRIM

This document will guide you to do some of the main operations in the context of WikiSuite (and thus, TRIM on ClearOS). So instead of installing Tiki directly, you install TRIM and use it to install one or many Tiki instances. You'll likely also be interested in TRIM and Syncthing for automated offsite backups

Assumptions

This document assumes you know basic Command Line Interface (CLI)

Setup TRIM

Requirements

TRIM requires PHP 5 and the make command. Here is a tool to check server has all the dependencies: https://doc.tiki.org/Server-Check

On ClearOS, you should do the following:

Installation

Create directory
mkdir /var/local/trim

Move to this new directory
cd /var/local/trim

Install TRIM in current directory
svn co https://svn.code.sf.net/p/tikiwiki/code/trim .

Set up websites on ClearOS

It is important that your Tiki site not be the default website because TRIM's defaults are to use virtual domains. The first website is in /var/www/html and the following ones has this pattern: /var/www/virtual/example.org/html/

make instance


To create an instance, you need to type: make instance

pick local

you'll need the MariaDB root password

Updating or upgrading

https://doc.tiki.org/TRIM#make_update
https://doc.tiki.org/TRIM#make_upgrade