System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by:
System: Debian/Ubuntu/Fedora. Might work for others as well.
As mentioned here, to update a go version you will first need to uninstall the original version.
To uninstall, delete the /usr/local/go directory by:
| version: '3.8' | |
| services: | |
| mongo: | |
| image: mongo:7.0 | |
| environment: | |
| MONGO_INITDB_ROOT_USERNAME: mongadmin | |
| MONGO_INITDB_ROOT_PASSWORD: LikeAndSubscribe | |
| ports: | |
| - 27017:27017 | |
| volumes: | 
| #!/bin/bash | |
| if [ "$1" = "start" ]; then | |
| echo "Starting Lightning Network" | |
| echo "=====================" | |
| sudo service lnd start & | |
| lncli unlock | |
| elif [ "$1" = "stop" ]; then | |
| echo "Stopping Lightning Network" | 
| { | |
| "countries": [ | |
| { | |
| "country": "Afghanistan", | |
| "states": ["Badakhshan", "Badghis", "Baghlan", "Balkh", "Bamian", "Daykondi", "Farah", "Faryab", "Ghazni", "Ghowr", "Helmand", "Herat", "Jowzjan", "Kabul", "Kandahar", "Kapisa", "Khost", "Konar", "Kondoz", "Laghman", "Lowgar", "Nangarhar", "Nimruz", "Nurestan", "Oruzgan", "Paktia", "Paktika", "Panjshir", "Parvan", "Samangan", "Sar-e Pol", "Takhar", "Vardak", "Zabol"] | |
| }, | |
| { | |
| "country": "Albania", | |
| "states": ["Berat", "Dibres", "Durres", "Elbasan", "Fier", "Gjirokastre", "Korce", "Kukes", "Lezhe", "Shkoder", "Tirane", "Vlore"] | |
| }, | 
| #!/bin/bash | |
| sudo apt-get update | |
| sudo apt-get -y upgrade | |
| echo "1. server dependencies updated and upgraded" | |
| echo " " | |
| echo "2. installing build essentials and python-dev" |