You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2006-04-26 09:43:57

Koybe
Member
Registered: 2006-04-26
Posts: 5

Installation debian

Hello,

Je ne sais pas si cela a déjà été posté, j'ai noté toute mon install sur debian. Donc si cela intéresse quelqu'un... mais c'est brut.
Merci à N3t pour son tuto ocs, rapide et efficace.

###############################
# Installer Apache2+php+MySQL #
###############################

apt-get install apache2 libapache2-mod-php4 mysql-server-4.1 php4-mysql
mysqladmin -u root password 'mysql'
vi /etc/php4/apache2/php.ini
   memory_limit = 16M
apt-get install phpmyadmin

############################
# Installer OCS-NG et GLPI #
############################

apt-get install libapache2-mod-perl2 libxml-simple-perl libdbd-mysql-perl libapache-dbi-perl libcompress-zlib-perl
cd /var/www/
wget http://ovh.dl.sourceforge.net/sourcefor … NAL.tar.gz
tar zxf OCSNG_LINUX_SERVER_1.0-RC2-FINAL.tar.gz
mv OCSNG_LINUX_SERVER_1.0-RC2/ocsreports/ /var/www/
mv OCSNG_LINUX_SERVER_1.0-RC2/ocsinventory-NG/ /var/www/
mv OCSNG_LINUX_SERVER_1.0-RC2/ipdiscover-util/ipdiscover-util.pl /var/www/ocsreports/
rm -rf OCSNG_LINUX_SERVER_1.0-RC2*
wget http://ovh.dl.sourceforge.net/sourcefor … 2-1.tar.gz
tar zxf OCSNG_PATCH_SERVER_RC2-1.tar.gz
cp OCSNG_PATCH_SERVER_RC2-1/ocsinventory-NG/Ocsinventory.pm /var/www/ocsinventory-NG/
cp OCSNG_PATCH_SERVER_RC2-1/ocsreports/preferences.php /var/www/ocsreports/
rm -Rf OCSNG_PATCH_SERVER_RC2-1*
chown -R root.www-data ocsreports
chmod -R gu+w ocsreports
vi /etc/apache2/conf.d/ocs.conf
ln -s /var/www/ocsinventory-NG/apache_config /etc/apache2/conf.d/ocs.conf
mkdir /var/log/ocsinventory-NG
chown -R www-data.www-data /var/log/ocsinventory-NG/
/etc/init.d/apache2 restart
http://localhost/ocsreports (Suivre les instructions, se connecter avec admin/admin)
wget http://glpi.indepnet.org/IMG/gz/glpi-0.65.tar.gz
tar zxf glpi-0.65.tar.gz
rm glpi-0.65.tar.gz
chown -R root.www-data glpi/
chmod -R gu+w glpi/
mysql -u root -p
      create database glpi;
      GRANT ALL ON glpi.* TO glpi@localhost IDENTIFIED BY 'pass_glpi';
      flush privileges;
/etc/init.d/apache2 restart
http://192.168.69.52/glpi/ (Suivre les instructions)

##Client Windows##
Télécharger et renommer ocslogoon.exe en 192.168.69.52.exe (l'ip du serveur)
Exécuter

##Client linux##
apt-get install libxml-simple-perl libcompress-zlib-perl libnet-ip-perl
wget http://mesh.dl.sourceforge.net/sourcefo … NAL.tar.gz
tar zxf OCSNG_LINUX_CLIENT_1.0-RC2-FINAL.tar.gz
rm OCSNG_LINUX_CLIENT_1.0-RC2-FINAL.tar.gz
cd OCSNG_LINUX_CLIENT_1.0-RC2
perl ocsinventory-installer.pl

Last edited by Koybe (2006-04-26 09:44:44)

Offline

#2 2006-04-26 11:40:33

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: Installation debian

Merci pour les autres utilisateurs.


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2006-04-26 13:36:42

aurel
Member
From: France
Registered: 2004-09-23
Posts: 1,252

Re: Installation debian

Si ton serveur est fonctionnel, peux tu me donner le nom des packages "zip" que tu utilises stp.


A+


Prod GLPI 10.0.14 , GLPI Agent 1.7.3

Offline

#4 2006-04-26 15:01:25

Koybe
Member
Registered: 2006-04-26
Posts: 5

Re: Installation debian

Je ne suis pas certain d'avoir compris ta question. Mais rien de spécial c'est de base.

ii  gzip           1.3.5-10sarge1 The GNU compression utility
ii  libzzip-0-12   0.12.83-4      library providing read access on ZIP-archive

Offline

Board footer

Powered by FluxBB