This article is outdated and may not work correctly for current operating systems or software.
Dotclear is a very simple blog engine which has been built on top of PHP. In this tutorial, we will install Dotclear on Ubuntu 16.04.
Log into your server with an SSH client.
With most LAMP stacks, website files are stored in the directory
/var/www/html/. Navigate to that folder and remove the placeholder files contained within it.
cd /var/www/html/ rm -rf index.php logo.png
To create a database, we need to log in to MySQL. You can do that with the following command:
mysql -u root -p
Then, we need to create the database and create a user for it (replace
<your_password> with your own password):
CREATE DATABASE dotclear; GRANT ALL PRIVILEGES ON dotclear.* TO dotclearuser@localhost IDENTIFIED BY '<your_password>'; FLUSH PRIVILEGES; \q
We will use the simple installer provided by Dotclear.
Make sure you are still in the
/var/www/html/ folder. If not, run
Download the loader script.
Ensure that our Apache user owns the folder.
chown www-data:www-data ./
Open up your web browser and navigate to
http://YOUR_IP_ADDRESS/dotclear-loader.php. You will be presented with the installer page. Follow the on-screen instructions.
On the second screen, it will ask you for the database details. Use the following details:
Database type: MySQLi Database Host Name: localhost Database Name: dotclear Database User Name: dotclearuser Database Password: <your_password>
Lastly, the installer will ask you for some personal information. I assume you don't need help with that - it's pretty standard. Now your blog will be up and running, enjoy!