How to install Dotclear on CentOS Cloud Servers

2020-09-15 By Aaron 1706 Views linux centos dotclear cms_application
3 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 the 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 the 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 lsdcuser@localhost 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 are 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 the original.

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

    dotclearlinux8

    NOTE: Replace the User information detail with the 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 are the images of the Dotclear website and dashboard.

    dotclearlinux10

    dotclearlinux11


Related Tutorial

What do you think about this article?

Rate this article
Need assistance?

Try this guide to receive free bundled services at signup on a new free account.

Sign Up

Your Feedback Is Important

We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.