How to install Doorgets CMS on Ubuntu-18.04

To install Doorgets CMS on Ubuntu-18.04


Doorgets is the most powerful and popular content management system that allows you to create and publish your content on the website.


Pre-requirements

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

Installation

FOR PHP INSTALLATION

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 Doorgets package using wget command

root@linuxhelp1:~# wget https://sourceforge.net/projects/doorgets-cms/files/latest/download?source=directory --no-check-certificate
--2018-05-23 14:16:00--  https://sourceforge.net/projects/doorgets-cms/files/latest/download?source=directory
Resolving sourceforge.net (sourceforge.net)... 216.105.38.13
Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.sourceforge.net/project/doorgets-cms/doorGets%20CMS%20V7/doorGets_CMS_V7.0.zip?r=&ts=1527065176&use_mirror=excellmedia [following]
.
.
.
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202.153.32.19
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8551150 (8.2M) [application/octet-stream]
Saving to: ‘;download?source=directory’;

download?source=directo 100%[==============================>]   8.15M   136KB/s    in 78s     

2018-05-23 14:17:26 (107 KB/s) - ‘;download?source=directory’; saved [8551150/8551150]

The downloaded package is a zip file, so unzip the package using the following command

root@linuxhelp1:~# unzip download?source=directory -d door
Archive:  download?source=directory
  inflating: door/setup/temp/_fromUser.php  
   creating: door/setup/cache/
  inflating: door/setup/cache/index.php  
   creating: door/setup/cache/template/
  inflating: door/setup/cache/template/admin.tpl.php  
  inflating: door/setup/cache/template/chmod.tpl.php  
  inflating: door/setup/cache/template/database.tpl.php  
.
.
.
  inflating: door/setup/skin/img/doorgets.png  
  inflating: door/setup/skin/img/index.php  
  inflating: door/setup/skin/img/loader.gif  
  inflating: door/setup/skin/index.php  
  inflating: door/setup/temp/index.php  
  inflating: door/index.php          
  inflating: door/setup/data/doorgets.zip  
  inflating: door/setup/data/database.zip  


Move the file to HTML file location

root@linuxhelp1:~# ls
 door  'download?source=directory'
root@linuxhelp1:~# mv door/ /var/www/html/

Switch the directory

root@linuxhelp1:~# cd /var/www/html/
root@linuxhelp1:/var/www/html# ls
door  index.html


Change the ownership and permission of the door directory

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


Create a new virtual host configuration for accessing the Doorgets application

root@linuxhelp1:/var/www/html# cd /etc/apache2/sites-available/
root@linuxhelp1:/etc/apache2/sites-available# vim door.conf
<VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/door/    
<Directory /var/www/door>
AllowOverride All
allow from all
</Directory>
</virtualHost>

Enable the door.conf file

root@linuxhelp1:/etc/apache2/sites-available# a2ensite door.conf 
Enabling site door.
To activate the new configuration, you need to run:
systemctl reload apache2

Enable the rewrite modules

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

Make an entry to the host file as follows 

root@linuxhelp1:/etc/apache2/sites-available#vim /etc/hosts
<give your ip address>    <give your domain name>


Restart your Apache web server

root@linuxhelp1:/etc/apache2/sites-available# systemctl restart apache2


Open a browser and type the following URL of http://local IP (or) domain name

Choose the language and timezone for Doorgets

Accept the license agreement to use the Doorgets

verify the File permission and continue

Configure the Database details


Configure the site information as follows

Configure the Admin user account setup

Click on Generate website option 

You will see the admin page as shown below.

with this, the method to install Doorgets CMS on Ubuntu-18.04 comes to an end.

Tag : Ubuntu
FAQ
Q
How to unzip the package?
A
Use the following command:
# unzip download?source=directory -d door
Q
Can I Switch the directory on Ubuntu?
A
Run the following command:
# cd /var/www/html/
Q
How to Download a Doorgets package?
A
Use the following link:
# wget https://sourceforge.net/projects/doorgets-cms/files/latest/download?source=directory --no-check-certificate
Q
What are the Pre-requirements of Doorgets CMS?
A
Use the requirements:
Install LAMP (Apache, php7.0, mariadb-server)
In MariaDB (create database, user and give privileges to the user)
Q
What is Doorgets CMS on Ubuntu?
A
Doorgets is the most powerful and popular content management system that allows you to create and publish your content on the website.