How to install Dotclear in Ubuntu

To install Dotclear in Ubuntu

Dotclear is an open source web publishing application. It aims to develop a web-based software with multilingual interface and publishing capabilities. Installation of Dotclear in Ubuntu is explained in this article.

Features

  • User-friendly administration
  • Flexible template system
  • Media management
  • Built-in anti spam
  • Localization
  • Presentation widgets
  • Themes and plugins
  • Tags and categories


To install Dotclear

Before installing Dotclear, install LAMP server via below link.

https://www.linuxhelp.com/how-to-install-lamp-setup-in-ubuntu-15-10/

Now start the Apache web server with the following command.

root@linuxhelp:/home/user1/Desktop# /etc/init.d/apache2 start
[ ok ] Starting apache2 (via systemctl): apache2.service.


To create database for Dotclear

Utilize the following command to create database for Dotclear application.

root@linuxhelp:/home/user1/Desktop# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with   or g.
Your MySQL connection id is 9
Server version: 5.6.28-0ubuntu0.15.04.1 (Ubuntu)

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.

mysql>  CREATE DATABASE dotclear 
Query OK, 1 row affected (0.02 sec)
mysql>  exit
Bye

Then change the directory into /var/www/html/

root@linuxhelp:/home/user1/Desktop# cd /var/www/html/

Now its time to Dotclear package with the respective link.

root@linuxhelp:/var/www/html# wget http://download.dotclear.org/latest.tar.gz
--2016-10-27 01:56:21--  http://download.dotclear.org/latest.tar.gz
Resolving download.dotclear.org (download.dotclear.org)... 88.191.250.71
Connecting to download.dotclear.org (download.dotclear.org)|88.191.250.71|:80... connected.
HTTP request sent, awaiting response... 303 See Other
Location: http://download.dotclear.org/latest/dotclear-2.10.2.tar.gz [following]
--2016-10-27 01:56:23--  http://download.dotclear.org/latest/dotclear-2.10.2.tar.gz
Reusing existing connection to download.dotclear.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 2778496 (2.6M) [application/x-gzip]
Saving to: ‘ latest.tar.gz’ 

latest.tar.gz                      100%[===============================================================> ]   2.65M   672KB/s   in 4.8s   

2016-10-27 01:56:28 (569 KB/s) - ‘ latest.tar.gz’  saved [2778496/2778496]

Immediately extract the downloaded package with ' tar' command.

root@linuxhelp:/var/www/html# tar -xvzf latest.tar.gz
./dotclear/
./dotclear/db/
./dotclear/db/.htaccess
./dotclear/inc/
.
.
.
./dotclear/plugins/simpleMenu/simplemenu.js
./dotclear/CREDITS
./dotclear/CONTRIBUTING.md

Again you need to change directory into Dotclear. Then add the write permissions for the following directories.

root@linuxhelp:/var/www/html/dotclear# chmod a+w cache/
root@linuxhelp:/var/www/html/dotclear# chmod a+w inc/
root@linuxhelp:/var/www/html/dotclear# chmod a+w public/

Open the web browser and navigate to http://localhost/dotclear. Set the Database information as shown below,

Next enter the following details to create user for Dotclear.

Click on Manage your blog now option to complete the installation process.

Once the Dotclear is installed, open the Dashboard to view the advanced features as shown below,

Media manager

Preferences

Plugins Management

Tag : LAMP Dotclear
FAQ
Q
How to set the Antispam module in Dotclear?
A
TO install plugin


Antispam plugin


'settings' => array (


'self' => '',


'blog' => '#params.antispam_params'


)
Q
What is the Note for users and administrator in Dotclear?
A
For developers


The function crypt() (/inc/core/class.dc.auth.php) no more give the same results with the same parameter. If you need an "old fashion" encrypted password, you have to use cryptLegacy() function (same file).
Q
What is the purpose of using the Dotclear?
A
Dotclear is an open source web publishing application. It aims to develop a web-based software with multilingual interface and publishing capabilities.
Q
Where the URLs are listed in Dotclear?
A
On the plugin management page, by unfolding the additional info.

On each of the main pages of the plugins, provided you have the rights to access them
Q
How to set write permissions for the following directories?
A
Please run the following command as "root@linuxhelp:/var/www/html/dotclear# chmod a+w cache/ root@linuxhelp:/var/www/html/dotclear# chmod a+w inc/ root@linuxhelp:/var/www/html/dotclear# chmo