Introduced
Concrete5 is an open source content management System (CMS) written in PHP. It is designed for ease of use and provides a web interface that allows users to edit content directly from the page. Concrete5 can be installed on Ubuntu 16.04 to implement one-click installation.
Prerequisite
This tutorial assumes that you have created a new vultr cloud instance that runs Ubuntu 16.04 and has root access rights.
Step 1: Install Apache, MySQL, and PHP and other dependencies
The Comcrete5 runs on a one-click installation package. You need to install Apache, PHP, MySQL, and many other required dependencies.
Apt-get Update
Apt-get Install apache2 mysql-server php7.0 php7.0-mysql php7.0-gd php7.0-mcrypt php7.0-xml php7.0-mbstring libapache2-mod-php7.0 unzip-y
Enter a secure MySQL password when prompted.
Step 2: Install MySQL
Once you have installed all of the required packages, you can continue to set up MySQL. Start the installation at execution time.
/usr/bin/mysql_secure_installation
Enter the MySQL password that you created in step 1. Answer the question and complete the installation.
Would you like to setup VALIDATE PASSWORD plugin? [Y/N] N
Change the root password? [Y/N] N
Remove anonymous users? [Y/N] Y
Disallow root login remotely? [Y/N] Y
Remove test database and access to it? [Y/N] Y
Reload privilege tables now? [Y/N] Y
Step 3: Create a MySQL database for materialization
Log in to the MySQL console.
mysql -u root -p
Enter the password that you created in step 1. After logging into the MySQL console, create a new image database.
mysql>CREATE DATABASE concrete5_db;
Create a new user and grant privileges to the image database you just created. You can replace the user name and password with the user name and password you choose.
mysql>GRANT ALL PRIVILEGES on concrete5_db.* to ‘username‘@‘localhost‘ identified by ‘password‘;
mysql>FLUSH PRIVILEGES;
Quit MySQL Console.
mysql>exit
Step 4: Download and install Concrete5
Navigate to the root directory of your Apache server.
cd /var/ https://www.dache.me/
Download the Concrete5 archive from the official website, unzip it, and then move the extracted files to/var/www/concrete5
wget --trust-server-names http://www.concrete5.org/download_file/-/view/96959/ -O concrete5.zip
unzip concrete5.zip
rm concrete5.zip
mv concrete5-8.2.1 concrete5
cd concrete5
Make concrete5 directory with Concrete5.
sudo chown -R www-data:www-data /var/www/html/concrete5
Enable the Apache rewrite module.
sudo a2enmod rewrite
Restart Apache.
systemctl restart apache2
Step 5: Complete the installation with the Concrete5 Web interface
You can now complete the installation using the Concrete5 Web interface. Open the Web browser and navigate to Http://{your-server-ip}/concrete5 to start the setup program. During the installation process, you will need your MySQL parameters. Use the user name, password, and database name that you created in step 3.
Server: localhost
MySQL Username: username
MySQL Password: password
Database Name: concrete5_db
Once the installation is complete, you will be able to access the new Concrete5 website.
Installing Concrete5 on Ubuntu 16.04