• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Baun CMS on Linux Mint 20

  • 00:35 cat /etc/os-release
  • 00:47 wget https://github.com/BaunCMS/Baun/archive/1.3.2.zip
  • 00:52 unzip 1.3.2.zip
  • 01:21 chown -R www-data.www-data /var/www/baun
  • 03:12 cd /var/www/baun
  • 03:23 apt install composer
  • 03:39 composer install
  • 04:16 a2ensite baun.conf
  • 04:24 a2enmod rewrite
  • 04:32 systemctl restart apache2
{{postValue.id}}

To Install Baun CMS on Linux Mint 20

The Baun CMS is an open-source, lightweight, and extensible flat-file CMS written in PHP. It is ideal for small websites. A flat-file CMS system is characterized by simplicity, portability, security, speed, and version control. This tutorial explains how to set up Baun CMS on Linux Mint 20.

Requirements for Baun CMS:

Apache

MySQL

PHP and its Modules

Installation Procedure:

Now check the version of the Linux mint by using the following command

root@linuxhelp:~# cat /etc/os-release 
NAME="Linux Mint"
VERSION="20 (Ulyana)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 20"
VERSION_ID="20"

Now download the Baun CMS package by using the following command

root@linuxhelp:~# wget https://github.com/BaunCMS/Baun/archive/1.3.2.zip
--2020-12-01 09:52:06--  https://github.com/BaunCMS/Baun/archive/1.3.2.zip
Resolving github.com (github.com)... 13.234.176.102
Connecting to github.com (github.com)|13.234.176.102|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/BaunCMS/Baun/zip/1.3.2 [following]
--2020-12-01 09:52:07--  https://codeload.github.com/BaunCMS/Baun/zip/1.3.2
Resolving codeload.github.com (codeload.github.com)... 13.127.152.42
Connecting to codeload.github.com (codeload.github.com)|13.127.152.42|: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   143KB/s    in 0.2s    

2020-12-01 09:52:07 (143 KB/s) - ‘1.3.2.zip’ saved [27014]

Extract the baun command by using 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/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

Now list the files

root@linuxhelp:~# ls
1.3.2.zip  Baun-1.3.2

Now move the baun CMS directory to apache root directory

root@linuxhelp:~# mv Baun-1.3.2 /var/www/baun

Now set the ownership and permission to baun root directory

root@linuxhelp:~# chown -R www-data.www-data /var/www/baun/
root@linuxhelp:~# chmod -R 755 /var/www/baun/

Now configure the virtualhost for access the baun CMS by using following command

root@linuxhelp:~# vi /etc/apache2/sites-available/baun.conf

Now move into the baun directory and install the composer package

root@linuxhelp:~# cd /var/www/baun

Use 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:
.
.
.
Setting up php-composer-semver (1.5.1-1) ...
Setting up git-man (1:2.25.1-1ubuntu3) ...
Setting up php-json-schema (5.2.9-1) ...
Setting up php-composer-spdx-licenses (1.5.3-1) ...
Setting up php-symfony-console (4.3.8+dfsg-1ubuntu1) ...
Setting up php-composer-xdebug-handler (1.4.0-1) ...
Setting up git (1:2.25.1-1ubuntu3) ...
Setting up composer (1.10.1-1) ...
Processing triggers for man-db (2.9.1-1)

Now run the composer file by using following command

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
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2
Updating dependencies (including require-dev)
.
.
.
Writing lock file
Generating autoload files
5 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Now disable the default site access

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

Now enable the 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

Now 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

Now restart the apache service by using following command

root@linuxhelp:/var/www/baun# systemctl restart apache2

Open browser and enter your hostname snap1

This the application of the baun CMS snap2

With this, the method of installation Baun CMS on LinuxMint 20 comes to an end.

Tags:
rithvinpaul
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is the command to install the composer package?

A

The command is # apt install composer

Q

What is the command to run the composer?

A

The command is # composer install

Q

How to enable site access for baun CMS?

A

The command is # a2ensite baun.conf

Q

How configure the virtual host for access to the baun CMS?

A

The configuration location is # vi /etc/apache2/sites-available/baun.conf

Q

What is Composer?

A

Composer is dependency management in PHP. IT allows you to declare libraries of your project and it will
manage (install/update).

Load more

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Lucas ?
Various options in Top command

Am using Top command only to view the load average, what are the various options in Top command..??

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.