make PATH persist

This commit is contained in:
openoms
2019-04-16 18:02:52 +01:00
parent 61f2071728
commit f15e50df39
3 changed files with 10 additions and 7 deletions

View File

@@ -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`
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 port 50002 to be able to access electrs from the outside of your LAN.
Forward the port 80 to the IP of your RaspiBlitz for certbot.
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)
Download this script to your linux desktop, make it executable and run:

View File

@@ -30,8 +30,8 @@ sudo ufw allow 80
echo ""
echo "***"
echo "Installing certbot"
echo " you will be asked for and email address and your 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 "Will ask for an email address and a domain name - a dynamic DNS can be used"
echo "Use the default settings in the other options"
echo "***"
echo ""

View File

@@ -30,8 +30,11 @@ fi
sudo apt-get install -y python3-setuptools python3-pip
python3 -m pip install --user Electrum-3.3.4.tar.gz[fast]
# add install dir to PATH
PATH=$PATH:~/.local/bin/
# add install dir to PATH (and make persist)
PATH=$PATH:~/.local/bin
touch ~/.profile
export PATH
~/.profile
echo "Type the PASSWORD B of your RaspiBlitz followed by [ENTER]:"
read PASSWORD_B