mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-19 12:54:19 +01:00
make PATH persist
This commit is contained in:
@@ -34,12 +34,12 @@ 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`
|
`$ 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`
|
||||||
|
|
||||||
For the certificate to be obtained successfully a **dynamic DNS** and **port forwarding is necessary**.
|
For the certificate to be obtained successfully a **dynamic DNS** and **port forwarding is necessary**.
|
||||||
Forward port 80 to the IP of your RaspiBlitz for certbot.
|
Forward the port 80 to the IP of your RaspiBlitz for certbot.
|
||||||
Forward port 50002 to be able to access electrs from the outside of your LAN.
|
Forward the port 50002 to be able to access electrs from the outside of your LAN.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Install, configure and run the Electrum wallet on your Linux desktop
|
## 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)
|
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:
|
Download this script to your linux desktop, make it executable and run:
|
||||||
|
|||||||
@@ -30,8 +30,8 @@ sudo ufw allow 80
|
|||||||
echo ""
|
echo ""
|
||||||
echo "***"
|
echo "***"
|
||||||
echo "Installing certbot"
|
echo "Installing certbot"
|
||||||
echo " you will be asked for and email address and your domain name - a dynamic DNS can be used"
|
echo "Will ask for an email address and a domain name - a dynamic DNS can be used"
|
||||||
echo " give a 4-11 character password and press [ENTER] to save default options for the certificate"
|
echo "Use the default settings in the other options"
|
||||||
echo "***"
|
echo "***"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
|||||||
@@ -30,8 +30,11 @@ fi
|
|||||||
sudo apt-get install -y python3-setuptools python3-pip
|
sudo apt-get install -y python3-setuptools python3-pip
|
||||||
python3 -m pip install --user Electrum-3.3.4.tar.gz[fast]
|
python3 -m pip install --user Electrum-3.3.4.tar.gz[fast]
|
||||||
|
|
||||||
# add install dir to PATH
|
# add install dir to PATH (and make persist)
|
||||||
PATH=$PATH:~/.local/bin/
|
PATH=$PATH:~/.local/bin
|
||||||
|
touch ~/.profile
|
||||||
|
export PATH
|
||||||
|
~/.profile
|
||||||
|
|
||||||
echo "Type the PASSWORD B of your RaspiBlitz followed by [ENTER]:"
|
echo "Type the PASSWORD B of your RaspiBlitz followed by [ENTER]:"
|
||||||
read PASSWORD_B
|
read PASSWORD_B
|
||||||
|
|||||||
Reference in New Issue
Block a user