How to Install Concrete5 CMS with Apache on Ubuntu 20.04



How to Install Concrete5 CMS with Apache on Ubuntu 20.04

How to Install Concrete5 CMS with Apache on Ubuntu 20.04

Concrete5 is an open-source content management system used to publish content on the internet. It is written in PHP and uses MariaDB as a database backend. It provides an easy-to-use builder that helps you to create pages and content through the web browser. It is flexible, secure, mobile-ready, and based on Model-View-Controller architecture. It offers a rich set of features including, WYSIWYG content editor, Media Manager, Drag and Drop Content, In-context editing, and many more.

In this video, we will show you how to install Concrete5 CMS with Apache on Ubuntu 20.04 server.

Useful Links:
VPS/VDS – https://www.mivocloud.com/
Concrete5 – https://www.concretecms.com/

Commands Used:
apt-get install apache2 mariadb-server php libapache2-mod-php libapache2-mod-php php-common php-mbstring php-xmlrpc php-soap php-gd php-xml php-intl php-mysql php-cli php-ldap php-zip php-curl -y
nano /etc/php/7.4/apache2/php.ini
systemctl restart apache2
mysql
CREATE DATABASE concrete5;
CREATE USER ‘concrete5user’@’localhost’ IDENTIFIED BY ‘password’;
GRANT ALL ON concrete5.* TO ‘concrete5user’@’localhost’ IDENTIFIED BY ‘password’ WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;
wget –trust-server-names https://www.concrete5.org/download_file/-/view/115589/ -O concrete5.zip
unzip concrete5.zip
mv concrete5-* /var/www/html/concrete5
chown -R www-data:www-data /var/www/html/concrete5/
chmod -R 755 /var/www/html/concrete5/
nano /etc/apache2/sites-available/concrete5.conf

VirtualHost *:80
ServerAdmin [email protected]
DocumentRoot /var/www/html/concrete5/
ServerName concrete5.example.com

Directory /var/www/html/concrete5/
Options +FollowSymlinks
AllowOverride All
Require all granted
/Directory

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

/VirtualHost

a2ensite concrete5.conf
a2enmod rewrite
systemctl restart apache2
systemctl status apache2