It is simpler than below because default settings in ClearOS have been improved.
Table of contents
- Install ClearOS
- New Beta Tiki installer
- Manual install
- Configure Web Server
- Delete files created by ClearOS
- Install SVN
- Get Tiki code via SVN
- Other settings
- Create database
- Importing data
- Use Tiki installer
- Related links
Some messy notes to help make a nice clean page at: http://www.clearfoundation.com/docs/howtos/Tiki_Wiki_CMS_Groupware
- Get latest stable version of ClearOS 6.x or 7.x 64 bits
- Only one Tiki can be installed per ClearOS instance.
- Installed version is not always the latest available
- There is no way to upgrade (yet)
- So for now, to upgrade, you'll need to overwrite the files, and use Tiki's installer to do any database upgrades.
To get Tiki 12.2 (and soon 12.3)
yum install app-tiki
You need to make sure HTTP and HTTPS ports are open in https://example.org:81/app/incoming_firewall
Go to Server -> Messaging and Collaboration -> Tiki Wiki CMS Groupware in the menu to complete the setup.
It's best to use the main domain or a subdomain, as if you use a subdirectory (ex.: example.org/tiki), you need to update your .htaccess for the RewriteBase setting.
Your Tiki will be installed at: /var/clearos/tiki/webroot/live
The instructions below are for a manual install
See also general Tiki docs and notes
You'll want this if you want to install from source (SVN) or if you want more than one Tiki instance on a ClearOS server.
- Install PHP web server and MySQL (MariaDB replaces MySQL in ClearOS 7) in ClearCenter marketplace
- Todo: If firewall is activated, add a note to the user about adding HTTP & HTTPS traffic at app/incoming_firewall -> http://tracker.clearfoundation.com/view.php?id=1833 (for now, admins need to think to remember to configure)
- Visit Server -> Web Server and click "Configure Default Site" (or "add" if it's not the first one)
- Pick domain name for your sites
- If you expect to have more than one Tiki, you may want to use a subdomain like wiki.example.org But normally, you can do it all in one Tiki using Workspaces
- It is imperative to set Follow Symbolic Links to Enabled Ref: http://tracker.clearfoundation.com/view.php?id=2049
- The default of the other setting are fine
- Pick domain name for your sites
- Start your web server
yum install php-intl service httpd restart
If you don't remove, Tiki won't be visible from the root
Additional sites live at /var/www/virtual/example.org/
svn checkout https://svn.code.sf.net/p/tikiwiki/code/branches/12.x .
For other versions, see: Get code
When you visit your domain name (where Tiki is installed), you will get "Your Tiki is not completely installed because Composer" (if Tiki 11.x and up. So just follow instructions).
- You can accept all the defaults.
- You can ignore warnings "Ambiguous class resolution"
Tiki automatically adds an alias from _htaccess to .htaccess but ClearOS needs to be told to accept .htaccess (which is the default setting)
If you get warnings from Composer, install them as follows
Visit tiki-check.php to see if any dependencies are missing
- Check all PageSpeed and ySlow
https://dev.tiki.org/item5502 (see comment)
nano /etc/httpd/conf/httpd.conf service httpd restart
- display_errors = On
- upload_max_filesize = 12M
- post_max_size = 12M
- memory_limit = 168M
- date.timezone = http://tracker.clearfoundation.com/view.php?id=1684
- default_charset = @Peter: shouldn't this be set to UTF-8?
These will later be overriden in .htaccess but for now, you can edit /etc/php.ini and restart apache ('service httpd restart')
Note. Please also see: /etc/httpd/conf.d/php.conf
You may need to edit
max_allowed_packet = 16M
And restart MySQL
- Server -> Database -> MySQL Server -> Start
- Set MySQL root password
Go to phpMyAdmin via ClearOS. (https://xxx.xxx.xx.xx:81/mysql/)
Click Users on top menu
Click Add user
Add a new user. Ex.: tiki
Pick a secure password
And pick "Create database with same name and grant all privileges"
Use this information later in tiki-install.php
If you are importing, you can use phpMyAdmin's import from disk feature. Upload your .sql backup file at /var/lib/phpMyAdmin/upload/
Use your browser to visit where the files are and you should see the Tiki installer (tiki-install.php)
todo: document ClearOS-specific instructions
This is optional. You can let Tiki do self-registration or have an admin manage users manually.
To configure with LDAP, see the Tiki section on: Tiki Suite LDAP
Normally, you can just use Tiki's authentication to protect a sites's data. But if you want to add an additional layer, you can use ClearOS's protection: https://example.org:81 -> Server -> Web Server -> Settings -> Require Authentication ( you need to create group & user separately) (so no need to create an htpasswd file)