How to Install Concrete 5 CMS on Manjaro

This tutorial will provide step-by-step instructions on how to install Concrete 5 CMS on Manjaro. Concrete 5 is an open source content management system used to build and manage websites.

  1. Make sure your Manjaro system is up-to-date by running the following command in the terminal:

sudo pacman -Syu

  1. Install Apache web server and PHP by running the following command:

sudo pacman -S apache php php-apache

  1. Install MySQL by running the following command:

sudo pacman -S mysql

  1. Start the Apache web server and MySQL by running the following commands:

sudo systemctl start httpd

sudo systemctl start mysqld

  1. Configure MySQL by running the following command:

sudo mysql_secure_installation

This will prompt you to set a password for the MySQL root user and secure the MySQL installation.

  1. Download the latest version of Concrete 5 from the official website at https://www.concretecms.com.

  2. Extract the downloaded file to the Apache web server document root directory by running the following command:

sudo tar -xf concrete5-<VERSION>.tar.gz -C /srv/http/

Replace <VERSION> in the command with the version number you downloaded.

  1. Edit the Apache web server configuration file /etc/httpd/conf/httpd.conf by running the following command:

sudo nano /etc/httpd/conf/httpd.conf

  1. Scroll down to the section that starts with <Directory "/srv/http"> and change the following lines:
AllowOverride None

to

AllowOverride All

This will allow the .htaccess file in the Concrete 5 directory to override the Apache web server configuration.

  1. Save and close the configuration file by pressing Ctrl+X, then Y, then Enter.

  2. Create a new MySQL database and user for Concrete 5 by running the following commands:

sudo mysql -u root -p

Enter the MySQL root user password when prompted.

CREATE DATABASE dbname;

Replace dbname with the desired name of the database.

CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';

Replace username with the desired username of the database user and password with the desired password.

GRANT ALL PRIVILEGES ON dbname.* TO 'username'@'localhost';

Replace dbname and username with the names used in the previous commands.

  1. Navigate to the Concrete 5 installation page in a web browser by entering http://localhost/concrete5-<VERSION>/index.php/install in the address bar.

Replace <VERSION> in the URL with the version number you downloaded.

  1. Follow the on-screen instructions to complete the Concrete 5 installation, providing the database and user information created in step 11 when prompted.

Congratulations! You have successfully installed Concrete 5 CMS on Manjaro.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!