Learn How To Install Dotclear on Debian 9 (Stretch)
Table of Contents
If you are using a different system, please check our other tutorials.
Dotclear is a very simple blogging engine. It is open-source and easy to use. This tutorial will go through the installation on An ITWeb.Services high performance SSD VPS running Debian 9.
Prerequisites
- IT Web Services VPS with Debian 9
- Apache2, PHP and MySQL/MariaDB (LAMP stack)
- An SSH client of your choice to access the VPS.
- wget (
apt install wget
)
Log into your IT Web Services VPS as root using SSH. Navigate to your web root directory, usually /var/www/html/
, and delete everything to prepare the directory for the Dotclear installation:
cd /var/www/html
rm * -rf
Also, make sure Apache owns this directory:
chown www-data:www-data . -R
MySQL Setup
We need to create a database for Dotclear. First, login to the MySQL shell:
mysql -u root -p
Then, create a new database and assign a new user to it. Replace password
with a password of your choice. The password should be complex and long enough to adhere to the best security practices:
CREATE DATABASE dotclear;
GRANT ALL PRIVILEGES ON dotclear.* TO dotclearuser@localhost IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
q
Dotclear Installation
Ensure that your session is still in the var/www/html
folder.
cd /var/www/html
Download the Dotclear loader PHP script:
wget https://download.dotclear.org/loader/dotclear-loader.php
Open a web browser of your choice and navigate to http://your_vps_ip/dotclear-loader.php
and follow the instructions. During the installation, you will be asked for database details. Use the following details. Be sure to replace password
with the password you chose earlier:
Database type: MySQLi
Database Host Name: localhost
Database Name: dotclear
Database User Name: dotclearuser
Database Password: password
Finally, continue along to complete the installation.
Need help?
Do you need help setting up this on your own service?
Please contact us and we’ll provide you the best possible quote!