<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Installation Guide</title><link>https://sourceforge.net/p/djeen/wiki/Installation%2520Guide/</link><description>Recent changes to Installation Guide</description><atom:link href="https://sourceforge.net/p/djeen/wiki/Installation%20Guide/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 11 Sep 2013 08:00:51 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/djeen/wiki/Installation%20Guide/feed" rel="self" type="application/rss+xml"/><item><title>Installation Guide modified by Ghislain Bidaut</title><link>https://sourceforge.net/p/djeen/wiki/Installation%2520Guide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -348,6 +348,7 @@
 #### Step 3: Data spaces configuration

 This section applies to both storages, database and files. The form has to be filled with the following values:
+
 - Files directory  the path of the directory where the uploaded data files will be stored._(see above)_
 - Driver   MySQL or PostgreSQL
 - Host     localhost
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ghislain Bidaut</dc:creator><pubDate>Wed, 11 Sep 2013 08:00:51 -0000</pubDate><guid>https://sourceforge.netf8003097f41ec4198346a164d83e8eb0a2084603</guid></item><item><title>Installation Guide modified by Ghislain Bidaut</title><link>https://sourceforge.net/p/djeen/wiki/Installation%2520Guide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -369,7 +369,8 @@
 You can create a user access for Djeen, by clicking on the 'Create' button in Front-end access section.

 To finish the configuration process without creating the menu item, you MUST click on the Close icon on the top right of the interface.
-Modify user access for Djeen
+
+### Modify user access for Djeen

 If you want to change some parameters of the user access created above (like for example the menu in which it is displayed or its position in the menu):

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ghislain Bidaut</dc:creator><pubDate>Wed, 11 Sep 2013 08:00:04 -0000</pubDate><guid>https://sourceforge.net88c2bb45195a98f7e29fea09baef4695e8b8282a</guid></item><item><title>Installation Guide modified by Ghislain Bidaut</title><link>https://sourceforge.net/p/djeen/wiki/Installation%2520Guide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -75,7 +75,7 @@

 Add a php_info.php script to your document root:

-    echo '  ' &gt; /var/www/php_info.php
+    $ echo '  ' &gt; /var/www/php_info.php

 Connect to http://SERVER_NAME/php_info.php
 You should get nicely formatted tables about your web server installation.
@@ -84,12 +84,11 @@

 #### Perl

-    Under the shell, type the command below:
-
-    perl -e 'use CGI; my $q=new CGI(); print "CGI OK!"'
-
-
-    It should not return any error.
+Under the shell, type the command below:
+
+    $ perl -e 'use CGI; my $q=new CGI(); print "CGI OK!"'
+
+It should not return any error.

 ### Joomla! installation

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ghislain Bidaut</dc:creator><pubDate>Wed, 11 Sep 2013 07:59:07 -0000</pubDate><guid>https://sourceforge.net986bc994c199b54581e54b899a8dd10bfe048468</guid></item><item><title>Installation Guide modified by Ghislain Bidaut</title><link>https://sourceforge.net/p/djeen/wiki/Installation%2520Guide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -59,7 +59,9 @@
 #### Apache
 The web server is accessed by use of its internet name (my_computer.my_company.fr) or its IP address (10.1.1.1). If you install a test instance, this might be localhost. Whatever name is chosen, it will be referred here as SERVER_NAME.

-By default Apache provides access to documents located in the folder stated as DocumentRoot in its configuration. This folder corresponds to the root of the web server as seen from a user point of view, ie. http://SERVER_NAME/, which is the ROOT_URL of the web server. This folder varies on Linux distributions. It is either /var/www (CentOS), either /var/www (Ubuntu). The Apache configuration file is httpd.conf (CentOS) or /etc/apache2/sites-available/default (Ubuntu). It could also be found with: find /etc -name httpd.conf; find /var -name httpd.conf
+By default Apache provides access to documents located in the folder stated as DocumentRoot in its configuration. This folder corresponds to the root of the web server as seen from a user point of view, ie. http://SERVER_NAME/, which is the ROOT_URL of the web server. This folder varies on Linux distributions. It is either /var/www (CentOS), either /var/www (Ubuntu). The Apache configuration file is httpd.conf (CentOS) or /etc/apache2/sites-available/default (Ubuntu). It could also be found with: 
+
+    $ find /etc -name httpd.conf; find /var -name httpd.conf

     Directory  ROOT_URL
     /var/www/  http://SERVER_NAME/
@@ -267,7 +269,8 @@
         Allow from all
     

-Restart
+Restart with:
+
     $ service httpd restart (CentOS) or service apache2 stop; sleep 10; service apache2 start (Ubuntu)

 ### Directories configuration
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ghislain Bidaut</dc:creator><pubDate>Wed, 11 Sep 2013 07:57:27 -0000</pubDate><guid>https://sourceforge.net9faeaa6f23e15f9f65c7ee8996a1a039d538326f</guid></item><item><title>Installation Guide modified by Ghislain Bidaut</title><link>https://sourceforge.net/p/djeen/wiki/Installation%2520Guide/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ghislain Bidaut</dc:creator><pubDate>Tue, 03 Sep 2013 07:46:57 -0000</pubDate><guid>https://sourceforge.netfbf0d75c747452ec5492633de0cb02a186dc0254</guid></item><item><title>Installation modified by Ghislain Bidaut</title><link>https://sourceforge.net/p/djeen/wiki/Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -10,31 +10,28 @@
 ### Client
 All the features have been validated for the following browsers:

-    Firefox 7+
-    Chrome 16+
+- Firefox 7+
+- Chrome 16+

 ### Server

-    Unix OS
-
-    Apache server (on Linux: package httpd or apache2)
-
-    Perl version 5.x (required for the upload functionality, see below)
-
-    PHP version 5.3+
-    Several additional PHP libraries:
-        libmcrypt
-        php-mcrypt
-        php-mysql
-        php-pdo _(not available on Ubuntu, already integrated)
-        php-pgsql (if PostgreSQL is chosen as Djeen database, see below)
-
-    Database management system(s): the Joomla! database requires a MySQL database, while the Djeen database can be either a MySQL base or a PostgreSQL base; so install PostgreSQL if you choose it for Djeen data storage.
-        MySQL database system AND server (on Linux: packages mysql and myqsl-server)
-        PostgreSQL database system AND server (on Linux: packages postgresql and postgresql-server)
-        Optionally, phpmyadmin and pgmyadmin to get a Web user interface for those database engines.
-
-    Some disk space to store files
+- Unix OS
+- Apache server (on Linux: package httpd or apache2)
+- Perl version 5.x (required for the upload functionality, see below)
+- PHP version 5.3+
+- Several additional PHP libraries:
+ - libmcrypt
+ - php-mcrypt
+ - php-mysql
+ - php-pdo _(not available on Ubuntu, already integrated)
+ - php-pgsql (if PostgreSQL is chosen as Djeen database, see below)
+
+Database management system(s): the Joomla! database requires a MySQL database, while the Djeen database can be either a MySQL base or a PostgreSQL base; so install PostgreSQL if you choose it for Djeen data storage.
+- MySQL database system AND server (on Linux: packages mysql and myqsl-server)
+- PostgreSQL database system AND server (on Linux: packages postgresql and postgresql-server)
+- Optionally, phpmyadmin and pgmyadmin to get a Web user interface for those database engines.
+
+- Some disk space to store files

 Note: installation was originally tested on Linux CentOS 5.5 and 6.0 operating systems; it has been adapted for Ubuntu/Debian also.
 Perl and libraries
@@ -44,45 +41,46 @@
 Under Unix prompt, a locate CGI.pm will help to find out if the file exists somewhere on the server.
 If the file is not present, it has to be installed either with the package manager, either with the cpan tool (or perl -MCPAN -e shell).

-    CPAN way:
-    On the first use, CPAN will ask for configuration. It is possible to simply answer yes at the first question to have CPAN configure itself automatically. Then, under the CPAN prompt, the CGI package can be installed with install CGI.
-    If there is an error during the installation process, an upgrade command is necessary. The CGI library can then be installed normally with install CGI.
+- CPAN way:
+On the first use, CPAN will ask for configuration. It is possible to simply answer yes at the first question to have CPAN configure itself automatically. Then, under the CPAN prompt, the CGI package can be installed with install CGI.
+If there is an error during the installation process, an upgrade command is necessary. The CGI library can then be installed normally with install CGI.

 ### Installation of required packages under Ubuntu 10.4

 Packages should be named with their version. Required packages (except Perl) should be installed with a command like:

-sudo apt-get install mysql-client-5.1 mysql-server-5.1                # Mysql
-sudo apt-get install postgresql-8.4 postgresql-client-8.4             # Postgresql
-sudo apt-get install libmcrypt4 php5-mcrypt php5-mysql php5-pgsql     # PHP
-sudo apt-get install apache2-mpm-prefork libapache2-mod-php5          # Apache
-sudo apt-get install perl libcgi-pm-perl                              # Perl, CGI.pm
-
-Check your set up
-URL and PATH
-
+
+    $ sudo apt-get install mysql-client-5.1 mysql-server-5.1                # Mysql
+    $ sudo apt-get install postgresql-8.4 postgresql-client-8.4             # Postgresql
+    $ sudo apt-get install libmcrypt4 php5-mcrypt php5-mysql php5-pgsql     # PHP
+    $ sudo apt-get install apache2-mpm-prefork libapache2-mod-php5          # Apache
+    $ sudo apt-get install perl libcgi-pm-perl                              # Perl, CGI.pm
+
+#### Apache
 The web server is accessed by use of its internet name (my_computer.my_company.fr) or its IP address (10.1.1.1). If you install a test instance, this might be localhost. Whatever name is chosen, it will be referred here as SERVER_NAME.

 By default Apache provides access to documents located in the folder stated as DocumentRoot in its configuration. This folder corresponds to the root of the web server as seen from a user point of view, ie. http://SERVER_NAME/, which is the ROOT_URL of the web server. This folder varies on Linux distributions. It is either /var/www (CentOS), either /var/www (Ubuntu). The Apache configuration file is httpd.conf (CentOS) or /etc/apache2/sites-available/default (Ubuntu). It could also be found with: find /etc -name httpd.conf; find /var -name httpd.conf
-Directory  ROOT_URL
-/var/www/  http://SERVER_NAME/
-Web
-
-    Try connection to your web server: http://SERVER_NAME/
-    You should get the Apache 2 Test Page powered by CentOS (CentOS) or something like 'It works!' (Ubuntu).
-    Apache is working!
-
-PHP
-
-    Add a php_info.php script to your document root:
+
+    Directory  ROOT_URL
+    /var/www/  http://SERVER_NAME/
+
+Try connection to your web server: http://SERVER_NAME/
+You should get the Apache 2 Test Page powered by CentOS (CentOS) or something like 'It works!' (Ubuntu).
+
+Apache is working!
+
+#### PHP
+
+Add a php_info.php script to your document root:

     echo '  ' &gt; /var/www/php_info.php

-    Connect to http://SERVER_NAME/php_info.php
-    You should get nicely formatted tables about your web server installation.
-    PHP is working! (you should remove this script)
-
-Perl
+Connect to http://SERVER_NAME/php_info.php
+You should get nicely formatted tables about your web server installation.
+
+PHP is working! (you should remove this script)
+
+#### Perl

     Under the shell, type the command below:

@@ -92,83 +90,87 @@
     It should not return any error.

 ### Joomla! installation
-URL and PATH

 For sake of simplicity, Joomla! will be installed in the DocumentRoot tree in the following. You can either install Joomla! directory in the root or inside a sub-directory. Here is a directory/URL matching table supposing that DocumentRoot refers to /var/www :
-Joomla directory   ROOT_URL    JOOMLA_URL  JOOMLA_URL_PATH
-/var/www/  http://SERVER_NAME/     http://SERVER_NAME/     /
-/var/www/djeen/    http://SERVER_NAME/djeen    http://SERVER_NAME/djeen    /djeen
-
- Create a specific directory for Djeen
-cd /var/www
-mkdir djeen
+
+    Joomla directory   ROOT_URL    JOOMLA_URL  JOOMLA_URL_PATH
+    /var/www/  http://SERVER_NAME/     http://SERVER_NAME/     /
+    /var/www/djeen/    http://SERVER_NAME/djeen    http://SERVER_NAME/djeen    /djeen
+
+Create a specific directory for Djeen
+    $ cd /var/www
+    $ mkdir djeen

 Download and unpack
 First, Joomla! must be installed.

-    Download archives and installation instructions are found at http://www.joomla.org/.
-    (Instruction manual, if needed)
-
- Code for English version, change the link for other language
-wget http://joomlacode.org/gf/download/frsrelease/16914/73508/Joomla_2.5.4-Stable-Full_Package.zip 
-cd djeen
-unzip ../Joo*zip
-
-    Important: For the moment, Djeen can only be installed on a Joomla! version 1.5 website, due to compatibility problems between Djeen and the most recent versions of Joomla! (1.6 and above).
-
-    Uncompress the downloaded Joomla! archive into a directory under the DocumentRoot. NB: the archive does not contain a root folder, so the files will be unzipped directly in the current folder.
-    Usually, it is recommended to set the owner of the unpacked tree to the user running the Apache daemon. This insures that the web interface will access the Joomla! tree. You will not have to modify permissions for any component later, because component will be installed with the Apache user.
-    You can find the real user running Apache with: ps -edf | grep apache
-    On Ubuntu, this user is www-data, and its group is www-data.
-
-     Change the owner of Joomla! directory to apache user
-    chown -R www-data.www-data .
+Download archives and installation instructions are found at http://www.joomla.org/.
+
+This is the code for English version, change the link for other language
+    $ wget http://joomlacode.org/gf/download/frsrelease/16914/73508/Joomla_2.5.4-Stable-Full_Package.zip 
+    $ cd djeen
+    $ unzip ../Joo*zip
+
+Important: As of now, Djeen can only be installed on a Joomla! version 1.5 website, due to compatibility problems between Djeen and the most recent versions of Joomla! (1.6 and above).
+
+Uncompress the downloaded Joomla! archive into a directory under the DocumentRoot. NB: the archive does not contain a root folder, so the files will be unzipped directly in the current folder.
+Usually, it is recommended to set the owner of the unpacked tree to the user running the Apache daemon. This insures that the web interface will access the Joomla! tree. You will not have to modify permissions for any component later, because component will be installed with the Apache user.
+You can find the real user running Apache with: 
+    $ ps -edf | grep apache
+On Ubuntu, this user is www-data, and its group is www-data.
+
+Change the owner of Joomla! directory to apache user
+    $ chown -R www-data.www-data .

 #### On-line guided installation

 Joomla! installation is very well documented and you will be guided at each step, so you shouldn't encounter any notable difficulty. To start, just type the JOOMLA_URL into your web browser to begin the installation.

-Below are a few more precisions of each step.
-Step 2. Pre-installation check
+Below are additional indications for each step.
+
+##### Step 2. Pre-installation check
 In the Recommanded settings sub-section, if the Display Errors parameter is reported as 'On', you should:

-    go into your PHP configuration file (PHP.ini)
-    search for the line display_errors = On
-    set the value to Off
-    restart Apache server to have the new value taken into account
-    go back under your web browser and the Joomla! installation and click on the "Check again" button on the top right of the screen.
+- go into your PHP configuration file (PHP.ini)
+- search for the line display_errors = On
+- set the value to Off
+- restart Apache server to have the new value taken into account
+- go back under your web browser and the Joomla! installation and click on the "Check again" button on the top right of the screen.

 Letting the 'On' value will not cause any problem during the rest of the installation process. But once it's finished, the Joomla! website will have a very unpleasant display, with a LOT of warning messages, rending the navigation uncomfortable.
-Step 4. Database configuration
+
+##### Step 4. Database configuration

 You should only pay attention to the Basic settings sub-section.

 A default configuration would be as follow:
-Database Type  MySQL
-Host Name  localhost
-User Name  root
-Password   password of the aforementioned user
-Database Name  joomla_db
-Step 5. FTP configuration
+    Database Type  MySQL
+    Host Name  localhost
+    User Name  root
+    Password   password of the aforementioned user
+    Database Name  joomla_db
+
+##### Step 5. FTP configuration

 Djeen doesn't need FTP, so you can skip this step and go directly to the next one.
-Step 6. Main configuration
+##### Step 6. Main configuration

 Example data are not needed, so just don't worry about the related sub-section if it's still checked.
-Step 7. Finish
+##### Step 7. Finish

 Once you have - as requested - deleted the 'installation' directory, click on the 'Admin' button on the top right corner of the screen to access the administration section of your Joomla! website. It's from there that you will install the Djeen component later.
-Djeen installation
-Outline
+
+## Djeen installation
+
 In this section, we will set up the storage environment for Djeen. Djeen stores data in two spaces:
-a) the database space, in which objects are described are linked to files, and
-b) the file storage itself, meaning that data files are external from the database. Here we will set up both spaces.
-
-    add a database user allowed to manage databases
-    update access to the database
-    add Perl CGI support to Apache
-    change permission (usually not needed)
-    set up storage
+- a) the database space, in which objects are described are linked to files, and
+- b) the file storage itself, meaning that data files are external from the database. Here we will set up both spaces.
+
+- add a database user allowed to manage databases
+- update access to the database
+- add Perl CGI support to Apache
+- change permission (usually not needed)
+- set up storage

 ### Database initialization

@@ -178,79 +180,78 @@
 - allowed to create databases
 - with a password

-    In the following, we chose arbitrarily to name this user test (but could be also djeen).
-
-Choice A) MySQL database
+In the following, we chose arbitrarily to name this user test (but could be also djeen).
+
+#### Choice A) MySQL database

 Under Unix prompt:

-mysql -u root
-
-create user test@localhost identified by 'TYPE_HERE_THE_PASSWORD_OF_TEST';
-
-revoke super on *.* from test@localhost;
-
-grant create on *.* to test@localhost;
-grant alter on *.* to test@localhost;
-grant select on *.* to test@localhost;
-grant insert on *.* to test@localhost;
-grant update on *.* to test@localhost;
-grant delete on *.* to test@localhost;
-grant drop on *.* to test@localhost;
-grant lock tables on *.* to test@localhost;
-
-    Note 1: for the create user instruction, the password has to be typed between quotes.
-    Note 2: don't forget to mention the host (@localhost) after the user name.
-    Note 3: privilege lock tables is required to perform database dumps.
+    $ mysql -u root
+
+    &gt;create user test@localhost identified by 'TYPE_HERE_THE_PASSWORD_OF_TEST';
+    &gt;revoke super on *.* from test@localhost;
+    &gt;grant create on *.* to test@localhost;
+    &gt;grant alter on *.* to test@localhost;
+    &gt;grant select on *.* to test@localhost;
+    &gt;grant insert on *.* to test@localhost;
+    &gt;grant update on *.* to test@localhost;
+    &gt;grant delete on *.* to test@localhost;
+    &gt;grant drop on *.* to test@localhost;
+    &gt;grant lock tables on *.* to test@localhost;
+
+- Note 1: for the create user instruction, the password has to be typed between quotes.
+- Note 2: don't forget to mention the host (@localhost) after the user name.
+- Note 3: privilege lock tables is required to perform database dumps.

 Alternative: Use PhpMyAdmin on the database server.
-Choice B) PostgreSQL database
+#### Choice B) PostgreSQL database

 Under the Unix prompt (you might do sudo su to become super user first):

-su - postgres
-createuser -P test
+    $ su - postgres
+    $ createuser -P test

 The following lines must be added near the end of the pg_hba.conf, corresponding to the three types of connection. They must be added on the table with the following columns: TYPE DATABASE USER CIDR-ADDRESS METHOD.

-local   all    test                              password
-host    all    test        127.0.0.1/32          password
+    local   all    test                              password
+    host    all    test        127.0.0.1/32          password

 Important: Each user-specific rule must be placed before a general case rule if you want this rule to apply. The specific IPv4 Djeen's rule has to be typed above the default rule for IPv4 local connections.

-host    all    test        127.0.0.1/32          password
-host    all    all         127.0.0.1/32          ident
+    host    all    test        127.0.0.1/32          password
+    host    all    all         127.0.0.1/32          ident

 The pg_hba.conf is located in /var/lib/pgsql/data (CentOS) or /etc/postgresql/8.4/main (Ubuntu). You could find it with:
-find /var -name pg_hba.conf; find /etc -name pg_hba.conf
-CGI scripts management
+    $ find /var -name pg_hba.conf; find /etc -name pg_hba.conf
+
+#### CGI scripts management

 Djeen file upload functionality uses Perl CGI. CGI scripts must be activated in your Apache configuration, if not already, and restricted to the Djeen tree. There are two ways of adding this information to the Apache configuration. Once done, restart the web server (see below).

 1) Specify a ScriptAlias:

-ScriptAlias /JOOMLA_URL_PATH/components/com_djeen/assets/cgi/ "/DOCUMENT_ROOT/JOOMLA_URL_PATH/components/com_djeen/assets/cgi/"
+    ScriptAlias /JOOMLA_URL_PATH/components/com_djeen/assets/cgi/ "/DOCUMENT_ROOT/JOOMLA_URL_PATH/components/com_djeen/assets/cgi/"

 Moreover, you could restrict PerlCGI execution to the Djeen component using the followings (untested):

-
-    AllowOverride None
-    Options None
-    Order allow,deny
-    Allow from all
-
+    
+        AllowOverride None
+        Options None
+        Order allow,deny
+        Allow from all
+    

 Which turns into:

-# Djeen section for Apache
-scriptAlias "/djeen/components/com_djeen/assets/cgi/" "/var/www/djeen/components/com_djeen/assets/cgi/" 
-
+    # Djeen section for Apache
+    scriptAlias "/djeen/components/com_djeen/assets/cgi/" "/var/www/djeen/components/com_djeen/assets/cgi/" 
+    
       AllowOverride None
-      Options None
-      Order allow,deny
-      Allow from all
-
+          Options None
+          Order allow,deny
+          Allow from all
+    

 or 2) To specify ExecCGI option:

@@ -259,15 +260,15 @@

 The same file must specify that the server is granted the right to execute CGI scripts located in Djeen CGI dedicated directory.

-
-    AllowOverride None
-    Options +ExecCGI
-    Order allow,deny
-    Allow from all
-
-
-    Restart
-    service httpd restart (CentOS) or service apache2 stop; sleep 10; service apache2 start (Ubuntu)
+    
+        AllowOverride None
+        Options +ExecCGI
+        Order allow,deny
+        Allow from all
+    
+
+Restart
+    $ service httpd restart (CentOS) or service apache2 stop; sleep 10; service apache2 start (Ubuntu)

 ### Directories configuration
 Files' storage permissions
@@ -278,27 +279,28 @@

 Either create the Djeen files root storage:

-mkdir /my_big_disk/djeen_1
-chown -r www-data.www-data /my_big_disk/djeen_1
+    $ mkdir /my_big_disk/djeen_1
+    $ chown -r www-data.www-data /my_big_disk/djeen_1

 either create the Djeen root storage:

-mkdir /my_big_disk/djeen            # Root of all needed disk access
-mkdir /my_big_disk/djeen/djeen_1    # Files storage
-mkdir /my_big_disk/djeen/log        # Log storage
-mkdir /my_big_disk/djeen/cache     # Cache storage
-chown -r www-data.www-data /my_big_disk/djeen
+    $ mkdir /my_big_disk/djeen            # Root of all needed disk access
+    $ mkdir /my_big_disk/djeen/djeen_1    # Files storage
+    $ mkdir /my_big_disk/djeen/log        # Log storage
+    $ mkdir /my_big_disk/djeen/cache     # Cache storage
+    $ chown -r www-data.www-data /my_big_disk/djeen

 Important: for security reasons, you are not allowed to define the data directories as subdirectories of the Djeen component. It is indeed better to separate the component engine from its data (Note: CGI directory isn't considered as a data directory).
-Joomla! sub-directories permissions
+
+### Joomla! sub-directories permissions

 This section could be skipped safely if you already changed the owner of Joomla! directory previously.

 Once Joomla! is installed, the Apache user and group are needed. They are specified in the httpd.conf file, as follows:

-User MY_APACHE_USER
-Group MY_APACHE_GROUP
+    User MY_APACHE_USER
+    Group MY_APACHE_GROUP

 The read/write/execute rights to the Apache user and group must be given to the following sub-directories of the website (chown -R MY_APACHE_USER:MY_APACHE_GROUP DIRECTORY_PATH on Linux). Otherwise, file copy in those directories could fail during the following component installation:

@@ -344,19 +346,20 @@
 #### Step 3: Data spaces configuration

 This section applies to both storages, database and files. The form has to be filled with the following values:
-Files directory    the path of the directory where the uploaded data files will be stored._(see above)_
-Driver     MySQL or PostgreSQL
-Host   localhost
-Port   3306 (default port for MySQL) or 5432 (default port for PostgreSQL)
-Base   the name of the Djeen database to be created
-User   the name of the MySQL / PostgreSQL user you created earlier
-Password   password of this user
+- Files directory  the path of the directory where the uploaded data files will be stored._(see above)_
+- Driver   MySQL or PostgreSQL
+- Host     localhost
+- Port     3306 (default port for MySQL) or 5432 (default port for PostgreSQL)
+- Base     the name of the Djeen database to be created
+- User     the name of the MySQL / PostgreSQL user you created earlier
+- Password     password of this user
+
 Note: if the installation bugs at the validation of this step, that's to say, depending if you desactivated the PHP display_errors parameter or not:

-    you just get a white screen
-    you get the undefined function mcrypt_encrypt() PHP error message (or something similar)
-
-It's due to the fact that you didn't install the prerequisites PHP libraires libmcrypt and php-mcrypt (see here).
+- you just get a white screen
+- you get the undefined function mcrypt_encrypt() PHP error message (or something similar)
+
+It is due to the fact that you didn't install the prerequisites PHP libraires libmcrypt and php-mcrypt (see here).

 #### Step 4: Installation summary

@@ -368,9 +371,9 @@

 If you want to change some parameters of the user access created above (like for example the menu in which it is displayed or its position in the menu):

-    Go into Menus =&gt; Main Menu
-    Click on the 'Djeen' menu item.
-    Make your changes, and save them.
+- Go into Menus =&gt; Main Menu
+- Click on the 'Djeen' menu item.
+- Make your changes, and save them.

 ### Finish
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ghislain Bidaut</dc:creator><pubDate>Mon, 02 Sep 2013 15:08:43 -0000</pubDate><guid>https://sourceforge.neta316c28f87d0eba8c13226df1d0ed03d7d1c0f58</guid></item><item><title>Installation modified by Ghislain Bidaut</title><link>https://sourceforge.net/p/djeen/wiki/Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="djeen-installation-guide"&gt;Djeen Installation Guide&lt;/h1&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites&lt;/h2&gt;
&lt;h3 id="version"&gt;Version&lt;/h3&gt;
&lt;p&gt;This guide was written for Djeen version 1.5 and Joomla! 1.5.&lt;br /&gt;
System Requirements&lt;/p&gt;
&lt;h3 id="client"&gt;Client&lt;/h3&gt;
&lt;p&gt;All the features have been validated for the following browsers:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;Firefox&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;
&lt;span class="n"&gt;Chrome&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id="server"&gt;Server&lt;/h3&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nx"&gt;Unix&lt;/span&gt; &lt;span class="nx"&gt;OS&lt;/span&gt;

&lt;span class="nx"&gt;Apache&lt;/span&gt; &lt;span class="nx"&gt;server&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;on&lt;/span&gt; &lt;span class="nx"&gt;Linux&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="kr"&gt;package&lt;/span&gt; &lt;span class="nx"&gt;httpd&lt;/span&gt; &lt;span class="nx"&gt;or&lt;/span&gt; &lt;span class="nx"&gt;apache2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="nx"&gt;Perl&lt;/span&gt; &lt;span class="nx"&gt;version&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;x&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;required&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="nx"&gt;the&lt;/span&gt; &lt;span class="nx"&gt;upload&lt;/span&gt; &lt;span class="nx"&gt;functionality&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;see&lt;/span&gt; &lt;span class="nx"&gt;below&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="nx"&gt;PHP&lt;/span&gt; &lt;span class="nx"&gt;version&lt;/span&gt; &lt;span class="mf"&gt;5.3&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;
&lt;span class="nx"&gt;Several&lt;/span&gt; &lt;span class="nx"&gt;additional&lt;/span&gt; &lt;span class="nx"&gt;PHP&lt;/span&gt; &lt;span class="nx"&gt;libraries&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
    &lt;span class="nx"&gt;libmcrypt&lt;/span&gt;
    &lt;span class="nx"&gt;php&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;mcrypt&lt;/span&gt;
    &lt;span class="nx"&gt;php&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;mysql&lt;/span&gt;
    &lt;span class="nx"&gt;php&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;pdo&lt;/span&gt; &lt;span class="nx"&gt;_&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;not&lt;/span&gt; &lt;span class="nx"&gt;available&lt;/span&gt; &lt;span class="nx"&gt;on&lt;/span&gt; &lt;span class="nx"&gt;Ubuntu&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;already&lt;/span&gt; &lt;span class="nx"&gt;integrated&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nx"&gt;php&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;pgsql&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nx"&gt;PostgreSQL&lt;/span&gt; &lt;span class="nx"&gt;is&lt;/span&gt; &lt;span class="nx"&gt;chosen&lt;/span&gt; &lt;span class="nx"&gt;as&lt;/span&gt; &lt;span class="nx"&gt;Djeen&lt;/span&gt; &lt;span class="nx"&gt;database&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;see&lt;/span&gt; &lt;span class="nx"&gt;below&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="nx"&gt;Database&lt;/span&gt; &lt;span class="nx"&gt;management&lt;/span&gt; &lt;span class="nx"&gt;system&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;s&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;the&lt;/span&gt; &lt;span class="nx"&gt;Joomla&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="nx"&gt;database&lt;/span&gt; &lt;span class="nx"&gt;requires&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="nx"&gt;MySQL&lt;/span&gt; &lt;span class="nx"&gt;database&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="nx"&gt;the&lt;/span&gt; &lt;span class="nx"&gt;Djeen&lt;/span&gt; &lt;span class="nx"&gt;database&lt;/span&gt; &lt;span class="nx"&gt;can&lt;/span&gt; &lt;span class="nx"&gt;be&lt;/span&gt; &lt;span class="nx"&gt;either&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="nx"&gt;MySQL&lt;/span&gt; &lt;span class="nx"&gt;base&lt;/span&gt; &lt;span class="nx"&gt;or&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="nx"&gt;PostgreSQL&lt;/span&gt; &lt;span class="nx"&gt;base&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="nx"&gt;so&lt;/span&gt; &lt;span class="nx"&gt;install&lt;/span&gt; &lt;span class="nx"&gt;PostgreSQL&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nx"&gt;you&lt;/span&gt; &lt;span class="nx"&gt;choose&lt;/span&gt; &lt;span class="nx"&gt;it&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="nx"&gt;Djeen&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt; &lt;span class="nx"&gt;storage&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
    &lt;span class="nx"&gt;MySQL&lt;/span&gt; &lt;span class="nx"&gt;database&lt;/span&gt; &lt;span class="nx"&gt;system&lt;/span&gt; &lt;span class="nx"&gt;AND&lt;/span&gt; &lt;span class="nx"&gt;server&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;on&lt;/span&gt; &lt;span class="nx"&gt;Linux&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;packages&lt;/span&gt; &lt;span class="nx"&gt;mysql&lt;/span&gt; &lt;span class="nx"&gt;and&lt;/span&gt; &lt;span class="nx"&gt;myqsl&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;server&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nx"&gt;PostgreSQL&lt;/span&gt; &lt;span class="nx"&gt;database&lt;/span&gt; &lt;span class="nx"&gt;system&lt;/span&gt; &lt;span class="nx"&gt;AND&lt;/span&gt; &lt;span class="nx"&gt;server&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;on&lt;/span&gt; &lt;span class="nx"&gt;Linux&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;packages&lt;/span&gt; &lt;span class="nx"&gt;postgresql&lt;/span&gt; &lt;span class="nx"&gt;and&lt;/span&gt; &lt;span class="nx"&gt;postgresql&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;server&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="nx"&gt;Optionally&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;phpmyadmin&lt;/span&gt; &lt;span class="nx"&gt;and&lt;/span&gt; &lt;span class="nx"&gt;pgmyadmin&lt;/span&gt; &lt;span class="nx"&gt;to&lt;/span&gt; &lt;span class="nx"&gt;get&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="nx"&gt;Web&lt;/span&gt; &lt;span class="nx"&gt;user&lt;/span&gt; &lt;span class="kr"&gt;interface&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="nx"&gt;those&lt;/span&gt; &lt;span class="nx"&gt;database&lt;/span&gt; &lt;span class="nx"&gt;engines&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;

&lt;span class="nx"&gt;Some&lt;/span&gt; &lt;span class="nx"&gt;disk&lt;/span&gt; &lt;span class="nx"&gt;space&lt;/span&gt; &lt;span class="nx"&gt;to&lt;/span&gt; &lt;span class="nx"&gt;store&lt;/span&gt; &lt;span class="nx"&gt;files&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Note: installation was originally tested on Linux CentOS 5.5 and 6.0 operating systems; it has been adapted for Ubuntu/Debian also.&lt;br /&gt;
Perl and libraries&lt;/p&gt;
&lt;p&gt;At last, the CGI.pm file must be checked for its presence on the server. This is the perl library managing CGIs.&lt;/p&gt;
&lt;p&gt;Under Unix prompt, a locate CGI.pm will help to find out if the file exists somewhere on the server.&lt;br /&gt;
If the file is not present, it has to be installed either with the package manager, either with the cpan tool (or perl -MCPAN -e shell).&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;CPAN&lt;/span&gt; &lt;span class="n"&gt;way&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
&lt;span class="n"&gt;On&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;first&lt;/span&gt; &lt;span class="n"&gt;use&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;CPAN&lt;/span&gt; &lt;span class="n"&gt;will&lt;/span&gt; &lt;span class="n"&gt;ask&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;configuration&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="n"&gt;It&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;possible&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;simply&lt;/span&gt; &lt;span class="n"&gt;answer&lt;/span&gt; &lt;span class="n"&gt;yes&lt;/span&gt; &lt;span class="n"&gt;at&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;first&lt;/span&gt; &lt;span class="n"&gt;question&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;have&lt;/span&gt; &lt;span class="n"&gt;CPAN&lt;/span&gt; &lt;span class="n"&gt;configure&lt;/span&gt; &lt;span class="n"&gt;itself&lt;/span&gt; &lt;span class="n"&gt;automatically&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="n"&gt;Then&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;under&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;CPAN&lt;/span&gt; &lt;span class="n"&gt;prompt&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;CGI&lt;/span&gt; &lt;span class="n"&gt;package&lt;/span&gt; &lt;span class="n"&gt;can&lt;/span&gt; &lt;span class="n"&gt;be&lt;/span&gt; &lt;span class="n"&gt;installed&lt;/span&gt; &lt;span class="n"&gt;with&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt; &lt;span class="n"&gt;CGI&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;span class="n"&gt;If&lt;/span&gt; &lt;span class="n"&gt;there&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;an&lt;/span&gt; &lt;span class="n"&gt;error&lt;/span&gt; &lt;span class="n"&gt;during&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;installation&lt;/span&gt; &lt;span class="n"&gt;process&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;an&lt;/span&gt; &lt;span class="n"&gt;upgrade&lt;/span&gt; &lt;span class="n"&gt;command&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;necessary&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt; &lt;span class="n"&gt;The&lt;/span&gt; &lt;span class="n"&gt;CGI&lt;/span&gt; &lt;span class="n"&gt;library&lt;/span&gt; &lt;span class="n"&gt;can&lt;/span&gt; &lt;span class="n"&gt;then&lt;/span&gt; &lt;span class="n"&gt;be&lt;/span&gt; &lt;span class="n"&gt;installed&lt;/span&gt; &lt;span class="n"&gt;normally&lt;/span&gt; &lt;span class="n"&gt;with&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt; &lt;span class="n"&gt;CGI&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id="installation-of-required-packages-under-ubuntu-104"&gt;Installation of required packages under Ubuntu 10.4&lt;/h3&gt;
&lt;p&gt;Packages should be named with their version. Required packages (except Perl) should be installed with a command like:&lt;/p&gt;
&lt;p&gt;sudo apt-get install mysql-client-5.1 mysql-server-5.1                # Mysql&lt;br /&gt;
sudo apt-get install postgresql-8.4 postgresql-client-8.4             # Postgresql&lt;br /&gt;
sudo apt-get install libmcrypt4 php5-mcrypt php5-mysql php5-pgsql     # PHP&lt;br /&gt;
sudo apt-get install apache2-mpm-prefork libapache2-mod-php5          # Apache&lt;br /&gt;
sudo apt-get install perl libcgi-pm-perl                              # Perl, CGI.pm&lt;/p&gt;
&lt;p&gt;Check your set up&lt;br /&gt;
URL and PATH&lt;/p&gt;
&lt;p&gt;The web server is accessed by use of its internet name (my_computer.my_company.fr) or its IP address (10.1.1.1). If you install a test instance, this might be localhost. Whatever name is chosen, it will be referred here as SERVER_NAME.&lt;/p&gt;
&lt;p&gt;By default Apache provides access to documents located in the folder stated as DocumentRoot in its configuration. This folder corresponds to the root of the web server as seen from a user point of view, ie. &lt;a href="http://SERVER_NAME/" rel="nofollow"&gt;http://SERVER_NAME/&lt;/a&gt;, which is the ROOT_URL of the web server. This folder varies on Linux distributions. It is either /var/www (CentOS), either /var/www (Ubuntu). The Apache configuration file is httpd.conf (CentOS) or /etc/apache2/sites-available/default (Ubuntu). It could also be found with: find /etc -name httpd.conf; find /var -name httpd.conf&lt;br /&gt;
Directory   ROOT_URL&lt;br /&gt;
/var/www/   &lt;a href="http://SERVER_NAME/" rel="nofollow"&gt;http://SERVER_NAME/&lt;/a&gt;&lt;br /&gt;
Web&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;Try&lt;/span&gt; &lt;span class="n"&gt;connection&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;your&lt;/span&gt; &lt;span class="n"&gt;web&lt;/span&gt; &lt;span class="n"&gt;server&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//SERVER_NAME/&lt;/span&gt;
&lt;span class="n"&gt;You&lt;/span&gt; &lt;span class="n"&gt;should&lt;/span&gt; &lt;span class="n"&gt;get&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;Apache&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="n"&gt;Test&lt;/span&gt; &lt;span class="n"&gt;Page&lt;/span&gt; &lt;span class="n"&gt;powered&lt;/span&gt; &lt;span class="n"&gt;by&lt;/span&gt; &lt;span class="n"&gt;CentOS&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;CentOS&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;or&lt;/span&gt; &lt;span class="n"&gt;something&lt;/span&gt; &lt;span class="n"&gt;like&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;It&lt;/span&gt; &lt;span class="n"&gt;works&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Ubuntu&lt;/span&gt;&lt;span class="p"&gt;).&lt;/span&gt;
&lt;span class="n"&gt;Apache&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;working&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;PHP&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nx"&gt;Add&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="nx"&gt;php_info&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;php&lt;/span&gt; &lt;span class="nx"&gt;script&lt;/span&gt; &lt;span class="nx"&gt;to&lt;/span&gt; &lt;span class="nx"&gt;your&lt;/span&gt; &lt;span class="nb"&gt;document&lt;/span&gt; &lt;span class="nx"&gt;root&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;

&lt;span class="nx"&gt;echo&lt;/span&gt; &lt;span class="s1"&gt;' &lt;/span&gt;&lt;span class="cp"&gt;&amp;lt;?php&lt;/span&gt; &lt;span class="nb"&gt;phpinfo&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt; &lt;span class="cp"&gt;?&amp;gt;&lt;/span&gt;&lt;span class="s1"&gt; '&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="err"&gt;/var/www/php_info.php&lt;/span&gt;

&lt;span class="nx"&gt;Connect&lt;/span&gt; &lt;span class="nx"&gt;to&lt;/span&gt; &lt;span class="nx"&gt;http&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//SERVER_NAME/php_info.php&lt;/span&gt;
&lt;span class="nx"&gt;You&lt;/span&gt; &lt;span class="nx"&gt;should&lt;/span&gt; &lt;span class="nx"&gt;get&lt;/span&gt; &lt;span class="nx"&gt;nicely&lt;/span&gt; &lt;span class="nx"&gt;formatted&lt;/span&gt; &lt;span class="nx"&gt;tables&lt;/span&gt; &lt;span class="nx"&gt;about&lt;/span&gt; &lt;span class="nx"&gt;your&lt;/span&gt; &lt;span class="nx"&gt;web&lt;/span&gt; &lt;span class="nx"&gt;server&lt;/span&gt; &lt;span class="nx"&gt;installation&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;span class="nx"&gt;PHP&lt;/span&gt; &lt;span class="nx"&gt;is&lt;/span&gt; &lt;span class="nx"&gt;working&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;you&lt;/span&gt; &lt;span class="nx"&gt;should&lt;/span&gt; &lt;span class="nx"&gt;remove&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt; &lt;span class="nx"&gt;script&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Perl&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;Under&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;shell&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;type&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;command&lt;/span&gt; &lt;span class="n"&gt;below:&lt;/span&gt;

&lt;span class="n"&gt;perl&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;e&lt;/span&gt; &lt;span class="s"&gt;'use CGI; my $q=new CGI(); print &amp;quot;CGI OK!&amp;quot;'&lt;/span&gt;

&lt;span class="n"&gt;It&lt;/span&gt; &lt;span class="n"&gt;should&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;any&lt;/span&gt; &lt;span class="n"&gt;error&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id="joomla-installation"&gt;Joomla! installation&lt;/h3&gt;
&lt;p&gt;URL and PATH&lt;/p&gt;
&lt;p&gt;For sake of simplicity, Joomla! will be installed in the DocumentRoot tree in the following. You can either install Joomla! directory in the root or inside a sub-directory. Here is a directory/URL matching table supposing that DocumentRoot refers to /var/www :&lt;br /&gt;
Joomla directory    ROOT_URL    JOOMLA_URL  JOOMLA_URL_PATH&lt;br /&gt;
/var/www/   &lt;a href="http://SERVER_NAME/" rel="nofollow"&gt;http://SERVER_NAME/&lt;/a&gt; &lt;a href="http://SERVER_NAME/" rel="nofollow"&gt;http://SERVER_NAME/&lt;/a&gt;     /&lt;br /&gt;
/var/www/djeen/     &lt;a href="http://SERVER_NAME/djeen" rel="nofollow"&gt;http://SERVER_NAME/djeen&lt;/a&gt; &lt;a href="http://SERVER_NAME/djeen" rel="nofollow"&gt;http://SERVER_NAME/djeen&lt;/a&gt;    /djeen&lt;/p&gt;
&lt;p&gt;Create a specific directory for Djeen&lt;br /&gt;
cd /var/www&lt;br /&gt;
mkdir djeen&lt;/p&gt;
&lt;p&gt;Download and unpack&lt;br /&gt;
First, Joomla! must be installed.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;Download&lt;/span&gt; &lt;span class="n"&gt;archives&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;installation&lt;/span&gt; &lt;span class="n"&gt;instructions&lt;/span&gt; &lt;span class="n"&gt;are&lt;/span&gt; &lt;span class="n"&gt;found&lt;/span&gt; &lt;span class="n"&gt;at&lt;/span&gt; &lt;span class="n"&gt;http&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//www.joomla.org/.&lt;/span&gt;
&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Instruction&lt;/span&gt; &lt;span class="n"&gt;manual&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;needed&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Code for English version, change the link for other language&lt;br /&gt;
wget &lt;a href="http://joomlacode.org/gf/download/frsrelease/16914/73508/Joomla_2.5.4-Stable-Full_Package.zip" rel="nofollow"&gt;http://joomlacode.org/gf/download/frsrelease/16914/73508/Joomla_2.5.4-Stable-Full_Package.zip&lt;/a&gt; &lt;br /&gt;
cd djeen&lt;br /&gt;
unzip ../Joo*zip&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;Important&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;For&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;moment&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;Djeen&lt;/span&gt; &lt;span class="n"&gt;can&lt;/span&gt; &lt;span class="n"&gt;only&lt;/span&gt; &lt;span class="n"&gt;be&lt;/span&gt; &lt;span class="n"&gt;installed&lt;/span&gt; &lt;span class="n"&gt;on&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;Joomla&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="n"&gt;version&lt;/span&gt; &lt;span class="mf"&gt;1.5&lt;/span&gt; &lt;span class="n"&gt;website&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;due&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;compatibility&lt;/span&gt; &lt;span class="n"&gt;problems&lt;/span&gt; &lt;span class="n"&gt;between&lt;/span&gt; &lt;span class="n"&gt;Djeen&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;most&lt;/span&gt; &lt;span class="n"&gt;recent&lt;/span&gt; &lt;span class="n"&gt;versions&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;Joomla&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="mf"&gt;1.6&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;above&lt;/span&gt;&lt;span class="o"&gt;).&lt;/span&gt;

&lt;span class="n"&gt;Uncompress&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;downloaded&lt;/span&gt; &lt;span class="n"&gt;Joomla&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="n"&gt;archive&lt;/span&gt; &lt;span class="n"&gt;into&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;directory&lt;/span&gt; &lt;span class="n"&gt;under&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;DocumentRoot&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="n"&gt;NB&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;archive&lt;/span&gt; &lt;span class="n"&gt;does&lt;/span&gt; &lt;span class="n"&gt;not&lt;/span&gt; &lt;span class="n"&gt;contain&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;root&lt;/span&gt; &lt;span class="n"&gt;folder&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;so&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;files&lt;/span&gt; &lt;span class="n"&gt;will&lt;/span&gt; &lt;span class="n"&gt;be&lt;/span&gt; &lt;span class="n"&gt;unzipped&lt;/span&gt; &lt;span class="n"&gt;directly&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;current&lt;/span&gt; &lt;span class="n"&gt;folder&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;
&lt;span class="n"&gt;Usually&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;it&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="n"&gt;recommended&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="kd"&gt;set&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;owner&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;unpacked&lt;/span&gt; &lt;span class="n"&gt;tree&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="n"&gt;running&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;Apache&lt;/span&gt; &lt;span class="n"&gt;daemon&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="n"&gt;This&lt;/span&gt; &lt;span class="n"&gt;insures&lt;/span&gt; &lt;span class="n"&gt;that&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;web&lt;/span&gt; &lt;span class="kd"&gt;interface&lt;/span&gt; &lt;span class="n"&gt;will&lt;/span&gt; &lt;span class="n"&gt;access&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;Joomla&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="n"&gt;tree&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt; &lt;span class="n"&gt;You&lt;/span&gt; &lt;span class="n"&gt;will&lt;/span&gt; &lt;span class="n"&gt;not&lt;/span&gt; &lt;span class="n"&gt;have&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;modify&lt;/span&gt; &lt;span class="n"&gt;permissions&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;any&lt;/span&gt; &lt;span class="n"&gt;component&lt;/span&gt; &lt;span class="n"&gt;later&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;because&lt;/span&gt; &lt;span class="n"&gt;component&lt;/span&gt; &lt;span class="n"&gt;will&lt;/span&gt; &lt;span class="n"&gt;be&lt;/span&gt; &lt;span class="n"&gt;installed&lt;/span&gt; &lt;span class="k"&gt;with&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;Apache&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;
&lt;span class="n"&gt;You&lt;/span&gt; &lt;span class="n"&gt;can&lt;/span&gt; &lt;span class="n"&gt;find&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;real&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="n"&gt;running&lt;/span&gt; &lt;span class="n"&gt;Apache&lt;/span&gt; &lt;span class="k"&gt;with&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;ps&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;edf&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; &lt;span class="n"&gt;grep&lt;/span&gt; &lt;span class="n"&gt;apache&lt;/span&gt;
&lt;span class="n"&gt;On&lt;/span&gt; &lt;span class="n"&gt;Ubuntu&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="k"&gt;this&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;its&lt;/span&gt; &lt;span class="n"&gt;group&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;

 &lt;span class="n"&gt;Change&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;owner&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;Joomla&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="n"&gt;directory&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;apache&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt;
&lt;span class="n"&gt;chown&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;R&lt;/span&gt; &lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;www&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="o"&gt;.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h4 id="on-line-guided-installation"&gt;On-line guided installation&lt;/h4&gt;
&lt;p&gt;Joomla! installation is very well documented and you will be guided at each step, so you shouldn't encounter any notable difficulty. To start, just type the JOOMLA_URL into your web browser to begin the installation.&lt;/p&gt;
&lt;p&gt;Below are a few more precisions of each step.&lt;br /&gt;
Step 2. Pre-installation check&lt;br /&gt;
In the Recommanded settings sub-section, if the Display Errors parameter is reported as 'On', you should:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;go&lt;/span&gt; &lt;span class="n"&gt;into&lt;/span&gt; &lt;span class="n"&gt;your&lt;/span&gt; &lt;span class="n"&gt;PHP&lt;/span&gt; &lt;span class="n"&gt;configuration&lt;/span&gt; &lt;span class="n"&gt;file&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;PHP&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ini&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;search&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;line&lt;/span&gt; &lt;span class="n"&gt;display_errors&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;On&lt;/span&gt;
&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;Off&lt;/span&gt;
&lt;span class="n"&gt;restart&lt;/span&gt; &lt;span class="n"&gt;Apache&lt;/span&gt; &lt;span class="n"&gt;server&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;have&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;new&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt; &lt;span class="n"&gt;taken&lt;/span&gt; &lt;span class="n"&gt;into&lt;/span&gt; &lt;span class="n"&gt;account&lt;/span&gt;
&lt;span class="n"&gt;go&lt;/span&gt; &lt;span class="n"&gt;back&lt;/span&gt; &lt;span class="n"&gt;under&lt;/span&gt; &lt;span class="n"&gt;your&lt;/span&gt; &lt;span class="n"&gt;web&lt;/span&gt; &lt;span class="n"&gt;browser&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;Joomla&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="n"&gt;installation&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;click&lt;/span&gt; &lt;span class="n"&gt;on&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="s"&gt;&amp;quot;Check again&amp;quot;&lt;/span&gt; &lt;span class="n"&gt;button&lt;/span&gt; &lt;span class="n"&gt;on&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;top&lt;/span&gt; &lt;span class="n"&gt;right&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;screen&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Letting the 'On' value will not cause any problem during the rest of the installation process. But once it's finished, the Joomla! website will have a very unpleasant display, with a LOT of warning messages, rending the navigation uncomfortable.&lt;br /&gt;
Step 4. Database configuration&lt;/p&gt;
&lt;p&gt;You should only pay attention to the Basic settings sub-section.&lt;/p&gt;
&lt;p&gt;A default configuration would be as follow:&lt;br /&gt;
Database Type   MySQL&lt;br /&gt;
Host Name   localhost&lt;br /&gt;
User Name   root&lt;br /&gt;
Password    password of the aforementioned user&lt;br /&gt;
Database Name   joomla_db&lt;br /&gt;
Step 5. FTP configuration&lt;/p&gt;
&lt;p&gt;Djeen doesn't need FTP, so you can skip this step and go directly to the next one.&lt;br /&gt;
Step 6. Main configuration&lt;/p&gt;
&lt;p&gt;Example data are not needed, so just don't worry about the related sub-section if it's still checked.&lt;br /&gt;
Step 7. Finish&lt;/p&gt;
&lt;p&gt;Once you have - as requested - deleted the 'installation' directory, click on the 'Admin' button on the top right corner of the screen to access the administration section of your Joomla! website. It's from there that you will install the Djeen component later.&lt;br /&gt;
Djeen installation&lt;br /&gt;
Outline&lt;br /&gt;
In this section, we will set up the storage environment for Djeen. Djeen stores data in two spaces:&lt;br /&gt;
a) the database space, in which objects are described are linked to files, and&lt;br /&gt;
b) the file storage itself, meaning that data files are external from the database. Here we will set up both spaces.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;add&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;database&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="n"&gt;allowed&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;manage&lt;/span&gt; &lt;span class="n"&gt;databases&lt;/span&gt;
&lt;span class="n"&gt;update&lt;/span&gt; &lt;span class="n"&gt;access&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;database&lt;/span&gt;
&lt;span class="n"&gt;add&lt;/span&gt; &lt;span class="n"&gt;Perl&lt;/span&gt; &lt;span class="n"&gt;CGI&lt;/span&gt; &lt;span class="n"&gt;support&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;Apache&lt;/span&gt;
&lt;span class="n"&gt;change&lt;/span&gt; &lt;span class="n"&gt;permission&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;usually&lt;/span&gt; &lt;span class="n"&gt;not&lt;/span&gt; &lt;span class="n"&gt;needed&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;set&lt;/span&gt; &lt;span class="n"&gt;up&lt;/span&gt; &lt;span class="n"&gt;storage&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id="database-initialization"&gt;Database initialization&lt;/h3&gt;
&lt;p&gt;A new user must be created, with the following attributes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;NOT a super-user&lt;/li&gt;
&lt;li&gt;allowed to create databases&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;with a password&lt;/p&gt;
&lt;p&gt;In the following, we chose arbitrarily to name this user test (but could be also djeen).&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Choice A) MySQL database&lt;/p&gt;
&lt;p&gt;Under Unix prompt:&lt;/p&gt;
&lt;p&gt;mysql -u root&lt;/p&gt;
&lt;p&gt;create user test@localhost identified by 'TYPE_HERE_THE_PASSWORD_OF_TEST';&lt;/p&gt;
&lt;p&gt;revoke super on &lt;em&gt;.&lt;/em&gt; from test@localhost;&lt;/p&gt;
&lt;p&gt;grant create on &lt;em&gt;.&lt;/em&gt; to test@localhost;&lt;br /&gt;
grant alter on &lt;em&gt;.&lt;/em&gt; to test@localhost;&lt;br /&gt;
grant select on &lt;em&gt;.&lt;/em&gt; to test@localhost;&lt;br /&gt;
grant insert on &lt;em&gt;.&lt;/em&gt; to test@localhost;&lt;br /&gt;
grant update on &lt;em&gt;.&lt;/em&gt; to test@localhost;&lt;br /&gt;
grant delete on &lt;em&gt;.&lt;/em&gt; to test@localhost;&lt;br /&gt;
grant drop on &lt;em&gt;.&lt;/em&gt; to test@localhost;&lt;br /&gt;
grant lock tables on &lt;em&gt;.&lt;/em&gt; to test@localhost;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;Note&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;create&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="n"&gt;instruction&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;password&lt;/span&gt; &lt;span class="n"&gt;has&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;be&lt;/span&gt; &lt;span class="n"&gt;typed&lt;/span&gt; &lt;span class="n"&gt;between&lt;/span&gt; &lt;span class="n"&gt;quotes&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;span class="n"&gt;Note&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;don&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="n"&gt;forget&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;mention&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;host&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="err"&gt;@&lt;/span&gt;&lt;span class="n"&gt;localhost&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;after&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;span class="n"&gt;Note&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;privilege&lt;/span&gt; &lt;span class="n"&gt;lock&lt;/span&gt; &lt;span class="n"&gt;tables&lt;/span&gt; &lt;span class="n"&gt;is&lt;/span&gt; &lt;span class="n"&gt;required&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;perform&lt;/span&gt; &lt;span class="n"&gt;database&lt;/span&gt; &lt;span class="n"&gt;dumps&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Alternative: Use PhpMyAdmin on the database server.&lt;br /&gt;
Choice B) PostgreSQL database&lt;/p&gt;
&lt;p&gt;Under the Unix prompt (you might do sudo su to become super user first):&lt;/p&gt;
&lt;p&gt;su - postgres&lt;br /&gt;
createuser -P test&lt;/p&gt;
&lt;p&gt;The following lines must be added near the end of the pg_hba.conf, corresponding to the three types of connection. They must be added on the table with the following columns: TYPE DATABASE USER CIDR-ADDRESS METHOD.&lt;/p&gt;
&lt;p&gt;local   all    test                              password&lt;br /&gt;
host    all    test        127.0.0.1/32          password&lt;/p&gt;
&lt;p&gt;Important: Each user-specific rule must be placed before a general case rule if you want this rule to apply. The specific IPv4 Djeen's rule has to be typed above the default rule for IPv4 local connections.&lt;/p&gt;
&lt;p&gt;host    all    test        127.0.0.1/32          password&lt;br /&gt;
host    all    all         127.0.0.1/32          ident&lt;/p&gt;
&lt;p&gt;The pg_hba.conf is located in /var/lib/pgsql/data (CentOS) or /etc/postgresql/8.4/main (Ubuntu). You could find it with:&lt;br /&gt;
find /var -name pg_hba.conf; find /etc -name pg_hba.conf&lt;br /&gt;
CGI scripts management&lt;/p&gt;
&lt;p&gt;Djeen file upload functionality uses Perl CGI. CGI scripts must be activated in your Apache configuration, if not already, and restricted to the Djeen tree. There are two ways of adding this information to the Apache configuration. Once done, restart the web server (see below).&lt;/p&gt;
&lt;p&gt;1) Specify a ScriptAlias:&lt;/p&gt;
&lt;p&gt;ScriptAlias /JOOMLA_URL_PATH/components/com_djeen/assets/cgi/ "/DOCUMENT_ROOT/JOOMLA_URL_PATH/components/com_djeen/assets/cgi/"&lt;/p&gt;
&lt;p&gt;Moreover, you could restrict PerlCGI execution to the Djeen component using the followings (untested):&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
    Options None&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Allow from all&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;Which turns into:&lt;/p&gt;
&lt;h1 id="djeen-section-for-apache"&gt;Djeen section for Apache&lt;/h1&gt;
&lt;p&gt;scriptAlias "/djeen/components/com_djeen/assets/cgi/" "/var/www/djeen/components/com_djeen/assets/cgi/" &lt;br /&gt;
&lt;br /&gt;
      AllowOverride None&lt;br /&gt;
      Options None&lt;br /&gt;
      Order allow,deny&lt;br /&gt;
      Allow from all&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;or 2) To specify ExecCGI option:&lt;/p&gt;
&lt;p&gt;Search for the line AddHandler cgi-script .cgi in the Apache configuration.&lt;br /&gt;
If the line is commented (with character #), it has to be uncommented. If it's missing, it has to be added.&lt;/p&gt;
&lt;p&gt;The same file must specify that the server is granted the right to execute CGI scripts located in Djeen CGI dedicated directory.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
    AllowOverride None&lt;br /&gt;
    Options +ExecCGI&lt;br /&gt;
    Order allow,deny&lt;br /&gt;
    Allow from all&lt;br /&gt;
&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;Restart&lt;/span&gt;
&lt;span class="n"&gt;service&lt;/span&gt; &lt;span class="n"&gt;httpd&lt;/span&gt; &lt;span class="n"&gt;restart&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;CentOS&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="n"&gt;or&lt;/span&gt; &lt;span class="n"&gt;service&lt;/span&gt; &lt;span class="n"&gt;apache2&lt;/span&gt; &lt;span class="n"&gt;stop&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;sleep&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;service&lt;/span&gt; &lt;span class="n"&gt;apache2&lt;/span&gt; &lt;span class="n"&gt;start&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Ubuntu&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id="directories-configuration"&gt;Directories configuration&lt;/h3&gt;
&lt;p&gt;Files' storage permissions&lt;/p&gt;
&lt;p&gt;Djeen stores files and directories in its own tree. On a big disk, make directory that will be Djeen files root storage, then give full permission to the Apache user.&lt;br /&gt;
Djeen uses log and cache directories for some operations. You could choose to put those in the same tree instead of the component tree.&lt;br /&gt;
Because Djeen component creates automatically directories if they don't exist, you could choose the easy way of setting up a root storage only with full permissions to Apache user.&lt;/p&gt;
&lt;p&gt;Either create the Djeen files root storage:&lt;/p&gt;
&lt;p&gt;mkdir /my_big_disk/djeen_1&lt;br /&gt;
chown -r www-data.www-data /my_big_disk/djeen_1&lt;/p&gt;
&lt;p&gt;either create the Djeen root storage:&lt;/p&gt;
&lt;p&gt;mkdir /my_big_disk/djeen            # Root of all needed disk access&lt;br /&gt;
mkdir /my_big_disk/djeen/djeen_1    # Files storage&lt;br /&gt;
mkdir /my_big_disk/djeen/log        # Log storage&lt;br /&gt;
mkdir /my_big_disk/djeen/cache     # Cache storage&lt;br /&gt;
chown -r www-data.www-data /my_big_disk/djeen&lt;/p&gt;
&lt;p&gt;Important: for security reasons, you are not allowed to define the data directories as subdirectories of the Djeen component. It is indeed better to separate the component engine from its data (Note: CGI directory isn't considered as a data directory).&lt;br /&gt;
Joomla! sub-directories permissions&lt;/p&gt;
&lt;p&gt;This section could be skipped safely if you already changed the owner of Joomla! directory previously.&lt;/p&gt;
&lt;p&gt;Once Joomla! is installed, the Apache user and group are needed. They are specified in the httpd.conf file, as follows:&lt;/p&gt;
&lt;p&gt;User MY_APACHE_USER&lt;br /&gt;
Group MY_APACHE_GROUP&lt;/p&gt;
&lt;p&gt;The read/write/execute rights to the Apache user and group must be given to the following sub-directories of the website (chown -R MY_APACHE_USER:MY_APACHE_GROUP DIRECTORY_PATH on Linux). Otherwise, file copy in those directories could fail during the following component installation:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;administrator&lt;/span&gt;
&lt;span class="n"&gt;administrator&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;components&lt;/span&gt;
&lt;span class="n"&gt;administrator&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;language&lt;/span&gt;
&lt;span class="n"&gt;administrator&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;language&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;en&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;GB&lt;/span&gt;
&lt;span class="n"&gt;administrator&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;language&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;fr&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;FR&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;it&lt;/span&gt; &lt;span class="n"&gt;exists&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;components&lt;/span&gt;
&lt;span class="n"&gt;language&lt;/span&gt;
&lt;span class="n"&gt;language&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;en&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;GB&lt;/span&gt;
&lt;span class="n"&gt;language&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;fr&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;FR&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;it&lt;/span&gt; &lt;span class="n"&gt;exists&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="n"&gt;tmp&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id="add-djeen-component-in-joomla"&gt;Add Djeen component in Joomla&lt;/h3&gt;
&lt;p&gt;Now you can install Djeen from the Administrator panel =&amp;gt; Extensions =&amp;gt; Install menu.&lt;/p&gt;
&lt;p&gt;There are three different ways to install a component. The easiest one is the first ("Upload Package File"). Just select the Djeen archive and click on the "Upload File And Install" button.&lt;br /&gt;
Djeen (component) configuration&lt;/p&gt;
&lt;p&gt;Click on the 'Start configuration' button and follow the steps to configure the component.&lt;/p&gt;
&lt;p&gt;Each step is validated by the Next icon on the top right of the interface.&lt;/p&gt;
&lt;h4 id="step-0-license"&gt;Step 0: License&lt;/h4&gt;
&lt;p&gt;Nothing to do here (except read, of course !).&lt;/p&gt;
&lt;h4 id="step-1-system-check"&gt;Step 1: System check&lt;/h4&gt;
&lt;p&gt;Nothing to change here.&lt;/p&gt;
&lt;p&gt;If a problem is reported concerning PHP or Perl modules, check that you have all the required libraires (here for PHP and there for Perl).&lt;br /&gt;
For PHP, keep in mind that the problematic extensions could be already installed, but simply not activated. In this case, don't forget to restart your Apache server after activating the concerned extensions.&lt;/p&gt;
&lt;h4 id="step-2-directories-configuration"&gt;Step 2: Directories configuration&lt;/h4&gt;
&lt;p&gt;The Cache directory and Log directory fields of the form must be filled. Default values state the Djeen component tree. If they don't already exist, they will be created. In this case, don't forget to grant the proper permissions on the parent directories in order to avoid error messages (usually already correct if permissions have been modified at Joomla! installation). If one or both directories already exist, you will get some warnings, but those won't block the configuration process. Nevertheless, you should also verify the permissions on those directories.&lt;/p&gt;
&lt;h4 id="step-3-data-spaces-configuration"&gt;Step 3: Data spaces configuration&lt;/h4&gt;
&lt;p&gt;This section applies to both storages, database and files. The form has to be filled with the following values:&lt;br /&gt;
Files directory     the path of the directory where the uploaded data files will be stored.&lt;em&gt;(see above)&lt;/em&gt;&lt;br /&gt;
Driver  MySQL or PostgreSQL&lt;br /&gt;
Host    localhost&lt;br /&gt;
Port    3306 (default port for MySQL) or 5432 (default port for PostgreSQL)&lt;br /&gt;
Base    the name of the Djeen database to be created&lt;br /&gt;
User    the name of the MySQL / PostgreSQL user you created earlier&lt;br /&gt;
Password    password of this user&lt;br /&gt;
Note: if the installation bugs at the validation of this step, that's to say, depending if you desactivated the PHP display_errors parameter or not:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nx"&gt;you&lt;/span&gt; &lt;span class="nx"&gt;just&lt;/span&gt; &lt;span class="nx"&gt;get&lt;/span&gt; &lt;span class="nx"&gt;a&lt;/span&gt; &lt;span class="nx"&gt;white&lt;/span&gt; &lt;span class="nx"&gt;screen&lt;/span&gt;
&lt;span class="nx"&gt;you&lt;/span&gt; &lt;span class="nx"&gt;get&lt;/span&gt; &lt;span class="nx"&gt;the&lt;/span&gt; &lt;span class="kc"&gt;undefined&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nx"&gt;mcrypt_encrypt&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="nx"&gt;PHP&lt;/span&gt; &lt;span class="nx"&gt;error&lt;/span&gt; &lt;span class="nx"&gt;message&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;or&lt;/span&gt; &lt;span class="nx"&gt;something&lt;/span&gt; &lt;span class="nx"&gt;similar&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;It's due to the fact that you didn't install the prerequisites PHP libraires libmcrypt and php-mcrypt (see here).&lt;/p&gt;
&lt;h4 id="step-4-installation-summary"&gt;Step 4: Installation summary&lt;/h4&gt;
&lt;p&gt;If you have a red cross next to the Cache directory or File directory field, it means either that one of these directory does not exist or that the permissions were not properly set.&lt;br /&gt;
You can create a user access for Djeen, by clicking on the 'Create' button in Front-end access section.&lt;/p&gt;
&lt;p&gt;To finish the configuration process without creating the menu item, you MUST click on the Close icon on the top right of the interface.&lt;br /&gt;
Modify user access for Djeen&lt;/p&gt;
&lt;p&gt;If you want to change some parameters of the user access created above (like for example the menu in which it is displayed or its position in the menu):&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;Go&lt;/span&gt; &lt;span class="n"&gt;into&lt;/span&gt; &lt;span class="n"&gt;Menus&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;Main&lt;/span&gt; &lt;span class="n"&gt;Menu&lt;/span&gt;
&lt;span class="n"&gt;Click&lt;/span&gt; &lt;span class="n"&gt;on&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="n"&gt;Djeen&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt; &lt;span class="n"&gt;menu&lt;/span&gt; &lt;span class="n"&gt;item&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;span class="n"&gt;Make&lt;/span&gt; &lt;span class="n"&gt;your&lt;/span&gt; &lt;span class="n"&gt;changes&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;and&lt;/span&gt; &lt;span class="n"&gt;save&lt;/span&gt; &lt;span class="n"&gt;them&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;h3 id="finish"&gt;Finish&lt;/h3&gt;
&lt;p&gt;Click on the 'Preview' button on the top right corner to access Joomla!'s frontend. You should see the menu item you just created in the left part of the screen.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ghislain Bidaut</dc:creator><pubDate>Mon, 02 Sep 2013 14:52:12 -0000</pubDate><guid>https://sourceforge.netbd328244182ac24b7527bfb0cba665ab6950e701</guid></item></channel></rss>