How to install koken CMS V0.22.24 on Linux mint -18.3

To install Koken CMS V0.22.24 on Linux Mint 18.3

Koken is a free and open source content management system.it’ s written in php and uses a MySQL database. Koken is a free website publishing system developed for photographers, designers, and creative DIYs. It is so simple to install Koken CMS on Linux Mint 18.3 and this tutorial covers the ground on the same process.


Pre-requirements

Install LAMP (Apache, php7.0, mariadb-server)
In MariaDB (create database, user and give privileges to the user)


For PHP installation

apt-get install php7.0 libapache2-mod-php7.0 php7.0-common php7.0-sqlite php7.0-curl php7.0-intl php7.0-mbstring php7.0-xmlrpc php7.0-mysql php7.0-gd 
php7.0-xml php7.0-cli php7.0-zip

Installation

Download the koken cms package using wget command as follows.

linuxhelp ~ # wget https://s3.amazonaws.com/koken-installer/releases/Koken_Installer.zip
--2018-05-10 15:48:30--  https://s3.amazonaws.com/koken-installer/releases/Koken_Installer.zip
Resolving s3.amazonaws.com (s3.amazonaws.com)... 52.216.80.59
Connecting to s3.amazonaws.com (s3.amazonaws.com)|52.216.80.59|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11881 (12K) [application/zip]
Saving to: ‘ Koken_Installer.zip’ 

Koken_Installer.zip       100%[=====================================> ]  11.60K  44.0KB/s    in 0.3s    

2018-05-10 15:48:31 (44.0 KB/s) - ‘ Koken_Installer.zip’  saved [11881/11881]

Extract the download directory.

linuxhelp ~ # unzip Koken_Installer.zip
Archive:  Koken_Installer.zip
  inflating: koken/index.php 

Move the koken directory into the /var/www/html directory.

linuxhelp ~ # ls
koken  Koken_Installer.zip
linuxhelp ~ # mv koken/ /var/www/html/

Go to /var/www/html directory.

linuxhelp ~ # cd /var/www/html/
linuxhelp html # ls
index.html  koken

Change ownership and permission for the koken directory as follows.

linuxhelp html # chown -R www-data:www-data koken/
linuxhelp html # chmod -R 775 koken/

Configure a virtual host for koken cms. Create an empty file named koken.conf.

linuxhelp html # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim kokan.conf 
< virtualhost *:80> 
servername  www.linuxhelp1.com
Documentroot  /var/www/html/kokan/
< Directory /var/www/html/kokan/> 
AllowOverride
order allow,deny
allow from all
< /Directory> 
< /virtualhost> 
Errorlog  /var/log/linuxhelp_error
Customlog /var/log/linuxhelp_access common

Now, enable the koken.conf file.

linuxhelp sites-available # a2ensite kokan.conf 

Enabling site koken 
To activate the new configuration, you need to run

service apache2 reload

After that, we have to make an entry to the hosts file as follows.

linuxhelp sites-available # vim /etc/hosts
< give your ip >      < give your domain name> 

Restart apache web server.

linuxhelp sites-available # systemctl restart apache2.service

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://< ipaddress or domain name.

Now click on begin installation to start the installation procedure.

At next step, you need to configure the admin user setup as follows.

And then configure the database connection setup as follows.

Configure the time zone of your region .

Signup with your email to keep in touch with Koken.

After configuring all the setup click on install now to start the installation.


After the successful installation, you will see the following screen.

Now login to the Koken CMS using the login credentials you created during setup .

After the successful login, you will see the admin page of Koken CMS.

With this, the method to install Koken CMS on Linux Mint 18.3 comes to an end.

FAQ
Q
Apache Virtual host shows blank page over Internet, works fine locally???
A
Give correct Documentroot and run the following command properly, # a2enmod < `source file >
Q
How is Managed Koken different than traditional hosting?
A
On a shared server, you rely on the performance of the platform provided which often provides outdated and insecure versions of PHP and MySQL or are missing a Koken server requirement. Unlik
Q
How much does it cost?
A
We're currently offering a preview of Managed Koken and at a discounted price. Current pricing is available at the Koken Store. Billing is monthly and there no obligation.
Q
Can I import my existing Koken site?
A
Yes! And during our special preview offer Koken will provide complimentary migration support to assist with importing an existing Koken installation.
Q
Can I use my own domain?
A
Yes, after signing up you'll receive instructions on how to connect your domain to Koken. These steps cover adding an A-record at your domain's DNS provider.