# Installation de "Gchange POD"
## Activation GPod sur http://127.0.0.1:9200
[DOCUMENTATION SOURCE](https://github.com/duniter-gchange/gchange-pod/blob/master/src/site/markdown/install.md)
RETRANSCRIPTION pour Debian Buster
```
sudo apt install openjdk-11-jre
cd /tmp
wget -kL https://github.com/jedisct1/libsodium/releases/download/1.0.18-RELEASE/libsodium-1.0.18.tar.gz
tar -xvf libsodium-1.0.18.tar.gz
cd libsodium-1.0.18
# sudo apt-get install build-essential -y
sudo ./configure
sudo make && sudo make check
sudo make install
cd /tmp
wget -kL https://github.com/duniter-gchange/gchange-pod/releases/download/gchange-pod-1.7.2/gchange-pod-1.7.2-standalone.zip
unzip gchange-pod-1.7.2-standalone.zip
cd gchange-pod-1.7.2
```
**DEBUG** Commenter la ligne ```elasticsearch.in.sh: ES_GC_OPTS="$ES_GC_OPTS -XX:+UseParNewGC"```
## Redirection proxy nginx
Créer un fichier de configuration pour nginx /etc/nginx/conf.d/gpod.conf
```
server {
listen 80;
listen [::]:80;
server_name aries.copylaradio.com;
location / {
proxy_pass http://127.0.0.1:9200;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;
}
}
```
Installer et utiliser ```certbot``` pour activer le chiffrage SSL sur le port 443
## Essai comme serveur dans le client gchange
**TEST** https://gchange.copylaradio.com/node/summary
![](https://forum.monnaie-libre.fr/uploads/default/original/2X/1/1c8505b0370728a29aafda9b15d20cb55f1e1e75.png)
## Suite dans le Forum Monnaie Libre
https://forum.monnaie-libre.fr/t/installation-de-gchange-pod/10779/7?u=qoop
github : https://github.com/duniter-gchange/gchange-pod/issues/18