How to Install Baun CMS on Linuxmint 19
Installation Of Baun CMS On Linux Mint 19
Baun CMS is an open source, lightweight and extensible flat-file CMS for PHP. It doesn't require database and administration back-end and is a perfect solution for small websites. The main advantages of a flat-file CMS systems are simplicity, portability, security, speed and version control. This tutorial covers the installation of baun cms on Linux Mint 19.
Installation procedure
Check the Linuxmint version by using the following command.
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19 Tara
Release: 19
Codename: tara
Downlaod the baun cms installation package using wget command
root@linuxhelp:~# wget https://github.com/BaunCMS/Baun/archive/1.3.2.zip
--2019-07-27 02:32:31-- https://github.com/BaunCMS/Baun/archive/1.3.2.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/BaunCMS/Baun/zip/1.3.2 [following]
--2019-07-27 02:32:33-- https://codeload.github.com/BaunCMS/Baun/zip/1.3.2
Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘1.3.2.zip’
1.3.2.zip [ <=> ] 26.38K 87.5KB/s in 0.3s
2019-07-27 02:32:36 (51.2 KB/s) - ‘1.3.2.zip’ saved [27014]
Once the download is complete extract the download package using unzip command
root@linuxhelp:~# unzip 1.3.2.zip
Archive: 1.3.2.zip
a9e698e9e16e8a9785b95bdc89eeee0c487d78ee
creating: Baun-1.3.2/
inflating: Baun-1.3.2/.gitignore
inflating: Baun-1.3.2/CHANGELOG.md
inflating: Baun-1.3.2/LICENSE
inflating: Baun-1.3.2/README.md
inflating: Baun-1.3.2/auto-install.php
.
.
.
extracting: Baun-1.3.2/public/themes/baun/bower_components/skeleton/images/favicon.png
inflating: Baun-1.3.2/public/themes/baun/bower_components/skeleton/index.html
inflating: Baun-1.3.2/public/themes/baun/layout.html
inflating: Baun-1.3.2/public/themes/baun/page.html
inflating: Baun-1.3.2/public/themes/baun/post.html
inflating: Baun-1.3.2/public/themes/baun/style.css
Move the baun cms directory to apache root directory
root@linuxhelp:~# mv Baun-1.3.2 /var/www/baun
Set the ownership and permission for baun cms directory
root@linuxhelp:~# chown -R www-data.www-data /var/www/baun
root@linuxhelp:~# chmod -R 775 /var/www/baun
Once the above step is completed configure the virtualhost for accessing baun cms
root@linuxhelp:~# vim /etc/apache2/sites-available/baun.conf
<Virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/baun/public
<directory /var/www/baun/public>
allowoverride all
allow from all
</directory>
</virtualhost>
Enter into the baun cms directory
root@linuxhelp:~# cd /var/www/baun
Install the composer package by using the following command
root@linuxhelp:/var/www/baun# apt install composer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
git git-man jsonlint liberror-perl php-composer-ca-bundle php-composer-semver php-composer-spdx-licenses
php-composer-xdebug-handler php-json-schema php-psr-log php-symfony-console php-symfony-debug php-symfony-filesystem
.
.
.
Processing triggers for man-db (2.8.4-2) ...
Setting up php-composer-spdx-licenses (1.4.0-1) ...
Setting up php-symfony-polyfill-ctype (1.9.0-1) ...
Setting up php-symfony-polyfill-mbstring (1.9.0-1) ...
Setting up jsonlint (1.7.1-1) ...
Setting up git (1:2.19.1-1ubuntu1.1) ...
Setting up php-symfony-process (3.4.15+dfsg-2ubuntu4) ...
Setting up php-symfony-debug (3.4.15+dfsg-2ubuntu4) ...
Setting up php-symfony-console (3.4.15+dfsg-2ubuntu4) ...
Setting up php-symfony-filesystem (3.4.15+dfsg-2ubuntu4) ...
Setting up composer (1.7.2-1) ...
Enter the composer install
root@linuxhelp:/var/www/baun# composer install
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 17 installs, 0 updates, 0 removals
- Installing bauncms/baun-blog-rss (1.0.0): Downloading (100%)
.
.
- Installing symfony/polyfill-php55 (v1.11.0): Downloading (100%)
- Installing symfony/polyfill-php54 (v1.11.0): Downloading (100%)
- Installing symfony/http-foundation (v2.8.49): Downloading (100%)
- Installing bauncms/framework (1.4.5): Downloading (100%)
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/process
symfony/console suggests installing psr/log-implementation (For using the console logger)
Writing lock file
Generating autoload files
Disable the default site access for enabling baun cms
root@linuxhelp:/var/www/baun# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Enabling site access for baun cms
root@linuxhelp:/var/www/baun# a2ensite baun.conf
Enabling site baun.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the rewrite module
root@linuxhelp:/var/www/baun# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Once the all step is completed restart apache service
root@linuxhelp:/var/www/baun# systemctl restart apache2
Once the above step is completed switch to your browser and enter your domain name
This is the Baun CMS application
The method to install Baun CMS on Linux Mint 19 comes to an end.
Comments ( 0 )
No comments available