Install Tiki Wiki CMS Groupware on CentOS 7

Using a Different System?

  • Install Tiki Wiki CMS Groupware on Ubuntu 18.04 LTS

Are we missing a guide for your target system? Request one, or submit your own!


Tiki Wiki CMS Groupware, also known as Tiki, is a free and open source wiki content management system. Tiki’s features include wiki pages, blogs, forums, and file and image galleries.

This tutorial assumes that you have already setup a Vultr Cloud Compute instance with CentOS 7 and have root access.

Install Apache, MySQL, and PHP

Tiki runs on top of the LAMP stack. Before installing Tiki, you will need to install Apache, MySQL, and PHP.

Install the Apache webserver.

sudo yum install httpd -ysudo systemctl enable httpd.servicesudo systemctl start httpd.service

Open ports 80 (HTTP) and 443 (HTTPS) through the firewall to be able to access the server from the internet.

sudo firewall-cmd --permanent --zone=public --add-service=http sudo firewall-cmd --permanent --zone=public --add-service=httpssudo firewall-cmd --reload

Add the MySQL repository and install MySQL.

sudo wget rpm -ivh mysql-community-release-el7-5.noarch.rpmsudo yum install mysql-server -y

Complete the MySQL installation.

sudo systemctl enable mysqld.servicesudo systemctl start mysqld.servicesudo mysql_secure_installation

When asked for the current password, press enter. During the installation, you will be asked to enter a root password. Enter a safe password. This will be the MySQL root password.

Set root password? [Y/n] Y    New password: <Your Password>Re-enter new password: <Your Password>Remove anonymous users? [Y/N] YDisallow root login remotely? [Y/N] YRemove test database and access to it? [Y/N] YReload privilege tables now? [Y/N] Y

Add the Remi repository and install PHP 7.2 and the PHP modules required by Tiki.

sudo rpm -Uvh yum -y install yum-utilssudo yum-config-manager --enable remi-php72sudo yum install php-curl php libapache2-mod-php php-common php-sqlite3 php-intl php-mbstring php-xmlrpc php-mysql php-gd php-xml php-cli php-zip -y

Create a MySQL database for Tiki

Tiki requires a MySQL database. Login to the MySQL console.

sudo mysql -u root -p

When prompted for a password, enter the MySQL root password you set in Step 1. Once you are logged in, create a new database for Tiki.


Create a new MySQL user and grant it privileges to the newly created database. You can replace username and password with the username and password of your choice.

mysql>GRANT ALL PRIVILEGES ON tiki.* TO 'username'@'localhost' IDENTIFIED BY 'password';mysql>FLUSH PRIVILEGES;

Exit the MySQL console.


Download & Install Tiki

Download the latest version of Tiki.

sudo cd /var/www/htmlsudo wget

Unzip the downloaded archive and move the files to the root of the Apache webserver.

sudo yum install unzip -ysudo unzip downloadsudo mv ./tiki-19.1/* . && rm -rf download && rm -rf tiki-19.1

Set the appropriate file permissions.

sudo chown -R apache:apache /var/www/html/sudo chmod -R 755 /var/www/html/

Configure Apache for Tiki

Create an Apache virtual hosts configuration file.

sudo vi /etc/httpd/conf.d/vhost.conf

Add the following snippet to the file, replacing with your own domain name.

<VirtualHost *:80>     DocumentRoot /var/www/html/     ServerName     <Directory /var/www/html/>          Options FollowSymlinks          AllowOverride All          Require all granted     </Directory>     ErrorLog /var/log/httpd/error.log     CustomLog /var/log/httpd/access.log combined</VirtualHost>

Restart the Apache server.

 sudo systemctl restart httpd.service

Complete the Tiki Installation

Open a browser window on your computer and navigate to your domain name. You will see the Tiki web-based installer. Proceed through the installer and enter the MySQL database details that you created earlier when prompted.

Want to contribute?

You could earn up to $300 by adding new articles

Submit your article
Suggest an update
Request an article

No comments

Powered by Blogger.