ssh_tunnel: fix link

This commit is contained in:
openoms
2019-12-16 08:36:01 +00:00
parent c7c2dbc719
commit 30c299065d
2 changed files with 32 additions and 1 deletions

View File

@@ -30,4 +30,35 @@ sudo ufw allow 4002
go run openbazaard.go start &
-----------------
# https://github.com/OpenBazaar/openbazaar-go/blob/master/docs/install-pi3.md
# https://github.com/OpenBazaar/openbazaar-go
# https://github.com/OpenBazaar/openbazaar-go#usage
sudo mkdir /mnt/hdd/openbazaar
sudo chown -R bitcoin:bitcoin /mnt/hdd/openbazaar
sudo su bitcoin
/home/admin/config.scripts/go.install.sh
go get github.com/OpenBazaar/openbazaar-go
cd $GOPATH/src/github.com/OpenBazaar/openbazaar-go
git checkout v0.13.6
#echo "export GOPATH=/home/admin/go" >> .profile
#echo "export PATH=$PATH:/usr/local/go/bin" >> .profile
source ~/.profile
go run $GOPATH/src/github.com/OpenBazaar/openbazaar-go/openbazaard.go init -d /mnt/hdd/openbazaar -v
go run $GOPATH/src/github.com/OpenBazaar/openbazaar-go/openbazaard.go setapicreds -d /mnt/hdd/openbazaar -v
go run $GOPATH/src/github.com/OpenBazaar/openbazaar-go/openbazaard.go start --tor -d /mnt/hdd/openbazaar -v
# https://api.docs.openbazaar.org/
sed -i -- 's/127.0.0.1/0.0.0.0/g' /mnt/hdd/openbazaar/config
sudo ufw allow 4002 comment 'openbazaar'

View File

@@ -88,4 +88,4 @@ You should be able access the ports/services of the host computer through the IP
https://github.com/rootzoll/raspiblitz/blob/master/FAQ.md#how-to-setup-port-forwarding-with-a-ssh-tunnel
https://stadicus.github.io/RaspiBolt/raspibolt_20_pi.html#login-with-ssh-keys
https://stadicus.github.io/RaspiBolt/raspibolt_21_security.html#login-with-ssh-keys