Install Dotclear on a CentOS VPS

01740234-photo-logo-dotclear-orange.jpgDotclear is free and open source web publishing software written in PHP. It is very easy to manage allowing anyone to use it regardless of their technical skills. This blog article will show you how to install Dotclear on your CentOS VPS Hosting account in just a few easy steps.

In order to able to run Dotclear you need to have an Apache server, a MySQL database and PHP version 5.2 or above installed on your server. If these components are not installed, we already have a blog post covering the installation of LAMP (Linux, Apache, MySQL, PHP) server.

First of all make sure that your CentOS server is up to date

yum -y update

and install the following PHP extensions

yum install php-xml php-mbstring php-gd

Then, go to Dotclear’s official website and download the latest stable version to your server


Unpack the compressed zip archive in the Apache’s document root directory.

unzip -d /var/www/html

This will create a new ‘dotclear’ directory in the document root.

If you are not sure what is your document root directory you can find it using the following command:

grep -i '^documentroot' /etc/httpd/conf/httpd.conf

Change your working directory to the newly created ‘dotclear’ directory.

cd /var/www/html/dotclear/

Change the ownership of the Dotclear directory:

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

Now, create a MySQL database for Dotclear and assign a user to the database with all privileges.

echo "CREATE DATABASE dotclear;" | mysql -u root -p
echo "CREATE USER 'dotclear'@'localhost' IDENTIFIED BY 'YourPassword';" | mysql -u root -p
echo "GRANT ALL PRIVILEGES ON dotclear.* TO 'dotclear'@'localhost';" | mysql -u root -p
echo "FLUSH PRIVILEGES;" | mysql -u root -p

* Replace ‘YourPassword’ with an actual password.

Finally, open your favorite web browser and point it to http://YOURDOMAIN.TLD/dotclear and follow the on-screen instructions. You will be prompted to enter the information of your MySQL user and database created for the Dotclear installation and create your administrator account.

Of course you don’t have to do any of this if you use one of our Linux VPS hosting services, in which case you can simply ask our expert linux admins to install Dotclear on your server for you. They are available 24×7 and will take care of your request immediately.

PS. If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.

4 thoughts on “Install Dotclear on a CentOS VPS”

    • Hi blacklogic,

      the following is a quote taken from the first paragraph of the article:

      Dotclear is free and open source web publishing software written in PHP

      which clearly means that Dotclear is a blog publishing application. If you are still unsure what exactly is Dotclear, please take a look here.

  1. Hi, Could someone inform if and how I can insert html codes on dotclear? I have been trying to and has failed thus far. Your assistance would be grateful.


Leave a Comment

To prove you are human please solve the following *