How To Install Dotclear on CentOS 6

Install Dotclear on CentOS 6

In this tutorial, we will show you how to install and configuration of Dotclear on your CentOS 6. 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 in 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 the step-by-step installation of Dotclear on the CentOS 6 server.

Install Dotclear on CentOS 6

Step 1. First of all, make sure that all packages are up to date.

yum - update

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:

yum install php-xml php-mbstring php-gd

Step 3. Install Dotclear.

Download the latest stable version of Dotclear, At the moment of writing this article it is version 2.8.1:

unzip -d /var/www/html

We will need to change some folders permissions:

chown -R apache: /var/www/html/dotclear/

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:

- Set root password? [Y/n] y
- 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

Next, we will need to log in to the MySQL console and create a database for the Dotclear. Run the following command:

mysql -u root -p

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:

mysql> CREATE DATABASE dotcleardb;
mysql> GRANT ALL PRIVILEGES ON dotcleardb.* TO 'dotclearuser'@'localhost' IDENTIFIED BY 'Y0ur-Passw0rd' WITH GRANT OPTION;
mysql> quit

Step 5. Accessing Dotclear.

Dotclear will be available on HTTP port 80 by default. Open your favorite browser and navigate to 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 website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!