====== bibli1 ======
Test d'installation de la dernière version de koha VM sur [[reserve:core1|core1]]
''147.94.64.111''
Installation de la derniere version : [[http://download.koha-community.org/koha-latest.tar.gz]]
===== installation =====
''apt-get install mysql-server''
''apt-get install phpmyadmin''
''echo 'deb http://debian.koha-community.org/koha stable main' | sudo tee /etc/apt/sources.list.d/koha.list''
''apt update''
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Atteint:2 http://ftp.fr.debian.org/debian stretch-updates InRelease
Atteint:3 http://ftp.fr.debian.org/debian stretch Release
Réception de:5 http://debian.koha-community.org/koha stable InRelease [4 566 B]
Err:5 http://debian.koha-community.org/koha stable InRelease
Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3C9356BBA2E41F10
Lecture des listes de paquets... Fait
W: Erreur de GPG : http://debian.koha-community.org/koha stable InRelease : Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 3C9356BBA2E41F10
E: The repository 'http://debian.koha-community.org/koha stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Mais ca ne marche pas car il n'y a pas de clef publique pour les dépôts koha, donc il faut la télécharger.
wget -O- http://debian.koha-community.org/koha/gpg.asc | apt-key add -
apt update
apt install koha-common
puis
sudo a2enmod rewrite
sudo a2enmod cgi
sudo service apache2 restart
Dans MySQL :
mysql
MariaDB [(none)]> CREATE DATABASE DBkoha17_11_04;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> GRANT ALL PRIVILEGES ON *.* TO 'phpmyadmin'@'localhost';
Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]> CREATE USER 'koha'@'localhost' IDENTIFIED BY 'koha@cmi';
Query OK, 0 rows affected (0.01 sec)
MariaDB [(none)]> GRANT ALL PRIVILEGES ON DBkoha17_11_04.* TO 'koha'@'localhost';
Query OK, 0 rows affected (0.01 sec)
Modification du fichier : ''/etc/mysql/koha-common.cnf''