Difference between revisions of "Dotclear"

From ArchWiki
Jump to: navigation, search
(recategorize to avoid redirect after the old category has been renamed (https://github.com/lahwaacz/wiki-scripts/blob/master/recategorize-over-redirect.py))
m (style)
Line 6: Line 6:
  
 
= Before You Install =
 
= Before You Install =
{{Note| This howto assumes you have a LAMP already setup and ready to go. If you haven't set one up yet, see [[LAMP]].}}
+
{{Note|This howto assumes you have a LAMP already setup and ready to go. If you haven't set one up yet, see [[LAMP]].}}
  
 
= Installation =
 
= Installation =
== Step 1: Check PHP Configuration ==
+
== PHP configuration ==
# vim /etc/php/php.ini
+
Make sure the following extensions are uncommented in {{ic|/etc/php/php.ini}}:
Goto:
 
; available extensions
 
and enable, if not already enabled:
 
 
  extension=gd.so
 
  extension=gd.so
 
  extension=gettext.so
 
  extension=gettext.so
Line 19: Line 16:
 
  extension=mysql.so
 
  extension=mysql.so
  
== Step 2: Prepare MySQL Database ==
+
== Prepare MySQL Database ==
 
You need to create a dotclear database for the blog to write stuff to. One can choose '''dotclear2''' for the db name, '''dotclear''' for the username, and '''dotclearpass''' for the password. Assuming you've already accessed your mysql install and set a root password:
 
You need to create a dotclear database for the blog to write stuff to. One can choose '''dotclear2''' for the db name, '''dotclear''' for the username, and '''dotclearpass''' for the password. Assuming you've already accessed your mysql install and set a root password:
$ mysql -u root -p
+
{{hc|$ mysql -u root -p|2=
mysql> CREATE DATABASE dotclear2;
+
mysql> CREATE DATABASE dotclear2;
mysql> GRANT ALL PRIVILEGES ON dotclear2.* TO "dotclear2"@"localhost" IDENTIFIED BY "dotclearpass";
+
mysql> GRANT ALL PRIVILEGES ON dotclear2.* TO "dotclear2"@"localhost" IDENTIFIED BY "dotclearpass";
mysql> FLUSH PRIVILEGES;
+
mysql> FLUSH PRIVILEGES;
mysql> QUIT;
+
mysql> QUIT;
 +
}}
  
== Step 3 : Install dotclear==
+
== Install dotclear==

Revision as of 20:21, 6 December 2015


Introduction

This document describes how to set up the dotclear open source blogging engine on an Arch Linux system.

Before You Install

Note: This howto assumes you have a LAMP already setup and ready to go. If you haven't set one up yet, see LAMP.

Installation

PHP configuration

Make sure the following extensions are uncommented in /etc/php/php.ini:

extension=gd.so
extension=gettext.so
extension=iconv.so
extension=mysql.so

Prepare MySQL Database

You need to create a dotclear database for the blog to write stuff to. One can choose dotclear2 for the db name, dotclear for the username, and dotclearpass for the password. Assuming you've already accessed your mysql install and set a root password:

$ mysql -u root -p
mysql> CREATE DATABASE dotclear2;
mysql> GRANT ALL PRIVILEGES ON dotclear2.* TO "dotclear2"@"localhost" IDENTIFIED BY "dotclearpass";
mysql> FLUSH PRIVILEGES;
mysql> QUIT;

Install dotclear