diff --git a/HowtoClickHouse.md b/HowtoClickHouse.md index e24a23a0..81412577 100644 --- a/HowtoClickHouse.md +++ b/HowtoClickHouse.md @@ -29,7 +29,9 @@ La documentation fournit plusieurs [recommandations d'usage](https://clickhouse. ~~~ # apt-get install -y apt-transport-https ca-certificates dirmngr -# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 8919F6BD2B48D754 +# cd /etc/apt/trusted.gpg.d +# wget 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3a9ea1193a97b548be1457d48919f6bd2b48d754' -O clickhouse.asc +# chmod 644 clickhouse.asc # echo "deb https://packages.clickhouse.com/deb stable main" | tee \ /etc/apt/sources.list.d/clickhouse.list diff --git a/HowtoDatadog.md b/HowtoDatadog.md index 4ea8db2d..5eebd811 100644 --- a/HowtoDatadog.md +++ b/HowtoDatadog.md @@ -11,7 +11,9 @@ Tideways est un APM système et applicatif (PHP, …). Il permet d'analyser les ## Installer le paquet ~~~ -# apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 382E94DE +# cd /etc/apt/trusted.gpg.d +# wget 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xa2923dff56eda6e76e55e492d3a80e30382e94de' -O datadoghq.asc +# chmod 644 datadoghq.asc # echo 'deb https://apt.datadoghq.com/ stable 6' > /etc/apt/sources.list.d/datadog.list # apt update # apt install datadog-agent diff --git a/HowtoDebian/MigrationJessieStretch.md b/HowtoDebian/MigrationJessieStretch.md index 4832ff83..ba677929 100644 --- a/HowtoDebian/MigrationJessieStretch.md +++ b/HowtoDebian/MigrationJessieStretch.md @@ -59,18 +59,14 @@ S'il y a ce dépôt, faire: deb http://hwraid.le-vert.net/debian stretch main ~~~ -Importons la clé GPG du dépôt pub.evolix.net ( blocage possible avec le firewall/proxy ) : +Importons la clé GPG du dépôt pub.evolix.net : ~~~ -# apt-key adv --keyserver keyserver.ubuntu.com --recv 44975278B8612B5D +# cd /etc/apt/trusted.gpg.d +# wget 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x0c016d3bd1195d30105837cc44975278b8612b5d' -O reg.asc +# chmod 644 reg.asc ~~~ -> Si ça ne marche pas alors : -> -> ~~~ -> # wget -O- "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x44975278B8612B5D" | apt-key add - -> ~~~ - Puis mettre à jour le cache APT: ~~~ @@ -187,7 +183,9 @@ W: There is no public key available for the following key IDs: Un contournement (salé) est d'ajouter la clé ainsi : ~~~ -# apt-key adv --keyserver keyserver.ubuntu.com --recv 112695A0E562B32A +# cd /etc/apt/trusted.gpg.d +# wget 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x112695A0E562B32A' -O debian10.asc +# chmod 644 debian10.asc ~~~ À noter que lors de l'upgrade `/bin/sh /var/lib/dpkg/info/apt.postinst configure 1.0.9.8.6` peut prendre beaucoup de temps (plusieurs minutes), il faut patienter. diff --git a/HowtoELK.md b/HowtoELK.md index bdba495d..51a28277 100644 --- a/HowtoELK.md +++ b/HowtoELK.md @@ -11,7 +11,9 @@ Les composants de la suite doivent être installés à partir du dépôt APT de ~~~ # echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" >> /etc/apt/sources.list.d/elastic.list -# wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - +# cd /etc/apt/trusted.gpg.d +# wget https://artifacts.elastic.co/GPG-KEY-elasticsearch -O GPG-KEY-elasticsearch.asc +# chmod 644 GPG-KEY-elasticsearch.asc ~~~ Pour Elasticsearch et Logstash, il faut avoir Java 1.8, disponible depuis les `jessie-backports`. @@ -167,4 +169,4 @@ server { Une grille officielle de support est disponible sur Elle couvre la compatibilité avec les OS, JVM, navigateurs… -La politique de durée de support des versions est disponible sur \ No newline at end of file +La politique de durée de support des versions est disponible sur diff --git a/HowtoFluentd.md b/HowtoFluentd.md index fbad168f..9ae314c4 100644 --- a/HowtoFluentd.md +++ b/HowtoFluentd.md @@ -20,8 +20,10 @@ Sous Debian On configure d'abord [apt](https://wiki.evolix.org/HowtoDebian/Packages) : ~~~ -curl https://packages.treasuredata.com/GPG-KEY-td-agent | apt-key add - -echo "deb http://packages.treasuredata.com/3/debian/stretch/ stretch contrib" > /etc/apt/sources.list.d/treasure-data.list +# cd /etc/apt/trusted.gpg.d +# wget https://artifacts.elastic.co/GPG-KEY-td-agent -O GPG-KEY-td-agent.asc +# chmod 644 GPG-KEY-td-agent.asc +# echo "deb http://packages.treasuredata.com/3/debian/stretch/ stretch contrib" > /etc/apt/sources.list.d/treasure-data.list ~~~ Puis on installe le paquet td-agent qui se veut être la version stable fournie par Treasure Data. diff --git a/HowtoGraylog.md b/HowtoGraylog.md index a2234732..5d72e4b1 100644 --- a/HowtoGraylog.md +++ b/HowtoGraylog.md @@ -36,7 +36,9 @@ On installe les dépendances disponibles à même la distribution Debian : Puis MongoDB à partir du dépôt du développeur : ~~~ -# wget -qO - https://www.mongodb.org/static/pgp/server-4.3.asc | apt-key add - +# cd /etc/apt/trusted.gpg.d +# wget -O - https://www.mongodb.org/static/pgp/server-4.3.asc +# chmod 644 server-4.3.asc # echo "deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.3 main" | tee /etc/apt/sources.list.d/mongodb-org-4.3.list # apt-get update # apt-get install -y mongodb-org @@ -54,7 +56,9 @@ On s'assure que MongoDB fonctionne et démarre en même temps que le système : MongoDB installé et testé, on passe à Elasticsearch, qu'on installe aussi à partir du dépôt du développeur : ~~~ -# wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add - +# cd /etc/apt/trusted.gpg.d +# wget https://artifacts.elastic.co/GPG-KEY-elasticsearch -O GPG-KEY-elasticsearch.asc +# chmod 644 GPG-KEY-elasticsearch.asc # echo "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-7.x.list # apt update && sudo apt install elasticsearch-oss ~~~ diff --git a/HowtoNetdata.md b/HowtoNetdata.md index 2f2418a8..6b681d09 100644 --- a/HowtoNetdata.md +++ b/HowtoNetdata.md @@ -9,7 +9,9 @@ title: Howto Netdata ~~~ # apt install curl gnupg apt-transport-https debian-archive-keyring -# curl -L https://packagecloud.io/netdata/netdata/gpgkey | apt-key add - +# cd /etc/apt/trusted.gpg.d +# wget https://packagecloud.io/netdata/netdata/gpgkey -O netdata.asc +# chmod 644 netdata.asc # echo "deb https://packagecloud.io/netdata/netdata/debian/ $(lsb_release -c -s) main" > /etc/apt/sources.list.d/netdata_netdata.list # apt update # apt install netdata @@ -39,4 +41,4 @@ L'accès par défaut se fait sur le port 19999. Ou bien on peut configurer un re RewriteRule ^/netdata$ http://%{HTTP_HOST}/netdata/ [L,R=301] # for HTTPS (if the virtualhost is HTTPS, use this) #RewriteRule ^/netdata$ https://%{HTTP_HOST}/netdata/ [L,R=301] -~~~ \ No newline at end of file +~~~ diff --git a/HowtoPHP.md b/HowtoPHP.md index a746b2f9..6adf166a 100644 --- a/HowtoPHP.md +++ b/HowtoPHP.md @@ -805,7 +805,9 @@ php bin/cachetool.phar --fcgi=php-fpm73.sock opcache:reset --cli ~~~ -# apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0x5a16e7281be7a449 +# cd /etc/apt/trusted.gpg.d +# wget 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x36aef64d0207e7eee352d4875a16e7281be7a449' -O hhvm.asc +# chmod 644 hhvm.asc # echo deb http://dl.hhvm.com/debian jessie main > /etc/apt/sources.list.d/hhvm.list # apt update # install hhvm diff --git a/HowtoRing.md b/HowtoRing.md index 110047f2..a8fb6269 100644 --- a/HowtoRing.md +++ b/HowtoRing.md @@ -7,7 +7,10 @@ ~~~ # apt install apt-transport-https # echo "deb http://dl.ring.cx/ring-nightly/debian_9/ ring main" > /etc/apt/sources.list.d/ring.list -# apt-key adv --keyserver pgp.mit.edu --recv-keys A295D773307D25A33AE72F2F64CD5FA175348F84 +# cd /etc/apt/trusted.gpg.d +# wget 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3a9ea1193a97b548be1457d48919f6bd2b48d754' -O ring.asc +# chmod 644 ring.asc +# apt update # apt install ring ~~~ diff --git a/HowtoVirtualBox.md b/HowtoVirtualBox.md index 34434035..9196d9f2 100644 --- a/HowtoVirtualBox.md +++ b/HowtoVirtualBox.md @@ -28,7 +28,9 @@ deb lenny contrib non-free Et ajouter la clé public du dépôt : ~~~ -wget -q -O- | sudo apt-key add - +# cd /etc/apt/trusted.gpg.d +# wget http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc +# chmod 644 oracle_vbox.asc ~~~ Et enfin l'installer.