How to install Dotclear on CentOS Cloud Servers

2020-09-15 By Aaron 28 Views linux centos dotclear development
0 reviews

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.


  1. Log in to MySQL command prompt by executing the below command.

    # mysql
    

    dotclearlinux1

  2. Create the Dotclear database. In this context, the database name used is lsdotclear.

    > CREATE DATABASE lsdotclear;
    

    dotclearlinux2

  3. 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';
    

    dotclearlinux3

    NOTE: The database user name being used is lsdcuser. Replace PASSWORD with an actual, strong password.

  4. Reload the grants table in MySQL and exist the MySQL prompt.

    > FLUSH PRIVILEGES;
    

    dotclearlinux4


Once the MYSQL database and user is created, the next step is to download the Dotclear installation package.


  1. Download the latest stable release of the Dotclear application.

    # wget http://download.dotclear.org/latest.zip
    

    dotclearlinux5

  2. 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/
    

    dotclearlinux6

    All the files/folders of the ZIP archive will be extracted to a folder named dotclear.

  3. Now open the web browser and navigate to http://IPaddress or http://yourdomain.com to enter the configuration details as in the below image and click on Continue.

    dotclearlinux7

    NOTE: Replace the configuration detail with original.

  4. Once the configuration completed, enter the User information and click on SAVE.

    dotclearlinux8

    NOTE: Replace the User information detail with original.

  5. You will get the All done! message page as in the below image after providing the User information.

    dotclearlinux9


    Click on the Manage your Blog now option to access the dashboard directly or navigate to the below URL.

    http://IPaddress/dotclear/admin/index.php
    
    http://Domainname/dotclear/admin/index.php
    

    NOTE: Replace the IP address or Domain name with the original.

  6. Below the images of the Dotclear website and dashboard.

    dotclearlinux10

    dotclearlinux11


Related Tutorial

What do you think about this article?

Rate this article