How to install Bludit 1.5.2 on Ubuntu 17.04
To install Bludit 1.5.2 on Ubuntu 17.04
Bludit is an open source and extensible file-based CMS application that stores post and pages by using the flat files. It allows the users to built a fully functional site or blog in an easy way. This article explains the installation of Bludit CMS tool in Ubuntu 17.04
Prerequisites
Bludit requires a web server to functionally based on LAMP setup on your system and also with following required PHP modules.
apt-get install php-mysql php-curl php-json php-cgi php libapache2-mod-php php-mcrypt php-xmlrpc php-gd php-mbstring php php-common php-xmlrpc php-soap php-xml php-intl php-cli php-ldap php-zip php-readline php-imap
Installing Bludit
Let' s first start with Updating the system repository with the following command.
root@linuxhelp1:~# apt-get update
Hit:1 http://old-releases.ubuntu.com/ubuntu zesty InRelease
Hit:2 http://old-releases.ubuntu.com/ubuntu zesty-updates InRelease
Hit:3 http://old-releases.ubuntu.com/ubuntu zesty-backports InRelease
Hit:4 http://old-releases.ubuntu.com/ubuntu zesty-security InRelease
Reading package lists... Done
And then we have to create a Database and configure as follows.
root@linuxhelp1:~# mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with or g. Your MariaDB connection id is 10 Server version: 10.1.25-MariaDB- Ubuntu 17.04 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 bludit Query OK, 1 row affected (0.00 sec) MariaDB [(none)]> GRANT ALL PRIVILEGES ON typo3.* TO ' bludituser' @' localhost' IDENTIFIED BY ' 123' Query OK, 0 rows affected (0.03 sec) MariaDB [(none)]> FLUSH PRIVILEGES Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> EXIT Bye
Next, switch to the /tmp/ directory.
root@linuxhelp1:~# cd /tmp/
And download the package from the terminal using the following command.
root@linuxhelp1:/tmp# wget https://s3.amazonaws.com/bludit-s3/bludit-builds/bludit-1-5-2.zip
--2018-03-26 10:19:47-- https://s3.amazonaws.com/bludit-s3/bludit-builds/bludit-1-5-2.zip
Resolving s3.amazonaws.com (s3.amazonaws.com)... 52.216.0.251
Connecting to s3.amazonaws.com (s3.amazonaws.com)|52.216.0.251|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 937609 (916K) [application/zip]
Saving to: ‘ bludit-1-5-2.zip’
bludit-1-5-2.zip 100%[==============================> ] 915.63K 404KB/s in 2.3s
2018-03-26 10:19:50 (404 KB/s) - ‘ bludit-1-5-2.zip’ saved [937609/937609]
Now Unzip the package using the following command.
root@linuxhelp1:/tmp# unzip bludit-1-5-2.zip
Archive: bludit-1-5-2.zip
creating: bludit/
inflating: bludit/.htaccess
creating: bludit/bl-content/
creating: bludit/bl-kernel/
creating: bludit/bl-kernel/abstract/
inflating: bludit/bl-kernel/abstract/content.class.php
inflating: bludit/bl-kernel/abstract/dbjson.class.php
inflating: bludit/bl-kernel/abstract/plugin.class.php
creating: bludit/bl-kernel/admin/
.
.
inflating: bludit/bl-themes/log/metadata.json
creating: bludit/bl-themes/log/php/
inflating: bludit/bl-themes/log/php/head.php
inflating: bludit/bl-themes/log/php/home.php
inflating: bludit/bl-themes/log/php/page.php
inflating: bludit/bl-themes/log/php/post.php
inflating: bludit/bl-themes/log/php/sidebar.php
inflating: bludit/index.php
inflating: bludit/install.php
And then move the extracted package to apache root directory.
root@linuxhelp1:/tmp# mv bludit /var/www/html/
Then change the ownership of the directory.
root@linuxhelp1:/tmp# chown -R www-data.www-data /var/www/html/bludit/bl-content
Enable the module rewrite with the following command.
root@linuxhelp1:/tmp# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
next, restart the apache2 to make the changes effect.
root@linuxhelp1:/tmp# systemctl restart apache2
once done we need to create a virtual host for bludit .
root@linuxhelp1:/tmp# vim /etc/apache2/sites-available/bludit.conf [..] < VirtualHost *:80> ServerName www.linuxhelp1.com DocumentRoot /var/www/html/bludit/ < Directory /var/www/html/bludit/> AllowOverride All allow from all < /Directory> < /VirtualHost> [..]
After creating a Virtual host enable the site access.
root@linuxhelp1:/tmp# a2ensite bludit.conf
Enabling site bludit.
To activate the new configuration, you need to run:
systemctl reload apache2
And then restart the apache2 service
root@linuxhelp1:/tmp# systemctl restart apache2
But, make sure you disable the default Apache site.
root@linuxhelp1:/tmp# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Next, restart the Apache web server to make the changes effect.
root@linuxhelp1:/tmp# systemctl restart apache2
Now you can proceed the installation process graphically from the browser by navigating to the following URL: http://ip-address or domain name
First, choose the language and click Next
And then complete the admin login details and click install
Now you will see the info page of bludit cms
You can log in using the option from the right side panel
click on login
Enter the credentials which were created previously
And after successful login, you will see the following page
with this, the method to install Bludit 1.5.2 on Ubuntu 17.04 comes to an end.
# a2enmod < `source file >