How to Install Subrion CMS 4.1.5 on Ubuntu 18.10
Installation of Subrion CMS 4.1.5 On Ubuntu 18.10
Subrion CMS is a free open source CMS developed using PHP as a programming language and a MySQl database. You can use WYSIWYG editors to publish content on your website.You can control every page,menu or block of your website directly in Admin Dashboard.They follow SEO Concepts to make our system as SEO-friendly as possible.With one-click you can upgrade to the latest version. This video covers the tutorial on Subrion CMS 4.2.1 Installation On Ubuntu 18.10
Requirements:
Apache 2.4.34
MariaDB 10.1.29
PHP 7.2
Ubuntu 18.10
PHP modules:
Php php-gd php-pdo php-mysql php-simplexml php-mbstring php-mcrypt php-zip
Download Link https://tools.subrion.org/get/latest.zip
Installation procedure Of Subrion CMS
Configure the Mariadb database for subrion CMS
root@linuxhelp:~# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 54
Server version: 10.1.29-MariaDB-6ubuntu2 Ubuntu 18.10
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database subrion character set utf8mb4;
Query OK, 1 row affected (0.15 sec)
MariaDB [(none)]> use subrion;
Database changed
MariaDB [subrion]> create user user@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.06 sec)
MariaDB [subrion]> grant all on subrion.* to user@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [subrion]> flush privileges;
Query OK, 0 rows affected (0.04 sec)
MariaDB [subrion]> exit
Bye
Change the directory to Apache’s Document root Directory
root@linuxhelp:~# cd /var/www
Create a directory for Subrion
root@linuxhelp:/var/www# mkdir subrion
change the directory to subrion to download the subrion CMS
root@linuxhelp:/var/www# cd subrion
Download the Subrion CMS from the website using wget command
root@linuxhelp:/var/www/subrion# wget https://tools.subrion.org/get/latest.zip
--2019-04-12 21:35:55-- https://tools.subrion.org/get/latest.zip
Resolving tools.subrion.org (tools.subrion.org)... 148.251.129.172
Connecting to tools.subrion.org (tools.subrion.org)|148.251.129.172|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11694952 (11M) [application/zip]
Saving to: ‘latest.zip’
latest.zip 100%[==============================================>] 11.15M 827KB/s in 15s
2019-04-12 21:36:10 (769 KB/s) - ‘latest.zip’ saved [11694952/11694952]
List the folder to chech the downloaded zip file of subrion CMS
root@linuxhelp:/var/www/subrion# ll
total 11432
drwxr-xr-x 2 root root 4096 Apr 12 21:35 ./
drwxr-xr-x 4 root root 4096 Apr 12 21:35 ../
-rw-r--r-- 1 root root 11694952 Apr 12 21:36 latest.zip
Extract the zip file of Subrion CMS using unzip
root@linuxhelp:/var/www/subrion# unzip latest.zip
Archive: latest.zip
creating: admin/
inflating: admin/actions.php
inflating: admin/adminer.php
inflating: admin/blocks.php
inflating: admin/configuration.php
inflating: admin/currencies.php
inflating: admin/database.php
inflating: admin/email-templates.php
.
.
.
.
.
inflating: composer.json
inflating: CONTRIBUTING.md
inflating: favicon.ico
inflating: index.php
inflating: license.txt
inflating: README.md
inflating: robots.txt
List the contents to view the extracted files and folders
root@linuxhelp:/var/www/subrion# ll
total 11604
drwxr-xr-x 13 root root 4096 Apr 12 21:36 ./
drwxr-xr-x 4 root root 4096 Apr 12 21:35 ../
drwxr-xr-x 3 root root 4096 Jun 14 2018 admin/
drwxr-xr-x 2 root root 4096 Jun 14 2018 backup/
-rw-r--r-- 1 root root 49250 Jun 14 2018 changelog.txt
-rw-r--r-- 1 root root 694 Jun 14 2018 composer.json
-rw-r--r-- 1 root root 4074 Jun 14 2018 CONTRIBUTING.md
-rw-r--r-- 1 root root 1150 Jun 14 2018 favicon.ico
drwxr-xr-x 2 root root 4096 Jun 14 2018 front/
-rw-r--r-- 1 root root 247 Jun 14 2018 .gitignore
-rw-r--r-- 1 root root 2318 Jun 14 2018 .htaccess
drwxr-xr-x 17 root root 4096 Jun 14 2018 includes/
-rw-r--r-- 1 root root 4099 Jun 14 2018 index.php
drwxr-xr-x 6 root root 4096 Jun 14 2018 install/
drwxr-xr-x 13 root root 4096 Jun 14 2018 js/
-rw-r--r-- 1 root root 11694952 Apr 12 21:36 latest.zip
-rw-r--r-- 1 root root 35147 Jun 14 2018 license.txt
drwxr-xr-x 5 root root 4096 Jun 14 2018 modules/
-rw-r--r-- 1 root root 4794 Jun 14 2018 README.md
-rw-r--r-- 1 root root 142 Jun 14 2018 robots.txt
drwxr-xr-x 4 root root 4096 Jun 14 2018 templates/
drwxr-xr-x 2 root root 4096 Jun 14 2018 tmp/
drwxr-xr-x 2 root root 4096 Jun 14 2018 updates/
drwxr-xr-x 2 root root 4096 Jun 14 2018 uploads/
Assign the ownership permissions to subrion directory
root@linuxhelp:/var/www/subrion# chown www-data. -R ./
Assign the writable permissions to subrion directory
root@linuxhelp:/var/www/subrion# chmod -R 775 ./
Assign full permissions to tmp directory
root@linuxhelp:/var/www/subrion# chmod 777 tmp/
Create a customised Configuration file for Subrion CMS
root@linuxhelp:/var/www/subrion# vim /etc/apache2/sites-available/subrion.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/subrion/
<directory /var/www/subrion/>
allowoverride all
allow from all
</directory>
</virtualhost>
Disable the default sites
root@linuxhelp:/var/www/subrion# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the subrion CMS site
root@linuxhelp:/var/www/subrion# a2ensite subrion.conf
Enabling site subrion.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the rewrite module
root@linuxhelp:/var/www/subrion# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Restart the service Of Apache
root@linuxhelp:/var/www/subrion# systemctl restart apache2
Enter the servrename that you have set in the customised Configuration file of Subrion CMS
Click Next after checking the pre-Installation Wizard
Click Next after agreeing the Subrion License
Enter the database details and enroll the admin credentials In the Configuration Page of Subrion CMS 4.1.5 and click Install
Click Admin Panel to enter tinto the login page Of Subrion CMS
Enter the login credentials that we have created during the installation procedure of Subrion CMS
Admins Dashboard opens after logging in to the subrion CMS to manage and view the statistics of blog
Therefore the Installation procedure OF Subrion CMS 4.1.5 on Ubuntu 18.10 comes to end.
It is an HTML editor In Subrion CMS 4.1.5