diff --git a/HowtoCeph.md b/HowtoCeph.md index a8c27338..7475aefe 100644 --- a/HowtoCeph.md +++ b/HowtoCeph.md @@ -127,7 +127,9 @@ On commence par installer `ceph-deploy`, l'outil qui permet de déployer un clus ~~~ # apt update && apt install apt-transport-https -# wget https://download.ceph.com/keys/release.asc -O /etc/apt/trusted.gpg.d/ceph.asc +# wget -O /etc/apt/trusted.gpg.d/ceph.asc https://download.ceph.com/keys/release.asc +# dos2unix /etc/apt/trusted.gpg.d/ceph.asc +# chmod 644 /etc/apt/trusted.gpg.d/ceph.asc # echo deb https://download.ceph.com/debian-luminous/ $(lsb_release -sc) main | tee /etc/apt/sources.list.d/ceph.list # apt update && apt install ceph-deploy ~~~ diff --git a/HowtoElasticsearch.md b/HowtoElasticsearch.md index 165cc006..95c4d587 100644 --- a/HowtoElasticsearch.md +++ b/HowtoElasticsearch.md @@ -15,7 +15,9 @@ Vu le développement actif d'Elasticsearch, nous préconisons l'installation des ~~~ # apt install apt-transport-https # echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" >> /etc/apt/sources.list.d/elastic.list -# wget https://artifacts.elastic.co/GPG-KEY-elasticsearch -O /etc/apt/trusted.gpg.d/elastic.asc +# wget -O /etc/apt/trusted.gpg.d/elastic.asc https://artifacts.elastic.co/GPG-KEY-elasticsearch +# dos2unix /etc/apt/trusted.gpg.d/elastic.asc +# chmod 644 /etc/apt/trusted.gpg.d/elastic.asc # apt update # apt install elasticsearch ~~~ diff --git a/HowtoGrafana.md b/HowtoGrafana.md index 5f04b49e..262ae339 100644 --- a/HowtoGrafana.md +++ b/HowtoGrafana.md @@ -13,9 +13,10 @@ title: Howto Grafana Grafana n'étant pas disponible sous Debian Stretch, nous utilisons les dépôts fournis par GrafanaLabs. ~~~ -# wget https://packages.grafana.com/gpg.key -O /etc/apt/trusted.gpg.d/grafana.asc -# chown _apt /etc/apt/trusted.gpg.d/grafana.asc # echo "deb https://packages.grafana.com/oss/deb stable main" > /etc/apt/sources.list.d/grafana.list +# wget -O /etc/apt/trusted.gpg.d/grafana.asc https://packages.grafana.com/gpg.key +# dos2unix /etc/apt/trusted.gpg.d/grafana.asc +# chmod 644 /etc/apt/trusted.gpg.d/grafana.asc # apt update # apt install grafana # systemctl daemon-reload diff --git a/HowtoMongoDB.md b/HowtoMongoDB.md index 616de0c9..31d289fb 100644 --- a/HowtoMongoDB.md +++ b/HowtoMongoDB.md @@ -21,7 +21,7 @@ Il est néanmoins possible d'installé MongoDB 4.2 à partir des dépôts offici ~~~ # echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" >> /etc/apt/sources.list.d/mongodb-org-4.2.list -# wget https://www.mongodb.org/static/pgp/server-4.2.asc -O /etc/apt/trusted.gpg.d/mongo-org-4.2.asc +# wget https://www.mongodb.org/static/pgp/server-4.2.asc -O /etc/apt/trusted.gpg.d/mongodb-server-4.2.asc # apt update && apt install mongodb-org ~~~ @@ -49,7 +49,7 @@ Exemple ici pour MongoDB 3.6 ~~~ # echo "deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/3.6 main" >> /etc/apt/sources.list.d/mongodb-org-3.6.list -# wget https://www.mongodb.org/static/pgp/server-3.6.asc -O /etc/apt/trusted.gpg.d/mongo-org-3.6.asc +# wget https://www.mongodb.org/static/pgp/server-3.6.asc -O /etc/apt/trusted.gpg.d/mongodb-server-3.6.asc # apt update && apt install mongodb-org ~~~ diff --git a/HowtoNeo4j.md b/HowtoNeo4j.md index 295c69bd..b01a5559 100644 --- a/HowtoNeo4j.md +++ b/HowtoNeo4j.md @@ -10,13 +10,15 @@ title: Howto neo4j Ajouter dans le fichier _/etc/apt/sources.list.d/neo4j.list_ : ~~~ -deb stable/ +deb http://debian.neo4j.org/repo stable/ ~~~ Puis importer la clé : ~~~ -# wget -O - | apt-key add - +# wget -O /etc/apt/trusted.gpg.d/neotechnology http://debian.neo4j.org/neotechnology.gpg.key +# dos2unix /etc/apt/trusted.gpg.d/neotechnology.asc +# chmod 644 /etc/apt/trusted.gpg.d/neotechnology.asc ~~~ Installer ensuite neo4j et Java : diff --git a/HowtoNewRelic.md b/HowtoNewRelic.md index 256c7192..8017ff54 100644 --- a/HowtoNewRelic.md +++ b/HowtoNewRelic.md @@ -8,8 +8,9 @@ Doc officielle : /etc/apt/sources.list.d/newrelic.list -# wget https://download.newrelic.com/548C16BF.gpg -O /etc/apt/trusted.gpg.d/newrelic.asc +# wget -O /etc/apt/trusted.gpg.d/newrelic.asc https://download.newrelic.com/548C16BF.gpg # dos2unix /etc/apt/trusted.gpg.d/newrelic.asc +# chmod 644 /etc/apt/trusted.gpg.d/newrelic.asc # apt update # apt install newrelic-sysmond # nrsysmond-config --set license_key= @@ -23,7 +24,9 @@ Doc officielle : ~~~ # echo 'deb http://apt.newrelic.com/debian/ newrelic non-free' > /etc/apt/sources.list.d/newrelic.list -# wget -O - https://download.newrelic.com/548C16BF.gpg | apt-key add - +# wget -O /etc/apt/trusted.gpg.d/newrelic.asc https://download.newrelic.com/548C16BF.gpg +# dos2unix /etc/apt/trusted.gpg.d/newrelic.asc +# chmod 644 /etc/apt/trusted.gpg.d/newrelic.asc # apt update # apt install newrelic-php5 # newrelic-install install diff --git a/HowtoOpenNMS.md b/HowtoOpenNMS.md index 66f4168d..06b5fb1f 100644 --- a/HowtoOpenNMS.md +++ b/HowtoOpenNMS.md @@ -18,7 +18,9 @@ deb-src stable main Et ensuite la clé GPG : ~~~ -#wget -O - | apt-key add - +# wget -O /etc/apt/trusted.gpg.d/opennms.asc http://debian.opennms.org/OPENNMS-GPG-KEY +# dos2unix /etc/apt/trusted.gpg.d/opennms.asc +# chmod 644 /etc/apt/trusted.gpg.d/opennms.asc ~~~ L'installation de OpenNMS nécessite : diff --git a/HowtoPHP.md b/HowtoPHP.md index 1bca2b46..1b123e5f 100644 --- a/HowtoPHP.md +++ b/HowtoPHP.md @@ -63,6 +63,7 @@ Exemple, si on souhaite seulement php7.3 : ~~~ # apt install wget apt-transport-https # wget -O /etc/apt/trusted.gpg.d/sury.gpg https://packages.sury.org/php/apt.gpg +# dos2unix /etc/apt/trusted.gpg.d/sury.gpg # chmod 644 /etc/apt/trusted.gpg.d/sury.gpg # echo "deb https://packages.sury.org/php/ stretch main" > /etc/apt/sources.list.d/sury.list # cat << EOT > /etc/apt/preferences.d/z-sury diff --git a/HowtoPostgreSQL.md b/HowtoPostgreSQL.md index 7f316a5a..8adcf0d0 100644 --- a/HowtoPostgreSQL.md +++ b/HowtoPostgreSQL.md @@ -49,7 +49,9 @@ deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main Puis récupérer la clé GPG : ~~~ -# wget https://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc -O /etc/apt/trusted.gpg.d/postgresql-org.asc +# wget -O /etc/apt/trusted.gpg.d/postgresql.asc https://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc +# dos2unix /etc/apt/trusted.gpg.d/postgresql.asc +# chmod 644 /etc/apt/trusted.gpg.d/postgresql.asc ~~~ On peut ainsi installer proprement PostgresSQL 11 - par exemple - en définissant les priorités via `/etc/apt/preferences.d/postgresql` : diff --git a/HowtoTideways.md b/HowtoTideways.md index 9f5bffdc..45f63cf4 100644 --- a/HowtoTideways.md +++ b/HowtoTideways.md @@ -15,8 +15,9 @@ Source : https://support.tideways.com/documentation/setup/installation/debian- ```sh apt install wget gnupg apt-transport-https echo 'deb https://packages.tideways.com/apt-packages-main any-version main' | tee /etc/apt/sources.list.d/tideways.list -wget -qO - https://packages.tideways.com/key.gpg > /etc/apt/trusted.gpg.d/tideways.asc +wget -O /etc/apt/trusted.gpg.d/tideways.asc https://packages.tideways.com/key.gpg dos2unix /etc/apt/trusted.gpg.d/tideways.asc +chmod 644 /etc/apt/trusted.gpg.d/tideways.asc apt update apt install tideways-php tideways-daemon ```