<?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</title><link>https://sourceforge.net/p/fortic/wiki/Installation/</link><description>Recent changes to Installation</description><atom:link href="https://sourceforge.net/p/fortic/wiki/Installation/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 29 Oct 2013 15:09:18 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/fortic/wiki/Installation/feed" rel="self" type="application/rss+xml"/><item><title>Installation modified by Maxime P</title><link>https://sourceforge.net/p/fortic/wiki/Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -25,7 +25,7 @@
 sudo apt-get install apache2 libapache2-mod-php5 php5-pgsql gettext php-pear php5-gd php5-ldap
 ~~~~~~

-Installation 
+Installation (web)
 ======================

 ATTENTION!
@@ -70,5 +70,15 @@
 rm -rf fortic-php/installateur
 ~~~~~~

+
+Fortic-Lanceur
+=====
+Put fortic-lanceur directory somewhere on your server
+Configure it in fortic.properties
+Compile the project
+Adjuste "fortic-lanceur" script
+Start the daemon with script "fortic-lanceur"
+If possible, set it to start automatically as a service
+
 Initial procedure from Vincent Vinet
 Updated by Maxime Pelletier
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Maxime P</dc:creator><pubDate>Tue, 29 Oct 2013 15:09:18 -0000</pubDate><guid>https://sourceforge.net7febcf805c7693844c53cbfaa9e1bbbde4141fe7</guid></item><item><title>Installation modified by Maxime P</title><link>https://sourceforge.net/p/fortic/wiki/Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -6,6 +6,7 @@
 1. A PostgreSQL database with a user for fortic:

 Bash:
+
 ~~~~~~
 USER=fortic
 PASSWORD=fortic
@@ -19,6 +20,7 @@

 2. Dependencies:
 Bash:
+
 ~~~~~~
 sudo apt-get install apache2 libapache2-mod-php5 php5-pgsql gettext php-pear php5-gd php5-ldap
 ~~~~~~
@@ -52,6 +54,7 @@

 For a manual or automated installation, edit config/config.php and then initialize the database.
 Bash:
+
 ~~~~~~
 psql -U fortic -h localhost fortic &lt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Maxime P</dc:creator><pubDate>Tue, 29 Oct 2013 14:25:56 -0000</pubDate><guid>https://sourceforge.net789db3421056c1263900c639de311a9a1a4f22c3</guid></item><item><title>Installation modified by Maxime P</title><link>https://sourceforge.net/p/fortic/wiki/Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -5,8 +5,8 @@

 1. A PostgreSQL database with a user for fortic:

-
-{{code language="bash"}}
+Bash:
+~~~~~~
 USER=fortic
 PASSWORD=fortic
 sudo su -
@@ -14,30 +14,28 @@
 CREATE USER $USER UNENCRYPTED PASSWORD '$PASSWORD' LOGIN;
 CREATE DATABASE fortic OWNER = $USER;
 EOF
-{{/code}}
+~~~~~~

 2. Dependencies:
-
-
-{{code language="bash"}}
+Bash:
+~~~~~~
 sudo apt-get install apache2 libapache2-mod-php5 php5-pgsql gettext php-pear php5-gd php5-ldap
-{{/code}}
+~~~~~~

 Installation 
 ======================

-{{warning}}
+ATTENTION!
 The current installation procedure ignores the Filesystem Hierarchy Standard ( http://fr.wikipedia.org/wiki/Filesystem_Hierarchy_Standard )
-{{/warning}}

 Extract the source code to the location of your choice:
-
+&lt;s&gt;
 {{code language="bash"}}
 TARGET_DIR=/fortic
 mkdir -p $TARGET_DIR
 cd $TARGET_DIR
-hg clone http://bitbucket.org/forticpdm/fortic
+svn checkout --username=max-csa svn+ssh://max-csa@svn.code.sf.net/p/fortic/code/trunk fortic-code
 cd fortic
 python etc/fortic.conf.py
 sudo ln -s $TARGET_DIR/fortic/etc/fortic.conf /etc/apache2/conf.d/fortic   
@@ -48,17 +46,25 @@
  /etc/php5/apache2/php.ini
 sudo /etc/init.d/apache2 restart
 {{/code}}
+&lt;/s&gt;

 For the web installation, open a browser on http://your.server.qc.ca/fortic/installateur/ and follow the steps.

 For a manual or automated installation, edit config/config.php and then initialize the database.
-{{code language="bash"}}psql -U fortic -h localhost fortic &lt;&lt;&lt;/pre&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Maxime P</dc:creator><pubDate>Tue, 29 Oct 2013 14:25:18 -0000</pubDate><guid>https://sourceforge.neta608348a8dc5f6c784d369d80fa167f9b4d1ba26</guid></item><item><title>WikiPage Installation modified by Maxime P</title><link>https://sourceforge.net/p/fortic/wiki/Installation/</link><description>This is an installation how-to for installing Fortic on a Linux-based server.

Prerequisites
====================

1. A PostgreSQL database with a user for fortic:


{{code language="bash"}}
USER=fortic
PASSWORD=fortic
sudo su -
su postgres -c psql &lt;&lt;EOF
CREATE USER $USER UNENCRYPTED PASSWORD '$PASSWORD' LOGIN;
CREATE DATABASE fortic OWNER = $USER;
EOF
{{/code}}


2. Dependencies:


{{code language="bash"}}
sudo apt-get install apache2 libapache2-mod-php5 php5-pgsql gettext php-pear php5-gd php5-ldap
{{/code}}

Installation 
======================

{{warning}}
The current installation procedure ignores the Filesystem Hierarchy Standard ( http://fr.wikipedia.org/wiki/Filesystem_Hierarchy_Standard )
{{/warning}}

Extract the source code to the location of your choice:

{{code language="bash"}}
TARGET_DIR=/fortic
mkdir -p $TARGET_DIR
cd $TARGET_DIR
hg clone http://bitbucket.org/forticpdm/fortic
cd fortic
python etc/fortic.conf.py
sudo ln -s $TARGET_DIR/fortic/etc/fortic.conf /etc/apache2/conf.d/fortic   
sudo sed -i -e "/^register_argc_argv/s/Off/On/" \
 -e "/^allow_call_time_pass_reference/s/Off/On/" \
 -e "/^short_open_tag/s/Off/On/" \
 -e "/^magic_quotes_gpc/s/On/Off/" \
 /etc/php5/apache2/php.ini
sudo /etc/init.d/apache2 restart
{{/code}}

For the web installation, open a browser on http://your.server.qc.ca/fortic/installateur/ and follow the steps.

For a manual or automated installation, edit config/config.php and then initialize the database.
{{code language="bash"}}psql -U fortic -h localhost fortic &lt;&lt;EOF
CREATE TRUSTED PROCEDURAL LANGUAGE 'plpgsql' HANDLER plpgsql_call_handler VALIDATOR plpgsql_validator;
EOF

psql -U fortic -h localhost fortic -f fortic-php/installateur/BD/BDclean.sql{{/code}}

Remove the installation folder:
{{code language="bash"}}rm -rf fortic-php/installateur{{/code}}

Procedure from Vincent Vinet</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Maxime P</dc:creator><pubDate>Tue, 06 Nov 2012 19:29:39 -0000</pubDate><guid>https://sourceforge.net11a7d083a7bafe838760dc9ed6926502ed255454</guid></item></channel></rss>