diff --git a/openbazaar/openbazaar_to_raspiblitz.sh b/openbazaar/openbazaar_to_raspiblitz.sh index 12ee886..8f0f1de 100644 --- a/openbazaar/openbazaar_to_raspiblitz.sh +++ b/openbazaar/openbazaar_to_raspiblitz.sh @@ -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' diff --git a/ssh_tunnel.md b/ssh_tunnel.md index 81673e6..7d054fe 100644 --- a/ssh_tunnel.md +++ b/ssh_tunnel.md @@ -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