• 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 Ubuntu – 17.04

{{postValue.id}}

To install Baun CMS on Ubuntu &ndash 17.04

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.

Prerequisites

Baun CMS requires a web server to function based on LAMP setup on your system and also with following required PHP modules, so if don' t have a LAMP setup, please click the following URL https://www.linuxhelp.com/how-to-install-lamp-on-ubuntu-17-04/ to setup LAMp on ubuntu 17.04 and install these 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 

Let' s first start with Updating the system repository.

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 switch to the directory in the following manner.

root@linuxhelp1:~# cd /opt/

Now start installing git using the following command.

root@linuxhelp1:/opt# apt-get install git
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  git-man liberror-perl
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  git git-man liberror-perl
.
.
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.11.0-2ubuntu0.3_all.deb ...
Unpacking git-man (1:2.11.0-2ubuntu0.3) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.11.0-2ubuntu0.3_amd64.deb ...
Unpacking git (1:2.11.0-2ubuntu0.3) ...
Setting up git-man (1:2.11.0-2ubuntu0.3) ...
Setting up liberror-perl (0.17024-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up git (1:2.11.0-2ubuntu0.3) ...

Now, to clone the Baun CMS package from Git use the following command.

root@linuxhelp1:/opt# git clone https://github.com/BaunCMS/Baun.git
Cloning into ' Baun' ...
remote: Counting objects: 392, done.
remote: Total 392 (delta 0), reused 0 (delta 0), pack-reused 392
Receiving objects: 100% (392/392), 59.95 KiB | 0 bytes/s, done.
Resolving deltas: 100% (184/184), done.

And then move the Baun file to apache root directory.

root@linuxhelp1:/opt# mv Baun /var/www/

Switch to the directory.

root@linuxhelp1:/opt# cd /var/www/

And change ownership and permission for Baun directory.

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

Next, we are going to create a create the virtual host for baun.

root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/baun.conf

And then enable the site access.

root@linuxhelp1:/var/www# a2ensite baun.conf
Enabling site baun.
To activate the new configuration, you need to run:
  systemctl reload apache2

Then enable the rewrite module.

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

You shall now disable the site access.

root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.

To activate the new configuration, you need to run:
  systemctl reload apache2

You need to switch to the directory.

root@linuxhelp1:/var/www# cd Baun/

You shall now install Composer.

root@linuxhelp1:/var/www/Baun# apt-get install composer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  jsonlint php-cli-prompt php-composer-ca-bundle php-composer-semver php-composer-spdx-licenses php-json-schema php-psr-log
  php-symfony-console php-symfony-filesystem php-symfony-finder php-symfony-polyfill-mbstring php-symfony-process
Suggested packages:
  fossil mercurial subversion php-symfony-event-dispatcher
The following NEW packages will be installed:
  composer jsonlint php-cli-prompt php-composer-ca-bundle php-composer-semver php-composer-spdx-licenses php-json-schema
.
.
Setting up php-symfony-finder (2.8.7+dfsg-1ubuntu1) ...
Setting up php-composer-ca-bundle (1.0.2-1) ...
Setting up php-json-schema (1.6.1-2) ...
Setting up php-composer-semver (1.4.2-1) ...
Setting up php-cli-prompt (1.0.2+dfsg-1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up php-composer-spdx-licenses (1.1.5-1) ...
Setting up php-symfony-filesystem (2.8.7+dfsg-1ubuntu1) ...
Setting up php-symfony-polyfill-mbstring (1.2.0-1) ...
Setting up jsonlint (1.5.0-1) ...
Setting up php-symfony-process (2.8.7+dfsg-1ubuntu1) ...
Setting up php-symfony-console (2.8.7+dfsg-1ubuntu1) ...

Then run the composer install command.

root@linuxhelp1:/var/www/Baun# composer install
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
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)
  - Installing bauncms/baun-blog-rss (1.0.0)
    Downloading: 100%         

  - Installing dflydev/dot-access-data (v1.1.0)
    Downloading: 100%         

  - Installing league/event (2.1.2)
    Downloading: 100%         

  - Installing michelf/php-markdown (1.8.0)
    Downloading: 100%         

  - Installing symfony/yaml (v2.8.38)
.
.
  - Installing symfony/console (v2.8.38)
    Downloading: 100%         

  - Installing ircmaxell/password-compat (v1.0.4)
    Downloading: 100%         

  - Installing symfony/polyfill-php55 (v1.7.0)
    Downloading: 100%         

  - Installing symfony/polyfill-php54 (v1.7.0)
    Downloading: 100%         

  - Installing symfony/http-foundation (v2.8.38)
    Downloading: 100%         

  - Installing bauncms/framework (1.4.5)
    Downloading: 100%         

symfony/console suggests installing symfony/event-dispatcher ()
symfony/console suggests installing symfony/process ()
Writing lock file
Generating autoload files

You can now open a browser and type http://local IP (or) domain name.
browser

To open Baun CMS application
baun_cms
bauncms_page

With this, the method to install Baun CMS on Ubuntu &ndash 17.04 comes to an end.

Tags:
luke
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

wheather baun cms is a Lightweight application?

A

Yes, baun cms is an lightweight application

Q

why should we need to install baun cms on ubuntu?

A

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.

Q

what are all the package to be install the php modules?

A

the packages to be install the php modules are available by following command

# 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

Q

how to clone the Baun CMS package from Git?

A

clone the Baun CMS package from git using following command
# git clone https://github.com/BaunCMS/Baun.git

Q

which command to enable the rewrite module?

A

enable the rewrite mobule by below command
# a2enmod rewrite

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 Isaac ?
How to run windows application in linux

I need to run the windows application in my Linux machine, instead of installing from yum repo or any other repos. How to do that..??

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.