This page describe step by step how to do a basic installation of Domestik server.
cd /usr/local
tar xjvf /tmp/Domestik_0.2b.tar.bz2
chgrp www-data Domestik/Server/Web/Avatars/
chmod g+w Domestik/Server/Web/Avatars/
On Gentoo, you have to :
ln -s /usr/local/Domestik/Server/share/Apache2/Domestik.conf /etc/apache2/
/etc/init.d/apache2 restart
Then include this file into your /etc/apache2/httpd.conf
Consider adding some host restriction if Domestik is exposed on the Internet.
<FilesMatch "^(get|Users.php)">
Order Allow,Deny
Allow from YourNetwork
Allow from 127
</FilesMatch>
Will prevent access to user management page as well as Ajax companions.
<Files ProbesRendezVous.php>
Order Allow,Deny
Allow from YourNetwork
Allow from 127
</Files>
Protect access to probes' webservice.
As of Apache 2.4, Require replaces Order and Allow directives, then you have to place
<FilesMatch "^(get|Users.php)">
Require ip 127
Require ip YourNetwork
</FilesMatch>
<Files ProbesRendezVous.php>
Require ip 127
Require ip YourNetwork
</Files>
Domestik's GUI relies on Gome's icons which are normally installed in /usr/share/icons/gnome/ . Even if you're using another desktop environment which is based on GTK (LXDE, XFCE), there is chances these icons are already installed as well ...
If it's not the case, you may install them manually : on Gentoo it's
emerge gnome-icon-theme
Creating the www database and user, ... everything related to PostgreSQL administration tasks is out of the scope of this documentation.
As example :
$ cd /usr/local/Domestik/Server/Sql/PostgreSQL/
laurent@bidule /usr/local/Domestik/Server/Sql/PostgreSQL $ psql www
psql (9.1.5)
Saisissez « help » pour l'aide.
www=# \i Common.sql
Drop potential existing environment
-----------------------------------
...
cd <directory where HighCharts bundle has been extracted>
cp js/highcharts.js js/adapters/prototype-adapter.js js/highcharts-more.js /usr/local/Domestik/Server/Web/Js/
alias /scriptaculous/ /web/scriptaculous-js-1.9.0/
Visitez : Nos sorties Ski et rando |
Copyright Laurent Faillie
2001-2024
N'oubliez pas d'entrer le mot de passe pour voir aussi les photos perso. |
Contactez moi si vous souhaitez réutiliser ces photos et pour les obtenir avec une plus grande résolution. |
Visites durant les 7 derniers jours au total. |
Vous pouvez
laissez un commentaire
sur cette page.