From a5011e923288dc131ffaf1743af4cc00713b1c4f Mon Sep 17 00:00:00 2001 From: openoms Date: Tue, 16 Apr 2019 19:04:22 +0100 Subject: [PATCH] use `bash` to run --- electrs/README.md | 12 ++++++------ electrs/electrs_automation_for_Eclair.sh | 4 ++-- electrs/electrs_install_on_RaspiBlitz.sh | 4 ++-- electrs/electrum_install_config_and_run.sh | 4 +--- nginx/README.md | 4 ++-- nginx/bonus.SSL_for_RTL.sh | 4 ++-- 6 files changed, 15 insertions(+), 17 deletions(-) diff --git a/electrs/README.md b/electrs/README.md index 67c5015..8166ad8 100644 --- a/electrs/README.md +++ b/electrs/README.md @@ -10,8 +10,8 @@ Requires 47 Gb diskpace (March 2019). The install instructions adapted to the RaspiBlitz are in this script, take a look: [electrs_install_on_RaspiBlitz.sh](electrs_install_on_RaspiBlitz.sh) -Download this script to your RaspiBlitz, make it executable and run: -`$ wget https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/electrs/electrs_install_on_RaspiBlitz.sh && sudo chmod +x electrs_install_on_RaspiBlitz.sh && ./electrs_install_on_RaspiBlitz.sh` +To download and run on the RaspiBlitz:: +`$ wget https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/electrs/electrs_install_on_RaspiBlitz.sh && bash electrs_install_on_RaspiBlitz.sh` --- @@ -30,8 +30,8 @@ Can be used as a secure backend of: Take a look: [electrs_automation_for_Eclair.sh](electrs_automation_for_Eclair.sh) -To download this script, make executable and run: -`$ wget https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/electrs/electrs_automation_for_Eclair.sh && sudo chmod +x electrs_automation_for_Eclair.sh && ./electrs_automation_for_Eclair.sh` +To download and run on the RaspiBlitz: +`$ wget https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/electrs/electrs_automation_for_Eclair.sh && bash electrs_automation_for_Eclair.sh` For the certificate to be obtained successfully a **dynamic DNS** and **port forwarding is necessary**. Forward the port 80 to the IP of your RaspiBlitz for certbot. @@ -42,6 +42,6 @@ Forward the port 50002 to be able to access electrs from the outside of your LAN ## Linux desktop: Install, configure and run the Electrum wallet The instruction are in the script: [electrum_install_config_and_run.sh](electrum_install_config_and_run.sh) -Download this script to your linux desktop, make it executable and run: -`$ wget https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/electrs/electrum_install_config_and_run.sh && sudo chmod +x electrum_install_config_and_run.sh && ./electrum_install_config_and_run.sh` +To download and run on the Linux desktop: +`$ wget https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/electrs/electrum_install_config_and_run.sh && bash electrum_install_config_and_run.sh` diff --git a/electrs/electrs_automation_for_Eclair.sh b/electrs/electrs_automation_for_Eclair.sh index 80b4c53..2cc8e3d 100644 --- a/electrs/electrs_automation_for_Eclair.sh +++ b/electrs/electrs_automation_for_Eclair.sh @@ -1,8 +1,8 @@ # A script to set up the Electrum Server in Rust on the RaspiBlitz to connect over SSL to Eclair and Electrum wallet # Sets up the automatic start of electrs and nginx and certbot -# To download this script, make executable and run: -# $ wget https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/electrs/electrs_automation_for_Eclair.sh && sudo chmod +x electrs_automation_for_Eclair.sh && ./electrs_automation_for_Eclair.sh +# To download and run: +# $ wget https://raw.githubusercontent.com/openoms/bitcoin-tutorials/master/electrs/electrs_automation_for_Eclair.sh && bash electrs_automation_for_Eclair.sh # For the certificate to be obtained successfully a dynamic DNS and port forwarding is needed # Need to forward port 80 to the IP of your RaspiBlitz for certbot diff --git a/electrs/electrs_install_on_RaspiBlitz.sh b/electrs/electrs_install_on_RaspiBlitz.sh index e469630..38e0872 100644 --- a/electrs/electrs_install_on_RaspiBlitz.sh +++ b/electrs/electrs_install_on_RaspiBlitz.sh @@ -1,5 +1,5 @@ -# Download this script to your RaspiBlitz, make it executable, and run: -# $ wget https://github.com/openoms/bitcoin-tutorials/raw/master/electrs/electrs_install_on_RaspiBlitz.sh && sudo chmod +x electrs_install_on_RaspiBlitz.sh && ./electrs_install_on_RaspiBlitz.sh +# Download and run this script on the RaspiBlitz: +# $ wget https://github.com/openoms/bitcoin-tutorials/raw/master/electrs/electrs_install_on_RaspiBlitz.sh && bash electrs_install_on_RaspiBlitz.sh # https://github.com/romanz/electrs/blob/master/doc/usage.md echo "" diff --git a/electrs/electrum_install_config_and_run.sh b/electrs/electrum_install_config_and_run.sh index bf0138f..3daf022 100644 --- a/electrs/electrum_install_config_and_run.sh +++ b/electrs/electrum_install_config_and_run.sh @@ -1,9 +1,7 @@ # Download this script to your linux desktop: # $ wget https://gist.github.com/openoms/8d365f330f5e1288933e0f4874b56dbd/raw/2cf47bf5cc629e861540f4dd5fa525fd157fc341/electrum_install_config_and_run.sh -# make it executable: -# $ sudo chmod +x electrum_install_config_and_run.sh # and run: -# $ ./electrum_install_config_and_run.sh +# $ bash electrum_install_config_and_run.sh # https://electrum.org/#download # Install dependencies: diff --git a/nginx/README.md b/nginx/README.md index 8ab2833..5111cb7 100644 --- a/nginx/README.md +++ b/nginx/README.md @@ -2,6 +2,6 @@ Have a look a the script here: [bonus.SSL_for_RTL.sh](bonus.SSL_for_RTL.sh). -To download, make executable and run: -`wget https://github.com/openoms/bitcoin-tutorials/raw/master/nginx/bonus.SSL_for_RTL.sh && sudo chmod +x bonus.SSL_for_RTL.sh && ./bonus.SSL_for_RTL.sh` +To download and run: +`wget https://github.com/openoms/bitcoin-tutorials/raw/master/nginx/bonus.SSL_for_RTL.sh && bash bonus.SSL_for_RTL.sh` ` diff --git a/nginx/bonus.SSL_for_RTL.sh b/nginx/bonus.SSL_for_RTL.sh index 6509a68..91ad415 100644 --- a/nginx/bonus.SSL_for_RTL.sh +++ b/nginx/bonus.SSL_for_RTL.sh @@ -1,6 +1,6 @@ # Script to install nginx and certbot to enable SSL connection for RTL -# To download, make executable and run: -# $ wget https://github.com/openoms/bitcoin-tutorials/raw/master/nginx/bonus.SSL_for_RTL.sh && sudo chmod +x bonus.SSL_for_RTL.sh && ./bonus.SSL_for_RTL.sh +# To download and run: +# $ wget https://github.com/openoms/bitcoin-tutorials/raw/master/nginx/bonus.SSL_for_RTL.sh && bash bonus.SSL_for_RTL.sh # For the certificate to be obtained successfully a dynamic DNS and port forwarding is needed