OPEN MIND - OPEN SOURCE

Linux - Zabbix - OpenFire - OpenSsh - Asterisk - Vmware - VirtualBox - Avaya

Vous n'êtes pas identifié.

#1 15-10-2012 16:04:49

zabbixagent
Administrateur

Installation et configuration d'OPENFIRE 3.7.1.1 sous CentOs 5.8

Installer les packages nécessaires:

[root@#] yum -y install php php-xml php-mbstring php-bcmath php-gd php-mysql httpd mysql gcc mysql-server mysql-devel

[root@~] mysql -u root -p
password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 32698
Server version: 5.0.77 Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> CREATE DATABASE openfire;
Query OK, 1 row affected (0.05 sec)

mysql> CREATE USER 'openfire'@'localhost' IDENTIFIED BY 'password';
Query OK, 0 rows affected (0.13 sec)

mysql> GRANT USAGE ON *.* TO 'openfire'@'localhost' IDENTIFIED BY 'password' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES ON `openfire`.* TO 'openfire'@'localhost';
Query OK, 0 rows affected (0.02 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.02 sec)

Maintenant que cette étape préliminaire a été complété avec succès, nous allons maintenant télécharger OPENFIRE :

[root@~] cd /usr/src
[root@~] wget http://zabbixagent.free.fr/openfire/ope … 1.i386.rpm
[root@~] rpm -ivh openfire-3.7.1-1.i386.rpm
[root@~] service openfire start

Ouvrez une page internet explorer (ou mozilla firefox) et tapez ceci :
http://adresseIP:9090/setup/index.jsp

http://zabbixagent.free.fr/openfire/openfire1.png

Choisissez votre langue et cliquez sur le bouton "suivant"

http://zabbixagent.free.fr/openfire/openfire2.png

Configurer l'adresse IP de votre serveur ou le nom de votre machine si vous avez un DNS.

http://zabbixagent.free.fr/openfire/openfire3.png

Sélectionner "connexion standard à la base de donnée" et cliquez sur "continuer"

http://zabbixagent.free.fr/openfire/openfire4.png

Sélectionner "MySql" dans la liste "Pilote de base de donnée Prédéfinis"
Compléter le champs "URL de la base donnée" avec l'adresse IP de votre machine ou le hostname avec le nom de la base de donnée.
Remplisser ensuite l'utilisateur et le mot de passe qui aura accès à cette base de donnée avec les droit adéquat.

Cliquez ensuite sur "Continuer"

http://zabbixagent.free.fr/openfire/openfire5.png

Laisser le choix par défaut et cliquez sur "Continuer"

http://zabbixagent.free.fr/openfire/openfire6.png

Compléter les champs adresse-mail et password et cliquez sur "continuer" sinon sur "passer cette étape"

http://zabbixagent.free.fr/openfire/openfire7.png

Arrivée à cette étape, vous avez enfin compléter la configuration d'OPENFIRE et maintenant cliquer sur le bouton "Connectez vous à la console d'administration" pour commencer à administrer votre nouveau serveur d'Instant Messaging.

http://zabbixagent.free.fr/openfire/openfire8.png

A ce moment précis, vous devez redémarrer le service OPENFIRE:

[root@~] service openfire restart

Et pour finir, connectez vous avec les identifiants que vous avez récemment définit, sinon par défaut c'est login : admin et password : admin.

http://zabbixagent.free.fr/openfire/openfire9.png

Compatible application : spark-2.6.3.12555

Enjoy;)


La solution ? On réinstalle tout....

Hors ligne

 

Pied de page des forums

Propulsé par FluxBB
Traduction par FluxBB.fr