In this tutorial, we will show you how to install and configuration of Dotclear on your CentOS 6 server. For those of you who didn’t know, Dotclear is an open-source blog publishing application distributed under the GNU GPLv2. Developed originally by Olivier Meunier from 2002, Dotclear has now attracted a solid team of developers. Dotclear’s proposed aim is to develop software that fully respects web standards based on open source solutions, with multilingual interface and publishing capabilities. It is written in PHP.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Dotclear on CentOS 6 server.
Install Dotclear on CentOS 6
Step 1. First of all, make sure that all packages are up to date.
Step 2. Install LAMP server.
A CentOS 6 LAMP server is required. If you do not have LAMP installed, you can follow our guide here. Also, install the following PHP extensions:
Step 3. Install Dotclear.
Download the latest stable version of Dotclear, At the moment of writing this article it is version 2.8.1:
We will need to change some folders permissions:
Step 4. Configuring MySQL.
By default, MySQL is not hardened. You can secure MySQL/MariaDB using the mysql_secure_installation script. You should read and below each step carefully which will set a root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MySQL.
Configure it like this:
Next, we will need to log in to the MySQL console and create a database for the Dotclear. Run the following command:
This will prompt you for a password, so enter your MySQL root password and hit Enter. Once you are logged in to your database server you need to create a database for Dotclear installation:
Step 5. Accessing Dotclear.
Dotclear will be available on HTTP port 80 by default. Open your favorite browser and navigate to http://yourdomain.com/dotclear or http://server-ip/dotclear and complete the required steps to finish the installation. You will be prompted to enter the information of your MySQL user and database created for the Dotclear installation and create your administrator account. If you are using a firewall, please open port 80 to enable access to the control panel.
Congratulations! You have successfully installed Dotclear. Thanks for using this tutorial for installing Dotclear on CentOS 6 system. For additional help or useful information, we recommend you to check the official Dotclear web site.