Concrete5 is an open source content management system that can be used to create and deploy websites on the Internet.
It is written in the PHP programming language and built from custom components such as Laravel and Symfony. It is designed for users with a minimum amount of technical skills. Concrete5 provides easy to use web interface to deploy complex content driven websites and easily manage their content and structure.
In this tutorial, we will explain how to install Concrete5 on an Ubuntu 16.04 server with Nginx, PHP-FPM and MySQL.
A server running Ubuntu-16.04 on your system.
A non-root user with sudo privileges setup on your server.
A static ip address 192.168.0.23 configured on your server.
Update the System
Before starting, it is recommended to update your system with the latest stable version.
You can do this by running the following command:
sudo apt-get update -ysudo apt-get upgrade -y
Once your system is updated, you can proceed to install Nginx, PHP-FPM and MySQL.
In order to run Concrete5, you will need to install Nginx, PHP-FPM and MySQL in your system.
You can install all of them by running the following command:
By default MySQL installation is not secured, so you will need to secure it first.
You can secure it by running the mysql_secure_installation script.
Answer all the questions as shown below:
Enter current password for root (enter for none):
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
Once MySQL is secured, login to MySQL console and create a database for the Concrete5:
mysql -u root -p
Enter your MySQL root password and hit enter. Once you are logged in to your database, you will need to create a database for Concrete5:
mysql> CREATE DATABASE concrete5;
Next, create a new database user and provide the appropriate privileges to your database user over the database you have created.
mysql> GRANT ALL PRIVILEGES ON concrete5.* TO 'concrete5'@'localhost' IDENTIFIED BY 'password';
Next, run the following command to immediately apply the changes on the database privileges:
mysql> FLUSH PRIVILEGES;
Next, exit from the Mysql with the following command:
Once your database is configured, you can proceed to the next step.
Download and Install Concrete5
You can download the latest version of the Concrete5 from http://www.concrete5.org/developers/downloads/.
You can run the following command to download the file to your server using wget:
Truth be told, it’s difficult for a web application that doesn’t have some kind of identification, even if you don’t see it as a security measure in and of itself. The Internet is a kind of lawless land, and even on free services like Google’s, authentication ensures that abuses will...
Although data persistence is almost always a fundamental element of applications, Node.js has no native integration with databases. Everything is delegated to third-party libraries to be included manually, in addition to the standard APIs. Although MongoDB and other non-relational databases are the most common choice with Node because if you...