How to install Geeklog 2.2.0 on Ubuntu 18.04

How to install Geeklog 2.2.0 on Ubuntu 18.04

Geeklog is an open source tool which is used for creating and managing dynamic web content. It can be used either as Weblog, CMS or Web Portal and it is written using PHP. It supports things such as forums, image galleries, comments, etc. as it has the necessary plug-ins.


To install LAMP(Apache, MariaDB, php7)
In MariaDB (create database and user and give privileges to that user )

Php installation with required following modules

add-apt-repository ppa:ondrej/php 
apt-get update 
apt-get install php7.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc 
php7.0-gd php7.0-mbstring php7.0  php7.0-common  php7.0-xmlrpc php7.0-soap  php7.0-xml php7.0-intl  php7.0-cli  php7.0-ldap 
php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl

Download a Geeklog  package using wget command

root@linuxhelp1:~# wget
--2018-05-31 11:52:33--
Resolving (
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15949944 (15M) [application/octet-stream]
Saving to: ‘file_5b0c7089434be’
file_5b0c7089434be      100%[==============================>]  15.21M   549KB/s    in 3m 26s  
2018-05-31 11:56:00 (75.6 KB/s) - ‘file_5b0c7089434be’ saved [15949944/15949944]

Create a new direcrory as shown below

root@linuxhelp1:~# mkdir geeklog

Extract the package as follow

root@linuxhelp1:~# tar -zxvf file_5b0c7089434be -C geeklog

Move the extracted file into the HTML directory

root@linuxhelp1:~# mv geeklog /var/www/

Navigate to the apache document root directory

root@linuxhelp1:~# cd /var/www/

Change ownership and permission of the as Geeklog CMS follows

root@linuxhelp1:/var/www# chown -R www-data.www-data geeklog
root@linuxhelp1:/var/www# chmod -R 775 geeklog

Create a new virtual host configuration for accessing the Geeklog CMS

root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/geeklog.conf
<VirtualHost *:80>
DocumentRoot /var/www/geeklog/public_html/
<Directory /var/www/geeklog/public_html/>
AllowOverride All
allow from all

Enable site access

root@linuxhelp1:/var/www# a2ensite geeklog.conf
Enabling site geeklog.
To activate the new configuration, you need to run:
  systemctl reload apache2

Disable default access

root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Enable  rewrite module

root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Restart the apache service to make the changes effect 

root@linuxhelp1:/var/www# systemctl restart apache2

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

Choose the language for using Geeklog CMS as shown below
Snap 2

Configure the Site information, Database setup and Admin user as follow
Snap 3

After the configuration, you will see the following page as shown below
Snap 4

You can log in using the admin user credentials
Snap 5

After the Successful login, you will see the Admin dashboard of Geeklog as shown below
Snap 6

You will see the version of Geeklog
Snap 7

With this, the method to install Geeklog 2.2.0 on Ubuntu 18.04 comes to an end.

Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Ubuntu
user image Author :  Shane michel