About: It’s Open source Content Management System.

Package Requirement:
php :- 7.2 or above
apache :- 2.0 or above
MariaDB

Step1. Install Apache2 HTTP Server

sudo apt update
sudo apt install apache2

Step2. Service start and enable

sudo systemctl start apache2.service
sudo systemctl enable apache2.service

Step3. Run on browser

http://localhost

Step4. Install MariaDB

sudo apt-get install mariadb-server mariadb-client

Step5. Start the service

Note: Run these on Ubuntu 16.04 LTS 

sudo systemctl stop mysql.service
sudo systemctl start mysql.service
sudo systemctl enable mysql.service
Note:Run these on Ubuntu 18.10 and 18.04 LTS

sudo systemctl stop mariadb.service
sudo systemctl start mariadb.service
sudo systemctl enable mariadb.service

Step6. Setup Database

sudo mysql_secure_installation

Step7. Login in Database

sudo mysql -u root –p

Step8. Install PHP 7.2 and Related Modules

Note: To run PHP 7.2 on Ubuntu 16.04

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php

Step 9. Update and upgrade to PHP 7.2

sudo apt update

Step 10. Install PHP 7.2 and related modules

sudo apt install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-mysql php7.2-gmp php7.2-curl php7.2-intl php7.2-mbstring php7.2-xmlrpc php7.2-gd php7.2-bcmath php7.2-xml php7.2-cli php7.2-zip

Step 11. Open file php.ini and update parameters.

file_uploads = On
allow_url_fopen = On
short_open_tag = On
memory_limit = 256M
upload_max_filesize = 100M
max_execution_time = 360
date.timezone = America/Chicago

Step12. Restart Apache service

sudo systemctl restart apache2.service

Step 13. Create a test file called phpinfo.php in Apache2 default root directory

sudo nano /var/www/html/phpinfo.php

Step 14. Open in the browser

http://localhost/phpinfo.php

Step 15. Create BackBee Database

sudo mysql -u root –p
CREATE DATABASE backbee;
CREATE USER 'backbeeuser'@'localhost' IDENTIFIED BY 'new_password_here';
GRANT ALL ON backbee.* TO 'backbeeuser'@'localhost' IDENTIFIED BY 'user_password_here' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;

Step 16. Download BackBee Latest Release

sudo apt install curl git
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer

Step 17. Run the git command

cd /var/www/html
sudo git clone https://github.com/backbee/backbee-cms.git backbee
cd /var/www/html/backbee/
sudo composer install

Step 18. Correct the permission

sudo chown -R www-data:www-data /var/www/html/backbee/
sudo chmod -R 755 /var/www/html/backbee/

Step 19. Configure Apache

sudo nano /etc/apache2/sites-available/backbee.conf

ServerAdmin admin@example.com
DocumentRoot /var/www/html/backbee/public
ServerName example.com
ServerAlias www.example.com
<Directory /var/www/html/backbee/public/> 
Options FollowSymlinks 
AllowOverride All 
Require all granted 
</Directory>

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

<Directory /var/www/html/backbee/public/>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php [PT,L]
</Directory>

</VirtualHost>

Step20. Enable the BackBee and Rewrite Module

sudo a2ensite backbee.conf
sudo a2enmod rewrite
sudo systemctl restart apache2.service

Step21. Access in the browser

http://localhost

1 COMMENT

  1. Pretty section of content. I just stumbled upon your weblog and in accession capital to assert that I get actually enjoyed account your
    blog posts. Anyway I will be subscribing to your augment and even I achievement you access consistently rapidly.

LEAVE A REPLY

Please enter your comment!
Please enter your name here