• 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 RHEL7.6

  • 00:28 cat /etc/os-release
  • 00:37 curl -sS https://getcomposer.org/installer | php
  • 00:52 mv composer.phar /usr/local/bin/composer
  • 01:10 chmod +x /usr/local/bin/composer
  • 01:24 cd /var/www/html/
  • 01:31 git clone https://github.com/BaunCMS/Baun.git
  • 01:40 cd Baun/
  • 01:46 composer install
  • 02:08 chown -R apache. /var/www/html/
  • 02:17 chmod -R 755 /var/www/html/
  • 02:29 vim /etc/httpd/conf.d/baun.conf
  • 02:55 vim /etc/hosts
  • 05:15 systemctl restart httpd
{{postValue.id}}

How to Install Baun CMS on RHEL7.6

Introduction:

Baun CMS is an open source, lightweight and extensible flat-file CMS for PHP. It helps its users create small websites easily as it doesn’t require database and administration back-end . In this tutorial, we are going to see the method to install Baun CMS on RHEL7.6

Prerequisite

Apache

Composer

PHP and Modules(php-gd php-pdo php-mbstring php-mcrypt php-mysql php-simplexml php-pecl-zip php-imap)

Installation Process :

Use the following command to check the installed version of OS.

[root@linuxhelp ~]# cat /etc/os-release 
NAME="Red Hat Enterprise Linux Server"
VERSION="7.6 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.6"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.6 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.6:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.6
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.6"

Download the composer file using the below command

 [root@linuxhelp ~]# curl -sS https://getcomposer.org/installer | php
All settings correct for using Composer
Downloading...
Composer (version 1.10.10) successfully installed to: /root/composer.phar
Use it: php composer.phar

Then move the downloaded composer file under bin directory

[root@linuxhelp ~]# mv composer.phar  /usr/local/bin/composer

**Now, change the execute permission for the file **

[root@linuxhelp ~]# chmod +x /usr/local/bin/composer 

Change directory to html directory

[root@linuxhelp ~]# cd /var/www/html/

Here, clone the Baun CMS Git project

[root@linuxhelp html]# git clone https://github.com/BaunCMS/Baun.git
Cloning into 'Baun'...
remote: Enumerating objects: 392, done.
remote: Total 392 (delta 0), reused 0 (delta 0), pack-reused 392
Receiving objects: 100% (392/392), 59.94 KiB | 0 bytes/s, done.
Resolving deltas: 100% (184/184), done.

Change directory to baun

[root@linuxhelp html]# cd Baun/

Where run the composer install command

[root@linuxhelp Baun]# composer install
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 dflydev/dot-access-data (v1.1.0): Downloading (100%)         
 - Installing league/event (2.2.0): Downloading (100%)         
 - Installing michelf/php-markdown (1.9.0): Downloading (100%)         
….
….
symfony/console suggests installing psr/log-implementation (For using the console logger)
Writing lock file
Generating autoload files
5 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Set the ownership and permission for the directory

[root@linuxhelp Baun]# chown -R apache. /var/www/html/
[root@linuxhelp Baun]# chmod -R 755 /var/www/html/

Configure the virtualhost file for accessing the baun cms

 [root@linuxhelp Baun]# vim /etc/httpd/conf.d/baun.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/html/Baun/public
</virtualhost>

Edit the host file with the below command

[root@linuxhelp Baun]# vim /etc/hosts
<your-ip>    <domain-name>

Once the configuration part is done restart the apache service to update the changes

[root@linuxhelp Baun]# systemctl restart httpd

Go to browser and type your domain name in new tab 1

This is the Baun CMS home page 2

With this, the method to install Baun CMS on RHEL7.6 comes to end.

Tags:
liam
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is Baun CMS?

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 it helps its users create small websites easily.

Q

What is the Alternative for Baun CMS?

A

Here I have to give some of the Alternative for Baun CMS
Wordpress,
Drupal,
Bootstrap CMS,
Readz,
OverBlog, etc.

Q

What are the requirement to install Baun CMS?

A

Apache
Composer
PHP and Modules(php-gd php-pdo php-mbstring php-mcrypt php-mysql php-simplexml php-pecl-zip php-imap)

Q

How to get the latest version of Baun CMS from the official link?

A

To get the latest version of Baun CMS to go to the link as follow "https://github.com/BaunCMS/Baun/releases"

Q

If its possible to install Baun CMS on Android?

A

No, its not possible to install Baun CMS on Android.

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 Gibbson ?
How do i run both nginx and apache in same instance on centos

Hi...,

my server is based centos operating system and my webserver is already running on Apache.... i need to run both apache and nginx on same instance ... please help me to implement this concept...

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.