bibli1

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Prochaine révision
Révision précédente
bibli1 [2018/04/11 10:04] – créée chabrolbibli1 [2018/04/11 11:02] (Version actuelle) – [installation] chabrol
Ligne 4: Ligne 4:
  
 Installation de la derniere version : [[http://download.koha-community.org/koha-latest.tar.gz]] 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''
 +<Code>
 +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.
 +</Code>
 +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.
 +<Code>
 +wget -O- http://debian.koha-community.org/koha/gpg.asc | apt-key add -
 +apt update
 +apt install koha-common
 +</Code>
 +puis
 +<Code>
 +sudo a2enmod rewrite 
 +sudo a2enmod cgi 
 +sudo service apache2 restart
 +</Code>
 +
 +Dans MySQL :
 +<Code>
 +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)
 +</Code>
 +
 +Modification du fichier : ''/etc/mysql/koha-common.cnf''
  • bibli1.1523433876.txt.gz
  • Dernière modification : 2018/04/11 10:04
  • de chabrol