Je viens de recevoir un Orange Pi Plus 2E et avec Orange Pi Zero et sa carte d’extension, vu la galère pour télécharger les iso
(obligé de se créer un compte Baidu et d’utiliser l’application uniquement en chinois pour un téléchargement à 80KO max)
je vous mets donc à disposition les iso sur mon serveur perso qui à bien plus de bande passante surtout en Europe )
Sinon pour en revenir aux Orange Pi, je dois avoué etre étonné par la qualité du matériel, et si le matériel tiens toutes ces promesses, je peux vous dire que c’est un concurrent sérieux au Raspberry PI 3 (Antenne wifi, Processeur et GPU gérant le HEVC H265 4K, port SATA, IR …)
Pour le moment, on ne peux pas dire que j’ai vraiment testé l’engin vu que je suis cantonné a télécharger les iso à très faible débit malgré mes accès VPN en Asie …
La liste s’allongera au fur et à mesure de mes téléchargements mais si vous en voulez une en particulier, n’hésitez pas à me la demander en commentaire sans oublier de spécifier votre version de Orange PI et l’OS désiré voir ici
-Dans ce forum on trouve deux partages pour télécharger des ISO pour tous les Orange PI avec un processeur type H3 (Apparement testé sur Orange PI 2/Plus/Plus2/PC) :
Après quelques jours de téléchargements et de tests de divers ISO, je peux vous dire qu’il y a du travail !
La plupart des ISO ne sont pas complète (manque un pilote, un utilitaire, os en chinois).
Je suis donc en train de les tester pour vous proposer les ISO les plus complètes (Et par la suite j’attaquerais un tutoriel pour que vous puissiez générer vos propres ISO).
Pour le moment, je me concentre sur l’Orange PI Plus 2E, voici donc un tableau des ISO les plus completes :
-Authentification : root/orangepi (l’user orangepi ne s’authentifie pas (demande d’identification en boucle))
-Os langue : EN
-uname -a : Linux orangepi 3.4.39 #10 SMP PREEMPT Sat Jun 4 14:07:18 CST 2016 armv7l armv7l armv7l GNU/Linux
-cat /etc/os-release :
NAME= »Ubuntu »
VERSION= »14.04.1 LTS, Trusty Tahr »
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME= »Ubuntu 14.04.1 LTS »
VERSION_ID= »14.04″
HOME_URL= »http://www.ubuntu.com/ »
SUPPORT_URL= »http://help.ubuntu.com/ »
BUG_REPORT_URL= »http://bugs.launchpad.net/ubuntu/ »
-Ethernet : OK
-Wifi : OK
-Affichage : image sors légèrement de l’écran (Surement des réglages à faire pour les 16/10 voir overscan)
-Interface graphique : Oui, LXDE
Armbian_5.20_Orangepiplus2e_Debian_jessie_3.4.112_desktop.img-Authentification : root/1234
-Os langue : EN
-uname -a : Linux orangepiplus2e 3.4.112-sun8i #14 SMP PREEMPT Wed Sep 14 20:29:31 CEST 2016 armv7l GNU/Linux
-cat /etc/os-release :
PRETTY_NAME= »Debian GNU/Linux 8 (jessie) »
NAME= »Debian GNU/Linux »
VERSION_ID= »8″
VERSION= »8 (jessie) »
ID=debian
HOME_URL= »http://www.debian.org/ »
SUPPORT_URL= »http://www.debian.org/support »
BUG_REPORT_URL= »https://bugs.debian.org/ »-Ethernet : OK
-Wifi : OK
-Affichage : image sors légèrement de l’écran (Surement des réglages à faire pour les 16/10 voir overscan)
-Interface graphique : Oui-raspi-config : Absent
-Script install_to_emmc : Absent
-Script nand-sata-install.sh : OK
Résumé :
Cette iso à l’air pratiquement complète, c’est une bonne base pour commencer
Pour les soucis d’overscan (Quand l’image affiché sur votre écran sors de l’écran) sous armbian, vous pouvez utiliser : h3disp
Dans le cas d’un écran 1080p (1920×1080 full HD) en 60fps sur du HDMI, tapez :
h3disp -m 1080p60
Voici l’aide de h3disp :
This is a tool to set the display resolution of your Orange
Pi by patching script.bin.
In case you use an HDMI-to-DVI converter please use the -d switch.
The resolution can be set using the -m switch. The following resolutions
are currently supported:
480i use "-m 480i" or "-m 0"
576i use "-m 576i" or "-m 1"
480p use "-m 480p" or "-m 2"
576p use "-m 576p" or "-m 3"
720p50 use "-m 720p50" or "-m 4"
720p60 use "-m 720p60" or "-m 5"
1080i50 use "-m 1080i50" or "-m 6"
1080i60 use "-m 1080i60" or "-m 7"
1080p24 use "-m 1080p24" or "-m 8"
1080p50 use "-m 1080p50" or "-m 9"
1080p60 use "-m 1080p60" or "-m 10"
Two examples:
'h3disp -m 1080p60 -d' (1920x1080@60Hz DVI)
'h3disp -m 720i' (1280x720@30Hz HDMI)
You can also specify the colour-range for your HDMI-display with the -c switch.
The following values for -c are currently supported:
0 -- RGB range 16-255 (Default, use "-c 0")
1 -- RGB range 0-255 (Full range, use "-c 1")
2 -- RGB range 16-235 (Limited video, "-c 2")
############################################################################
Cet article n’es encore qu’une ébauche, il sera mis à jour au fur et à mesure de mes avancés.
Si vous avez des questions, ou souhaitez me donner un petit coup de main pour déblayer tout ce foutoir n’hésitez surtout pas ;)
-LINUX : Compter le nombre de fichiers contenu dans un répertoire :
ls -1A |wc -l
-LINUX : Rechercher occurence toto dans tous les fichiers du répertoire courant :
find . -name ‘*’ -exec grep -Hsl ‘toto’ {} ;
-LINUX : activer un script dans init.d au boot du système :
update-rc.d $NomDuScrupt defaults
-LINUX : désactiver le démarage d’un script init.d au boot du système :
update-rc.d -f $NomDuScript remove
-La CheatOgraphie :
###Bash Commands
uname -a
#Show system and kernel
head -n1 /etc/issue
#Show distribution
mount
#Show mounted filesystems
date
#Show system date
uptime
#Show uptime
whoami
#Show your username
man command
#Show manual for command
###Bash Shortcuts
CTRL-c
#Stop current command
CTRL-z
#Sleep program
CTRL-a
#Go to start of line
CTRL-e
#Go to end of line
CTRL-u
#Cut from start of line
CTRL-k
#Cut to end of line
CTRL-r
#Search history
!!
#Repeat last command
!abc
#Run last command starting with abc
!abc:p
#Print last command starting with abc
!$
#Last argument of previous command
ALT-.
#Last argument of previous command
!*
#All arguments of previous command
^abc^123
#Run previous command, replacing abc with 123
###Bash Variables
env
#Show environment variables
echo $NAME
#Output value of $NAME variable
export NAME=value
#Set $NAME to value
$PATH
#Executable search path
$HOME
#Home directory
$SHELL
#Current shell
###IO Redirection
cmd < file
#Input of cmd from file
cmd1 <(cmd2)
#Output of cmd2 as file input tocmd1
cmd > file
#Standard output (stdout) of cmd to file
cmd > /dev/null
#Discard stdout of cmd
cmd >> file
#Append stdout to file
cmd 2> file
#Error output (stderr) of cmd to file
cmd 1>&2
#stdout to same place as stderr
cmd 2>&1
#stderr to same place as stdout
cmd &> file
#Every output of cmd to file
###Pipes
cmd1 | cmd2
#stdout of cmd1 to cmd2
cmd1 |& cmd2
#stderr of cmd1 to cmd2
###Command Lists
cmd1 ; cmd2
#Run cmd1 then cmd2
cmd1 && cmd2
#Run cmd2 if cmd1 is successful
cmd1 || cmd2
#Run cmd2 if cmd1 is not successful
cmd &
#Run cmd in a subshell
###Directory Operations
pwd
#Show current directory
mkdir dir
#Make directory dir
cd dir
#Change directory to dir
cd ..
#Go up a directory
ls
#List files
###ls Options
-a Show all (including hidden)
-R Recursive list
-r Reverse order
-t Sort by last modified
-S Sort by file size
-l Long listing format
-1 One file per line
-m Comma-separated output
-Q Quoted output
###Search Files
grep pattern
#files Search for pattern in files
grep -i
#Case insensitive search
grep -r
#Recursive search
grep -v
#Inverted search
grep -o
#Show matched part of
file only
find /dir/ -name name*
#Find files starting with name in dir
find /dir/ -user name
#Find files owned by name in dir
find /dir/ -mmin num
#Find files modifed less than num minutes ago in dir
whereis command
#Find binary / source / manual for command
locate file
#Find file (quick search of system index)
###File Operations
touch file1
#Create file1
cat file1 file2
#Concatenate files and output
less file1
#View and paginate file1
file file1
#Get type of file1
cp file1 file2
#Copy file1 to file2
mv file1 file2
#Move file1 to file2
rm file1
#Delete file1
head file1
#Show first 10 lines of file1
tail file1
#Show last 10 lines offile1
tail -F file1
#Output last lines offile1 as it changes
###Watch a Command
watch -n 5 'ntpq -p'
#Issue the 'ntpq -p' command every 5 seconds and display output
###Process Management
ps
#Show snapshot of processes
top
#Show real time processes
kill pid
#Kill process with id pid
pkill name
#Kill process with name name
killall name
#Kill all processes with names
beginning name
###Nano Shortcuts
##Files
Ctrl-R
#Read file
Ctrl-O
#Save file
Ctrl-X
#Close file
##Cut and Paste
ALT-A
#Start marking text
CTRL-K
#Cut marked text or line
CTRL-U
#Paste text
##Navigate File
ALT-/
#End of file
CTRL-A
#Beginning of line
CTRL-E
#End of line
CTRL-C
#Show line number
CTRL-_
#Go to line number
##Search File
CTRL-W
#Find
ALT-W
#Find next
CTRL-
#Search and replace
###Screen Shortcuts
screen
#Start a screen session.
screen -r
#Resume a screen session.
screen -list
#Show your current screen sessions.
###Screen Shortcuts (cont)
CTRL-A
#Activate commands for screen.
CTRL-A c
#Create a new instance of terminal.
CTRL-A n
#Go to the next instance of terminal.
CTRL-A p
#Go to the previous instance of terminal.
CTRL-A "
#Show current instances of terminals.
CTRL-A A
#Rename the current instance.
###File Permissions
chmod 775 file
#Change mode of file to 775
chmod -R 600 folder
#Recursively chmod folder to 600
chown user:group file
#Change file owner to user and group to group
###File Permission Numbers
#First digit is owner permission, second is group and third is everyone.
#Calculate permission digits by adding numbers below.
#4 read (r)
#2 write (w)
#1 execute (x)
Si vous en avez d’autres que vous considérez utiles, n’hésitez pas à me les envoyer en commentaire.
Aujourd’hui un petit tuto simple pour désactiver le screensaver de l’écran sous Raspbian.
Si vous avez fait quelques recherches, vous etes surement tombé sur la solution qui consiste à éditer le fichier :
/etc/kbd/config
Pour ensuite mettre les champs BLANK_TIME et POWERDOWN_TIME à 0 :
# screen blanking timeout. monitor remains on, but the screen is cleared to
# range: 0-60 min (0==never) kernels I've looked at default to 10 minutes.
# (see linux/drivers/char/console.c)
BLANK_TIME=0 (Défaut 30)
# Powerdown time. The console will go to DPMS Off mode POWERDOWN_TIME
# minutes _after_ blanking. (POWERDOWN_TIME + BLANK_TIME after the last input)
POWERDOWN_TIME=0 (Défaut 30)
Si cette solution ne fonctionne pas, vous pouvez installer le packet :
sudo apt-get install xfce4-power-manager
Ensuite, cliquez sur MENU / Préférences / Gestionnaire d’alimentation.
Ici vous pouvez désactiver la veille de l’écran et du raspberry.
Et voilà, maintenant faites attention à la rémanence des écran ;)
Si vous avez des questions, les commentaires sont fait pour ça !
Aujourd’hui un petit tuto de base pour installer Centreon 2.7 (La version que vous pouvez voir sur CES 3.3)
Cette version est (selon moi) tout simplement magnifique, vous êtes prêt ?
Alors vous venez de finir votre installation de Debian 8, vous avez votre mot de passe root en main, vous avez installer le serveur ssh (apt-get install openssh-server) et venez juste de vous connecter en ssh à votre serveur, nous allons pouvoir commencer :
Connectez-vous avec le compte root :
su
Lançons la mise à jour des packets Debian pour commencer :
apt-get update
apt-get upgrade
Installation des packets de base nécessaire à la compilation :
apt-get install build-essential cmake -y
Installation de la librairie Centreon :
cd /usr/local/src
wget https://s3-eu-west-1.amazonaws.com/centreon-download/public/centreon-clib/centreon-clib-1.4.2.tar.gz
tar xzf centreon-clib-1.4.2.tar.gz
cd centreon-clib-1.4.2/build
-- Configuration Summary
-- ---------------------
--
-- Project
-- - Name Centreon Clib
-- - Version 1.4.2
-- - With shared library Yes
-- - With static library No
--
-- System
-- - Name Linux
-- - Version 3.2.0-4-amd64
-- - Processor x86_64
--
-- Build
-- - Compiler /usr/bin/c++ (GNU)
-- - Extra compilation flags
-- - Build unit tests No
--
-- Installation
-- - Prefix /usr
-- - Library directory /usr/lib
-- - Include directory /usr/include
-- - Package None
-- - pkg-config directory /usr/lib/pkgconfig
--
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/centreon-clib-1.4.2/build
Nous allons maintenant compiler la librairie :
make
make install
Installation des connecteurs Perl et SSH optionnels pour Centreon (Fortement conseiller car ils améliorent la vitesse d’exécution des plugins Perl, ils ne sont utilisable qu’avec Centreeon Engine)
Installation des packets de base nécessaire à Perl Connector :
apt-get install libperl-dev -y
Installation de la librairie Perl Connector :
cd /usr/local/src
wget https://s3-eu-west-1.amazonaws.com/centreon-download/public/centreon-connectors/centreon-connector-1.1.2.tar.gz
tar xzf centreon-connector-1.1.2.tar.gz
cd centreon-connector-1.1.2/perl/build
cd /usr/local/src
wget https://s3-eu-west-1.amazonaws.com/centreon-download/public/centreon-engine/centreon-engine-1.4.15.tar.gz
wget https://s3-eu-west-1.amazonaws.com/centreon-download/public/centreon-engine/centreon-engine-1.5.0.tar.gz
tar xzf centreon-engine-1.4.15.tar.gz
tar xzf centreon-engine-1.5.0.tar.gz
cd centreon-engine-1.4.15/build/
cd centreon-engine-1.5.0/build/
Vérifions maintenant que centreon-engine est correctement installé :
centengine -V
Vous devriez avoir comme résultat :
[1450348876] [9171] Centreon Engine 1.5.0
[1450348876] [9171]
[1450348876] [9171] Copyright 1999-2009 Ethan Galstad
[1450348876] [9171] Copyright 2009-2010 Nagios Core Development Team and Community Contributors
[1450348876] [9171] Copyright 2011-2015 Merethis
[1450348876] [9171]
[1450348876] [9171] This program is free software: you can redistribute it and/or
[1450348876] [9171] modify it under the terms of the GNU General Public License version 2
[1450348876] [9171] as published by the Free Software Foundation.
[1450348876] [9171]
[1450348876] [9171] Centreon Engine is distributed in the hope that it will be useful,
[1450348876] [9171] but WITHOUT ANY WARRANTY; without even the implied warranty of
[1450348876] [9171] MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[1450348876] [9171] General Public License for more details.
[1450348876] [9171]
[1450348876] [9171] You should have received a copy of the GNU General Public License
[1450348876] [9171] along with this program. If not, see
[1450348876] [9171] <http://www.gnu.org/licenses/>.
Paramétrons centreon-engine pour qu’il démarre automatiquement :
update-rc.d centengine defaults
Installation des Plugins pour Centreon-Engine :
Installation des packets de base nécessaire aux Plugins de centreon-engine :
cd /usr/local/src
wget http://nagios-plugins.org/download/nagios-plugins-2.1.1.tar.gz
tar -xzf nagios-plugins-2.1.1.tar.gz
cd nagios-plugins-2.1.1
Installation des Plugins Nagios :
./configure --with-nagios-user=centreon-engine --with-nagios-group=centreon-engine --prefix=/usr/lib/nagios/plugins --libexecdir=/usr/lib/nagios/plugins --enable-perl-modules --with-openssl=/usr/bin/openssl
make
make install
Installation des Plugins pour Centreon :
Installation des packets de base nécessaire aux Plugins de Centreon :
cd /usr/local/src
wget https://s3-eu-west-1.amazonaws.com/centreon-download/public/centreon-broker/centreon-broker-2.10.1.tar.gz
wget https://s3-eu-west-1.amazonaws.com/centreon-download/public/centreon-broker/centreon-broker-2.11.0.tar.gz
tar xzf centreon-broker-2.10.1.tar.gz
tar xzf centreon-broker-2.11.0.tar.gz
cd /usr/local/src/centreon-broker-2.10.1/build/
cd centreon-broker-2.11.0/
-- Configuration Summary
-- ---------------------
--
-- Project
-- - Name Centreon Broker
-- - Version 2.11.0
--
-- System
-- - Name Linux
-- - Version 3.16.0-4-amd64
-- - Processor x86_64
--
-- Build
-- - Compiler /usr/bin/c++ (GNU)
-- - Extra compilation flags
-- - Qt 4.8.6
-- - Unit tests disabled
-- - Startup script sysv
-- - Module stats, neb, file, compression, correlation, dumper, rrd, sql, storage, influxdb, graphite, bam, tcp, tls, bbdo, ndo
--
-- Install
-- - Prefix /usr
-- - Binary prefix /usr/sbin
-- - Library prefix /usr/lib/centreon-broker
-- - Modules prefix /usr/share/centreon/lib/centreon-broker
-- - Include prefix /usr/include/centreon-broker
-- - Configuration prefix /etc/centreon-broker
-- - Startup dir /etc/init.d
-- - User centreon-broker
-- - Group centreon-broker
-- - Package None
--
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/centreon-broker-2.11.0/build
Nous allons maintenant compiler Centreon-Broker :
make
make install
ATTENTION !! Avec la nouvelle version 2.7 de Centreon est apparu un nouveau module dumber (05-dumper.so) alors que les précédentes versions utilisaient le module stat (15-stats.so), il entre en conflit avec le nouveau module et provoque l’arrêt du processus cbd quand on va sur la page des statistiques. Nous allons donc supprimer l’ancien module stats :
cd /usr/local/src
wget https://s3-eu-west-1.amazonaws.com/centreon-download/public/centreon/centreon-2.6.4.tar.gz
tar xzf centreon-2.6.4.tar.gz
cd centreon-2.6.4
Installation de Centreon UI :
./install.sh -i
Au lancement, le script vérifie que toutes les dépendances sont bien présentes :
###############################################################################
# #
# Centreon (www.centreon.com) #
# Thanks for using Centreon #
# #
# v2.6.4 #
# #
# infos@centreon.com #
# #
# Make sure you have installed and configured #
# sudo - sed - php - apache - rrdtool - mysql #
# #
###############################################################################
------------------------------------------------------------------------
Checking all needed binaries
------------------------------------------------------------------------
rm OK
cp OK
mv OK
/bin/chmod OK
/bin/chown OK
echo OK
more OK
mkdir OK
find OK
/bin/grep OK
/bin/cat OK
/bin/sed OK
You will now read Centreon Licence.
Press enter to continue.
Pressez la touche enter, ensuite la licence d’utilisateur s’affiche :
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
Do you accept GPL license ?
[y/n], default to [n]:
> y
Pressez la touche y et enter. Le script d’installation va ensuite vous demander si vous souhaitez installer différents modules :
------------------------------------------------------------------------
Please choose what do you want to install
------------------------------------------------------------------------
Do you want to install Centreon Web Front
[y/n], default to [n]:
> y
Do you want to install Centreon CentCore
[y/n], default to [n]:
> y
Do you want to install Centreon Nagios Plugins
[y/n], default to [n]:
> y
Do you want to install Centreon Snmp Traps process
[y/n], default to [n]:
> y
Le script va maintenant installé les différents modules précédemment sélectionné, le script vous demande maintenant le chemin d’installation pour Centreon UI :
------------------------------------------------------------------------
Start CentWeb Installation
------------------------------------------------------------------------
Where is your Centreon directory?
default to [/usr/local/centreon]
>/usr/share/centreon
Path /usr/share/centreon OK
Le script va ensuite vous demander le répertoire contenant les logs de Centreon :
Where is your Centreon log directory
default to [/usr/local/centreon/log]
> /var/log/centreon
Do you want me to create this directory ? [/var/log/centreon]
[y/n], default to [n]:
> y
Path /var/log/centreon OK
Le script vous demande maintenant les différents répertoires des fichiers de configuration de Centreon :
Where is your Centreon etc directory
default to [/etc/centreon]
>
Do you want me to create this directory ? [/etc/centreon]
[y/n], default to [n]:
> y
Path /etc/centreon OK
Where is your Centreon binaries directory
default to [/usr/local/centreon/bin]
> /usr/share/centreon/bin
Do you want me to create this directory ? [/usr/share/centreon/bin]
[y/n], default to [n]:
> y
Path /usr/share/centreon/bin OK
Where is your Centreon data informations directory
default to [/usr/local/centreon/data]
> /usr/share/centreon/data
Do you want me to create this directory ? [/usr/share/centreon/data]
[y/n], default to [n]:
> y
Path /usr/share/centreon/data OK
Where is your Centreon variable library directory?
default to [/var/lib/centreon]
>
Do you want me to create this directory ? [/var/lib/centreon]
[y/n], default to [n]:
> y
Path /var/lib/centreon OK
/usr/bin/rrdtool OK
/usr/bin/mail OK
/usr/bin/php OK
Where is PEAR [PEAR.php]
default to [/usr/share/php/PEAR.php]
>
Path /usr/share/php OK
/usr/bin/perl OK
Finding Apache user : www-data
Finding Apache group : www-data
Le script demande quel user/group utiliser :
What is the Centreon group ? [centreon]
default to [centreon]
>
What is the Centreon user ? [centreon]
default to [centreon]
>
Nous allons ensuite dire au script d’utiliser centreon-engine et centreon-broker ainsi que le chemin ou se trouve les Plugins :
What is the Monitoring engine user ?
> centreon-engine
What is the Broker user ? (optional)
> centreon-broker
What is the Monitoring engine log directory ?
> /var/log/centreon-engine
Where is your monitoring plugins (libexec) directory ?
default to [/usr/lib/nagios/plugins]
>
Path /usr/lib/nagios/plugins OK
Add group centreon to user www-data OK
Add group centreon to user centreon-engine OK
Add group centreon-engine to user www-data OK
Add group centreon-engine to user centreon OK
Le script vous demande le chemin du fichier de configuration de sudo ainsi que les chemins des différents modules :
------------------------------------------------------------------------
Configure Sudo
------------------------------------------------------------------------
Where is sudo configuration file
default to [/etc/sudoers]
>
/etc/sudoers OK
What is the Monitoring engine init.d script ?
> /etc/init.d/centengine
What is the Monitoring engine binary ?
> /usr/sbin/centengine
What is the Monitoring engine configuration directory ?
> /etc/centreon-engine
Where is the configuration directory for broker module ?
> /etc/centreon-broker
Where is the init script for broker module daemon ?
> /etc/init.d/cbd
Your sudo is not configured
Do you want me to configure your sudo ? (WARNING)
[y/n], default to [n]:
> y
Configuring Sudo OK
Le script va ensuite configurer le serveur web Apache :
------------------------------------------------------------------------
Configure Apache server
------------------------------------------------------------------------
Do you want to add Centreon Apache sub configuration file ?
[y/n], default to [n]:
> y
Create '/etc/apache2/conf.d/centreon.conf' OK
Configuring Apache OK
Do you want to reload your Apache ?
[y/n], default to [n]:
> y
Reloading Apache service OK
Preparing Centreon temporary files
Change right on /var/log/centreon OK
Change right on /etc/centreon OK
Change macros for insertBaseConf.sql OK
Change macros for sql update files OK
Change macros for php files OK
Change macros for perl binary OK
Change right on /etc/centreon-engine OK
Add group centreon-broker to user www-data OK
Add group centreon-broker to user centreon-engine OK
Add group centreon to user centreon-broker OK
Change right on /etc/centreon-broker OK
Copy CentWeb in system directory
Install CentWeb (web front of centreon) OK
Change right for install directory
Change right for install directory OK
Install libraries OK
Write right to Smarty Cache OK
Copying libinstall OK
Change macros for centreon.cron OK
Install Centreon cron.d file OK
Change macros for centAcl.php OK
Change macros for downtimeManager.php OK
Install cron directory OK
Change right for eventReportBuilder OK
Change right for dashboardBuilder OK
Change macros for centreon.logrotate OK
Install Centreon logrotate.d file OK
Prepare centFillTrapDB OK
Install centFillTrapDB OK
Prepare centreon_trap_send OK
Install centreon_trap_send OK
Prepare centreon_check_perfdata OK
Install centreon_check_perfdata OK
Prepare centreonSyncPlugins OK
Install centreonSyncPlugins OK
Prepare centreonSyncArchives OK
Install centreonSyncArchives OK
Install generateSqlLite OK
Install changeRrdDsName.pl OK
Prepare export-mysql-indexes OK
Install export-mysql-indexes OK
Prepare import-mysql-indexes OK
Install import-mysql-indexes OK
Centreon Web Perl lib installed OK
------------------------------------------------------------------------
Pear Modules
------------------------------------------------------------------------
Check PEAR modules
PEAR 1.4.9 1.9.5 OK
DB 1.7.6 NOK
DB_DataObject 1.8.4 NOK
DB_DataObject_FormBuilder 1.0.0RC4 NOK
MDB2 2.0.0 NOK
Date 1.4.6 NOK
Archive_Tar 1.1 1.3.12 OK
Auth_SASL 1.0.1 NOK
Console_Getopt 1.2 1.3.1 OK
Net_SMTP 1.2.8 NOK
Net_Socket 1.0.1 NOK
Net_Traceroute 0.21 NOK
Net_Ping 2.4.1 NOK
Validate 0.6.2 NOK
XML_RPC 1.4.5 NOK
SOAP 0.10.1 NOK
Log 1.9.11 NOK
Archive_Zip 0.1.2 NOK
Do you want me to install/upgrade your PEAR modules
[y/n], default to [y]:
> y
Le script va ensuite mettre à jour vos modules PEAR,
Upgrading PEAR modules
Installing PEAR modules
DB 1.7.6 1.8.2 OK
DB_DataObject 1.8.4 1.11.4 OK
DB_DataObject_FormBuilder 1.0.0RC4 1.0.2 OK
MDB2 2.0.0 2.4.1 OK
Auth_SASL 1.0.1 1.0.6 OK
Net_SMTP 1.2.8 1.6.2 OK
Net_Traceroute 0.21 0.21.3 OK
Net_Ping 2.4.1 2.4.5 OK
Validate 0.6.2 0.8.5 OK
XML_RPC 1.4.5 1.5.5 OK
SOAP 0.10.1 0.13.0 OK
Log 1.9.11 1.12.8 OK
Archive_Zip 0.1.2 0.1.2 OK
Check PEAR modules
PEAR 1.4.9 1.9.5 OK
DB 1.7.6 1.8.2 OK
DB_DataObject 1.8.4 1.11.4 OK
DB_DataObject_FormBuilder 1.0.0RC4 1.0.2 OK
MDB2 2.0.0 2.4.1 OK
Date 1.4.6 1.4.7 OK
Archive_Tar 1.1 1.3.12 OK
Auth_SASL 1.0.1 1.0.6 OK
Console_Getopt 1.2 1.3.1 OK
Net_SMTP 1.2.8 1.6.2 OK
Net_Socket 1.0.1 1.0.14 OK
Net_Traceroute 0.21 0.21.3 OK
Net_Ping 2.4.1 2.4.5 OK
Validate 0.6.2 0.8.5 OK
XML_RPC 1.4.5 1.5.5 OK
SOAP 0.10.1 0.13.0 OK
Log 1.9.11 1.12.8 OK
Archive_Zip 0.1.2 0.1.2 OK
All PEAR modules OK
------------------------------------------------------------------------
Centreon Post Install
------------------------------------------------------------------------
Create /usr/local/centreon/www/install/install.conf.php OK
Create /etc/centreon/instCentWeb.conf OK
ATTENTION !!! Si vous avez l’erreur :
XML_RPC 1.4.5 NOK
Rien de bien grave cela veut dire que le programme d’update de PEAR contient toujours le lien cassé pour XML_RPC.
Nous allons donc le mettre à jour manuellement :
Ouvrez un nouveau terminal ssh vers votre serveur Debian et lancez la commande :
pear install XML_RPC
Vous devriez avoir l’erreur suivante :
WARNING: "pear/XML_RPC" is deprecated in favor of "pear/XML_RPC2"
Could not download from "https://de.pear.php.net/get/XML_RPC-1.5.5.tgz", cannot download "pear/XML_RPC" (Connection to `de.pear.php.net:443' failed: )
Error: cannot download "pear/XML_RPC"
Download failed
install failed
Nous allons donc télécharger le fichier manuellement :
Vous pouvez ensuite continuer l’installation en revenant sur votre premier terminal.
Une fois vos modules PEAR à jour, le script d’installation va s’occuper de CentStorage :
------------------------------------------------------------------------
Start CentStorage Installation
------------------------------------------------------------------------
Where is your Centreon Run Dir directory?
default to [/var/run/centreon]
>
Do you want me to create this directory ? [/var/run/centreon]
[y/n], default to [n]:
> y
Path /var/run/centreon OK
Where is your CentStorage binary directory
default to [/usr/share/centreon/bin]
>
Path /usr/share/centreon/bin OK
Where is your CentStorage RRD directory
default to [/var/lib/centreon]
>
Path /var/lib/centreon OK
Preparing Centreon temporary files
/tmp/centreon-setup exists, it will be moved...
install www/install/createTablesCentstorage.sql OK
Creating Centreon Directory '/var/lib/centreon/status' OK
Creating Centreon Directory '/var/lib/centreon/metrics' OK
Install CentStorage binary OK
Change right : /var/run/centreon OK
Change macros for centstorage init script OK
Replace Centstorage default script Macro OK
Do you want me to install CentStorage init script ?
[y/n], default to [n]:
> n
CentStorage init script not installed, please use :
/usr/share/centreon/INSTALL_DIR_CENTREONexamples/centstoraPASSEDt.d
Install logAnalyser OK
Install logAnalyserBroker OK
Install nagiosPerfTrace OK
Change macros for centstorage.cron OK
Install CentStorage cron OK
Change macros for centstorage.logrotate OK
Install Centreon Storage logrotate.d file OK
Create /etc/centreon/instCentStorage.conf OK
Installation du module CentCore :
------------------------------------------------------------------------
Start CentCore Installation
------------------------------------------------------------------------
Where is your CentCore binary directory
default to [/usr/share/centreon/bin]
>
Path /usr/share/centreon/bin OK
Preparing Centreon temporary files
/tmp/centreon-setup exists, it will be moved...
Copy CentCore in binary directory OK
Change right : /var/run/centreon OK
Change right : /var/lib/centreon OK
Change macros for centcore.logrotate OK
Install Centreon Core logrotate.d file OK
Replace CentCore init script Macro OK
Replace CentCore default script Macro OK
Do you want me to install CentCore init script ?
[y/n], default to [n]:
> y
CentCore init script installed OK
CentCore default script installed OK
Do you want me to install CentCore run level ?
[y/n], default to [n]:
> y
update-rc.d: using dependency based boot sequencing
CentCore Perl lib installed OK
Create /etc/centreon/instCentCore.conf OK
Installation des plugins pour les traps SNMP :
------------------------------------------------------------------------
Start CentPlugins Installation
------------------------------------------------------------------------
Where is your CentPlugins lib directory
default to [/var/lib/centreon/centplugins]
>
Do you want me to create this directory ? [/var/lib/centreon/centplugins]
[y/n], default to [n]:
> y
Path /var/lib/centreon/centplugins OK
Preparing Centreon temporary files
/tmp/centreon-setup exists, it will be moved...
Change macros for CentPlugins OK
Installing the plugins OK
Change right on centreon.conf OK
CentPlugins is installed
------------------------------------------------------------------------
Start CentPlugins Traps Installation
------------------------------------------------------------------------
Where is your SNMP configuration directory
default to [/etc/snmp]
>
/etc/snmp OK
Where is your CentreonTrapd binaries directory
default to [/usr/local/centreon/bin]
> /usr/share/centreon/bin/
/usr/share/centreon/bin/ OK
Finding Apache user : www-data
Preparing Centreon temporary files
/tmp/centreon-setup exists, it will be moved...
Change macros for snmptrapd.conf OK
Replace CentreonTrapd init script Macro OK
Replace CentreonTrapd default script Macro OK
Do you want me to install CentreonTrapd init script ?
[y/n], default to [n]:
> y
CentreonTrapd init script installed OK
CentreonTrapd default script installed OK
Do you want me to install CentreonTrapd run level ?
[y/n], default to [n]:
> y
update-rc.d: using dependency based boot sequencing
trapd Perl lib installed OK
Install : snmptrapd.conf OK
Install : centreontrapdforward OK
Install : centreontrapd OK
Create /etc/centreon/instCentPlugins.conf OK
###############################################################################
# #
# Go to the URL : http://debian7.localmac/centreon/ #
# to finish the setup #
# #
# Report bugs at http://forge.centreon.com #
# #
# Thanks for using Centreon. #
# ----------------------- #
# Contact : infos@centreon.com #
# http://www.centreon.com #
# #
###############################################################################