Dotclear is an open-source blog application, which has tremendously gained popularity over the past years. It serves to provide a very-much user-friendly tool that can be used by anyone to publish content over the web, irrespective of their technical skills.
Dotclear is written in PHP and supports several database types such as MySQL, MariaDB, PostgreSQL & SQLite.
This guide outlines the steps that can be used to install Dotclear application in servers installed with different OS distributions. In this context, it is considered that the servers already have a web server, PHP and database server installed.
Installation on CentOS
The first step in installing Dotclear is to create a database and an associated database user that will be used for storing the data of the application.
Log in to MySQL command prompt by executing the below command.
Create the Dotclear database. In this context, the database name used is lsdotclear.
> CREATE DATABASE lsdotclear;
Create the database user and grant required permissions for the user on the Dotclear database.
> GRANT ALL PRIVILEGES ON lsdotclear.* TO [email protected] IDENTIFIED BY 'PASSWORD';
NOTE: The database user name being used is lsdcuser. Replace PASSWORD with an actual, strong password.
Reload the grants table in MySQL and exist the MySQL prompt.
> FLUSH PRIVILEGES;
Once the MYSQL database and user is created, the next step is to download the Dotclear installation package.
Download the latest stable release of the Dotclear application.
# wget http://download.dotclear.org/latest.zip
Extract the contents of the downloaded ZIP archive to the document root folder of the server or to the document root folder of the domain under which the Dotclear application is to be installed.
In this guide, the application is being installed under the document root folder of the server.
# unzip latest.zip -d /var/www/html/
All the files/folders of the ZIP archive will be extracted to a folder named dotclear.