Problème d'installation de Jeedom sur Orange Pi (distribution Armbian)

astuce
jeedom

#1

Si vous débutez avec Jeedom sur Orange Pi ou Raspberry Pi, voici d’autres articles qui pourront vous aider

Astuce trouvée par Mathieu

Pour l’erreur de l’étape 4 j’ai lancé :
sudo add-apt-repository ppa:ondrej/php
Source de l’astuce

Le mot de passe ne s’est pas affiché, pour résoudre mes pb du mot de passe mysql, la procédure ne fonctionnait pas, j’ai du faire :

root@orangepilite:~# sudo /etc/init.d/mysqld stop
root@orangepilite:~# sudo mysqld_safe --skip-grant-tables &
[1] 21225
2017-07-02T08:09:28.012495Z mysqld_safe Logging to syslog.
2017-07-02T08:09:28.049237Z mysqld_safe Logging to ‘/var/log/mysql/error.log’.
2017-07-02T08:09:28.090416Z mysqld_safe Directory ‘/var/run/mysqld’ for UNIX socket file don’t exists.
root@orangepilite:~# mysql -uroot
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (
root@orangepilite:~# mkdir -p /var/run/mysqld
root@orangepilite:~# chown mysql:mysql /var/run/mysqld
root@orangepilite:~# mysql -uroot
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.7.18-0ubuntu0.16.04.1 (Ubuntu)

Copyright © 2000, 2017, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

mysql> use mysql;
mysql> update user set authentication_string=password(‘XXXXXX’) where user=‘root’;
Query OK, 1 row affected, 1 warning (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 1
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)

mysql> quit
Bye
root@orangepilite:~# service mysql restart
root@orangepilite:~# ./install.sh - m XXXXXX