How to Install Dotclear on Ubuntu 16.04

Dotclear is very popular today. It is a simple blogging engine built around PHP. It contains:

  • Automatic installation
  • Multi-blog and multi-user
  • Static Pages
  • Media manager
  • Custom layout

For a successful installation, you need a VPS server with a LAMP stack in Ubuntu 16.04. On most stacks, files for the entire website (usually) are stored in the /var/www/html/ directory. You must go to this folder and delete all the placeholder files that are contained in it.

cd /var/www/html/
rm -rf index.php logo.png

Database setup

For this step, you need to go to your MySLQ with the following command:

mysql -u root -p

Then you need to create the database and user (replace with < your password>)

GRANT ALL PRIVILEGES ON dotclear.* TO dotclearuser@localhost IDENTIFIED BY '<your_password>';

Install Dotclear

A simple installer provided by Dotclear will be used. Make sure you are still in the / var / www / html / folder. If not, run cd/var/www/html/. Download the bootloader script.


Make sure our Apache user owns this folder.

chown www-data:www-data ./

Open a web browser and go to http: //YOUR_IP_ADDRESS/dotclear-loader.php. You will be presented with the installer page. Follow the onscreen instructions. On the second screen, you will be prompted to enter the database data. Use the following details:

Database type: MySQLi
Database Host Name: localhost
Database Name: dotclear
Database User Name: dotclearuser
Database Password: <your_password>

Was this article helpful?

Related Articles

1 Comment

  1. Marketing

    I simply couldn’t depart your site before suggesting that I actually enjoyed the standard information a person provide on your visitors? Is gonna be back often in order to check up on new posts.