How to Install Tiki Wiki CMS Groupware on CentOS 7

Tiki Wiki CMS is also known as Tiki, a completely free wiki management system that has open source code. This manual offers you a quick installation of this CMS for the CentOS 7 operating system

Install Apache, MySQL, PHP

Tiki runs on top of the LAMP stack. Before installing this cms, you need to install Apache, MySQL, PHP. Install Apache Web Server

sudo yum install httpd -y
sudo systemctl enable httpd.service
sudo systemctl start httpd.service

Open ports 80 and 443 through the firewall in order to access the server from the Internet

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

Add MySQL repository and install MySQL

sudo wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm
sudo yum install mysql-server -y

Complete MySQL installation

sudo systemctl enable mysqld.service
sudo systemctl start mysqld.service
sudo mysql_secure_installation

Next, the current password will be requested, during installation you will be asked to enter your root password.

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

Add the Remi repository and install PHP 7.2 and all the necessary PHP modules that are also necessary for Tiki CMS

sudo rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum -y install yum-utils
sudo yum-config-manager --enable remi-php72
sudo 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 MySQL Database for Tiki

Tiki requires a MySQL database. Log in to the MySQL console

sudo mysql -u root -p

Next, you will be prompted to enter a password, then you must enter the root password for MySQL that you installed earlier (this was written in the previous step). After you have successfully logged in, create a MySQL database for Tiki

mysql>CREATE DATABASE tiki;

Create a new MySQL user and give him privileges (you can replace username and password) with the data of your choice

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

Log in to the MySQL console

mysql>exit

Download and install Tiki

Download the latest version of Tiki

sudo cd /var/www/html
sudo wget https://sourceforge.net/projects/tikiwiki/files/latest/download

Unzip the downloaded archive and move all the files to the root of the Apache web server

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

Set appropriate permissions for files

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

Configure Apache for Tiki

Create Apache Virtual Host Configuration File

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

Add the following fragment to the file. You must replace example.com with your domain name

<VirtualHost *:80>
     DocumentRoot /var/www/html/
     ServerName example.com
     <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 Apache web server

sudo systemctl restart httpd.service

Was this article helpful?

Related Articles

5 Comments

  1. Greetings! Very useful advice within this post!
    Thanks for sharing!

  2. Jamison

    Hi, i feel that i saw you visited my weblog so i ggot here to return the desire?.I’m attempting to to find issues
    to improve my website!I assume its ok to use a few of your ideas!!

  3. Mountainside

    Your site has definitely furnished me with only the
    facts that I actually required. We have recently
    been doing exploration about this subject matter for a
    little bit, and it seems to have taken a long while to discover a weblog that
    delivers all the facts that I require.

  4. history of advertising ppt

    Hi! Would you mind if I share your blog with my twitter group?
    There’s a lot of people that I think would really
    appreciate your content. Please let me know. Cheers

    1. Alexis

      Thanks a lot for sharing! Appreciated