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.

Prerequisites


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 https://www.geeklog.net/downloads/visit.php/file_5b0c7089434be
--2018-05-31 11:52:33--  https://www.geeklog.net/downloads/visit.php/file_5b0c7089434be
Resolving www.geeklog.net (www.geeklog.net)... 216.92.57.85
Connecting to www.geeklog.net (www.geeklog.net)|216.92.57.85|: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
db-config.php
emailgeeklogstories
INSTALL
readme
backups
backups/README
data
.
.
system/vendor/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php
system/vendor/swiftmailer/swiftmailer/lib/swift_init.php
system/vendor/swiftmailer/swiftmailer/lib/swift_required.php
system/vendor/swiftmailer/swiftmailer/lib/swift_required_pear.php
system/vendor/swiftmailer/swiftmailer/LICENSE
system/vendor/swiftmailer/swiftmailer/phpunit.xml.dist
system/vendor/swiftmailer/swiftmailer/README
system/vendor/swiftmailer/swiftmailer/VERSION

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>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/geeklog/public_html/
<Directory /var/www/geeklog/public_html/>
AllowOverride All
allow from all
</Directory>
</VirtualHost>

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 www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Ubuntu
user image Author :  Shane michel