Loading...
 
Skip to main content

History: Tiki on ClearOS

Preview of version: 151

Some messy notes to help make a nice clean page at: http://www.clearfoundation.com/docs/howtos/Tiki_Wiki_CMS_Groupware

Install ClearOS

  • Get latest stable version of ClearOS 6.x 64 bits
upgrade to ClearOS 6.6.0 Beta 2
Copy to clipboard
yum --enablerepo=clearos-updates-testing upgrade

New Beta Tiki installer

Later, Tiki will be in ClearCenter marketplace

Limitations:

  • Only one Tiki can be installed per ClearOS instance.
  • There is way to upgrade (yet)
  • Installed version is not always the latest available


For now:
To get Tiki 12.0 (and soon 12.2)

Copy to clipboard
yum install app-tiki


At one point, this gave Tiki 12.2:

Copy to clipboard
yum --enablerepo=clearos-updates-testing 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.

Tiki On ClearOS Capture 20150104001650 6
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.
Tiki On ClearOS Capture 20150104003311 2

Your Tiki will be installed at: /var/clearos/tiki/webroot/live


Notes 2014-05-21

    • .htaccess is not working
    • RewriteBase is giving an error in tiki-check.php if Tiki is not at the root


With ClearOS 6.6: yum install app-tiki
http://www.clearfoundation.com/docs/release_info/clearos_community_6.6.0/beta_1_release_information

Notes 2014-05-26 with latest 6.6 Beta1

  • .htaccess looks OK when Tiki at the root
  • When activating LDAP auth with 12.0: "Fatal error: require_once(): Failed opening required 'Net/LDAP2.php' (include_path='/var/clearos/tiki/webroot/live/vendor/bombayworks/zendframework1/library:/var/clearos/tiki/webroot/live/vendor/bombayworks/zendframework1/extras/library:/var/clearos/tiki/webroot/live/vendor/phpseclib/phpseclib/phpseclib:.:/usr/share/pear:/usr/share/php:/var/clearos/tiki/webroot/live/') in /var/clearos/tiki/webroot/live/lib/auth/ldap.php on line 14 " 12.2 resolves this
  • https://developers.google.com/speed/docs/best-practices/payload?csw=1#GzipCompression should be activated, or an option


Notes 2014-06-08 with latest 6.6 Beta1

  • I installed Tiki at the root domain. All is good with example.org/tiki-index.php, but if I go to example.org, I get the default page: Congratulations... your web server is running!
    • Deleting or renaming index.html in /var/www/html/ will solve this


Notes 2014-11-27 with latest 6.6 Beta2



The instructions below are for a manual install

Manual install

See also general Tiki docs and notes

Configure Web Server

  1. Install PHP web server and MySQL in ClearCenter marketplace
  2. Visit Server -> Web Server and click "Configure Default Site"
  3. 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
  4. 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
  5. The default of the other setting are fine
  6. Start your web server

Delete files created by ClearOS

Delete:

  • /var/www/html/index.html
  • /var/www/html/logo.png

If you don't remove, Tiki won't be visible from the root

Install SVN

http://www.clearfoundation.com/docs/howtos/subversion

Get Tiki code via SVN

go to where you want Tiki to be installed
Copy to clipboard
cd /var/www/html/

Additional sites live at /var/www/virtual/example.org/

Check out Tiki 12.x
Copy to clipboard
svn checkout https://svn.code.sf.net/p/tikiwiki/code/branches/12.x .


For other versions, see: Get code

Composer

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).

Run the setup script, which includes Composer
Copy to clipboard
sh setup.sh

  • 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 -> http://tracker.clearfoundation.com/view.php?id=2049

Dependencies

Visit tiki-check.php to see if any dependencies are missing

If you get warnings from Composer, install them as follows

php-dom
Copy to clipboard
yum install php-dom service httpd restart

This is also needed for BigBlueButton and others

opcache
Copy to clipboard
yum --enablerepo=clearos-epel install php-pecl-zendopcache service httpd restart

mcrypt
Copy to clipboard
yum --enablerepo=clearos-epel install php-mcrypt service httpd restart

Other settings

Compress CSS & JS

https://dev.tiki.org/item5502 (see comment)

Activate Apache KeepAlive
KeepAlive Off - KeepAlive On
Copy to clipboard
nano /etc/httpd/conf/httpd.conf service httpd restart

PHP Settings


These will later be overriden in .htaccess but for now, you can edit /etc/php.ini and restart apache ('service httpd restart')

MySQL settings

You may need to edit /etc/my.cnf to add:

Copy to clipboard
max_allowed_packet = 16M

And restart MySQL

Create database

  1. Server -> Database -> MySQL Server -> Start
  2. 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
Host: localhost
Pick a secure password
And pick "Create database with same name and grant all privileges"

Use this information later in tiki-install.php

Importing data

If you are importing, you can use phpMyAdmin's import from disk feature. Upload your .sql backup file at /var/lib/phpMyAdmin/upload/

Use Tiki installer

Use your browser to visit where the files are and you should see the Tiki installer (tiki-install.php)

Options

Configure LDAP

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

Block access to site

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 (so no need to create an htpasswd file)

History

Advanced
Information Version
Marc Laporte 175
View
Marc Laporte 174
View
Marc Laporte 173
View
Marc Laporte 172
View
Marc Laporte 171
View
Charles Robert 170
View
Charles Robert 169
View
Charles Robert 168
View
Charles Robert 167
View
Marc Laporte Code Plugin modified by editor. 166
View
Marc Laporte 165
View
Marc Laporte yay for 7.1! 164
View
Marc Laporte 163
View
Marc Laporte 162
View
Marc Laporte 161
View
Marc Laporte mcrypt is there on a default install 160
View
Marc Laporte 159
View
Marc Laporte 158
View
Marc Laporte 157
View
Marc Laporte Already installed 156
View
Marc Laporte 6.6.0 is awesome 155
View
Marc Laporte 154
View
Marc Laporte .htaccess issue is finally solved 153
View
Marc Laporte 152
View
Marc Laporte 151
View
  • «
  • 1 (current)
  • 2