• 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 1.3.2 Version Using LEMP on CentOS 7.6

  • 01:02 git clone https://github.com/BaunCMS/Baun.git
  • 01:42 cd /var/cache/nginx/
  • 01:57 vim /etc/nginx/conf.d/baun.conf
  • 02:23 systemctl restart php-fpm
  • 02:28 systemctl restart nginx
{{postValue.id}}

Installation Of Baun CMS 1.3.2 Version :

PHP Modules:

php php-gd php-pdo php-mbstring php-zip php-fpm

Pre-Requisites

Nginx 1.17.0

PHP 5.4+

Utilies: git composer

Composer Command :curl -sS https://getcomposer.org/installer | php

mv composer.phar /usr/local/bin/composer

Download link :

https://github.com/BaunCMS/Baun.git

Download the baun CMS using git clone

[root@linuxhelp ~]# 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.95 KiB | 0 bytes/s, done.
Resolving deltas: 100% (184/184), done.

View the Downloaded file of baun CMS by listing the contents

[root@linuxhelp ~]# ll
total 166472
-rw-------. 1 root root      2097 Dec  9  2017 anaconda-ks.cfg
drwxr-xr-x  7 root root       201 Jun 18 01:23 Baun
drwxr-xr-x. 2 root root         6 Dec 12  2017 Desktop
drwxr-xr-x. 2 root root         6 Dec 12  2017 Documents
drwxr-xr-x. 2 root root         6 Dec 12  2017 Downloads
-rw-r--r--. 1 root root      2128 Dec 12  2017 initial-setup-ks.cfg
-rw-r--r--  1 root root 170440632 Apr  3 00:51 jdk-12.0.1_linux-x64_bin.rpm
drwxr-xr-x. 2 root root         6 Dec 12  2017 Music
drwxr-xr-x. 2 root root         6 Dec 12  2017 Pictures
drwxr-xr-x. 2 root root         6 Dec 12  2017 Public
-rw-r--r--  1 root root     16004 Mar  8 13:10 remi-release-7.rpm
drwxr-xr-x. 2 root root         6 Dec 12  2017 Templates
drwxr-xr-x. 2 root root         6 Dec 12  2017 Videos

Move the Baun Directory to the nginx Document root directory

[root@linuxhelp ~]# mv Baun/ /usr/share/nginx/html/

Change the directory to the nginx Document Directory

[root@linuxhelp ~]# cd /usr/share/nginx/html/

List the contents to view the moved directory.

[root@linuxhelp html]# ll
total 12
-rw-r--r-- 1 root root 494 May 21 20:27 50x.html
drwxr-xr-x 7 root root 201 Jun 18 01:23 Baun
-rw-r--r-- 1 root root 612 May 21 20:27 index.html
-rw-r--r-- 1 root root  20 Jun 14 23:47 info.php

Change the directory to BAun

[root@linuxhelp html]# cd Baun/

Assign the ownership permissions to the baun directory.

[root@linuxhelp Baun]# chown -R nginx. ./

Assign the writable permissions to the baun directory.

[root@linuxhelp Baun]# chmod -R 775 ./

List the extracted files of baun directory.

[root@linuxhelp Baun]# ll
total 24
-rwxrwxr-x 1 nginx nginx 1514 Jun 18 01:23 auto-install.php
-rwxrwxr-x 1 nginx nginx  487 Jun 18 01:23 baun
drwxrwxr-x 2 nginx nginx   24 Jun 18 01:23 cache
-rwxrwxr-x 1 nginx nginx  815 Jun 18 01:23 CHANGELOG.md
-rwxrwxr-x 1 nginx nginx  278 Jun 18 01:23 composer.json
drwxrwxr-x 2 nginx nginx   77 Jun 18 01:23 config
drwxrwxr-x 4 nginx nginx   53 Jun 18 01:23 content
-rwxrwxr-x 1 nginx nginx 1075 Jun 18 01:23 LICENSE
drwxrwxr-x 4 nginx nginx   92 Jun 18 01:23 public
-rwxrwxr-x 1 nginx nginx 1685 Jun 18 01:23 README.md

Change the directory to the nginx which is under /var/cache

[root@linuxhelp Baun]# cd /var/cache/nginx/

Assign the Writabel permissions to the nginx directory for the installation of baun cms

[root@linuxhelp nginx]# chmod -R 777 ./

Create a virtual host named baun.conf under the Nginx configuration file

[root@linuxhelp nginx]# vim /etc/nginx/conf.d/baun.conf
server {
listen 80;
server_name www.linuxhelp1.com;
root /usr/share/nginx/html/Baun/public/;
index index.php index.html;
location ~* \.php$ {
      fastcgi_pass 127.0.0.1:9000;
      include         fastcgi_params;
      fastcgi_param   SCRIPT_FILENAME    $document_root$fastcgi_script_name;
      fastcgi_param   SCRIPT_NAME        $fastcgi_script_name;
    }
}

Test the configuration of nginx

[root@linuxhelp nginx]# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

Restart the service of php-fpm

[root@linuxhelp nginx]# systemctl restart php-fpm

Restart the service of Nginx

[root@linuxhelp nginx]# systemctl restart nginx

Open the Browser and enter the server name that has configured in the virtual host of baun cms as follows: snap(1) Click on Finished Installing,Let’s go to view the website of Baun CMS snap(2) snap(3) With this,Installation of Baun CMS 1.3.2 version using LEMP On CentOS 7.6 comes to end.

Tags:
philippe
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Does BAun cms require databse?

A

No database is required for baun cms

Q

What Does twig templates in baun cms used for?

A

twig templates in baun cms are used for powerful and flexible themes.

Q

Can we edit text files in baun cms?

A

yes, you can edit text files in baun cms

Q

What does MArkdown mean in baun cms?

A

markdown is a lightweight markup language with plain text formatting syntax in baun cms

Q

Can markdown do everything html can in baun cms?

A

markdown cant do everything that html does in baun cms

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 David Lopez Guillen ?
Ayuda urgente instale SSL para servidor Opensuse y ahora no funciona tengo servicio web

hola segui este tutorial para tener un certificado ssl y ahora no se ve mi app en la red, espero alguien pueda ayudarme, tengo M9oodle en3.5 en un servidor open suse y ahora no funciona por favor ayuda.

https://www.linuxhelp.com/how-to-create-ssl-certificate-in-opensuse

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.