From 76fea173ead649a1bec59570ba996e1db5f01273 Mon Sep 17 00:00:00 2001 From: Jean-Luc Date: Sat, 18 Jan 2020 23:01:56 +0000 Subject: [PATCH] 7-install-duniter.sh : copy of used commands --- .install/7-install-duniter.sh | 7 +++++++ .install/templates/4a/daemon.php | 2 +- g1sms.pub.key | 0 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .install/7-install-duniter.sh mode change 100755 => 100644 g1sms.pub.key diff --git a/.install/7-install-duniter.sh b/.install/7-install-duniter.sh new file mode 100644 index 0000000..af5dc80 --- /dev/null +++ b/.install/7-install-duniter.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +wget https://jytou.fr/duniter/duniter-server-v1.7.19-linux-armv7l.deb +sudo dpkg --install duniter-server-v1.7.19-linux-armv7l.deb +sudo apt install -f +sudo duniter wizard network +sudo duniter sync g1.donnadieu.fr:12901 diff --git a/.install/templates/4a/daemon.php b/.install/templates/4a/daemon.php index 150b3e2..9626553 100755 --- a/.install/templates/4a/daemon.php +++ b/.install/templates/4a/daemon.php @@ -3,7 +3,7 @@ if(php_sapi_name() != 'cli' && !empty($_SERVER['REMOTE_ADDR'])) exit("Access Denied."); // Please configure this -$url = "http://_DOMAIN"; +$url = "http://g1tag.donnadieu.fr"; fclose(fopen($url."/index.php/daemon/message_routine/", "r")); diff --git a/g1sms.pub.key b/g1sms.pub.key old mode 100755 new mode 100644