Reference: https://downloads.raspberrypi.org/raspbian_latest.torrent
Reference: https://www.raspberrypi.org/documentation/installation/installing-images/README.md
sudo dd bs=1M if=2017-09-07-raspbian-stretch.img of=/dev/sdh conv=fsync
Reference: https://www.raspberrypi.org/documentation/remote-access/ssh/
See: This bash script
~20 minutes? for ob2-server to initialize and download btc blockchain and stuff
tail -f /ob2/logs/*
CTL+C to stop viewing the logs
Reference: https://freedomnode.com/blog/80/how-to-install-and-configure-new-openbazaar-2-0-on-linux-and-mac-os-x
docker kill ob2-server
cd /ob2
sed -i -E "s|(\"Gateway\": \"/ip4/)127.0.0.1|\10.0.0.0|" config
sudo apt install hashalot
USERNAME=foo
PASSWORD=barbaz
PWSHA256=$(echo ${PASSWORD} | sha256 -x)
sudo sed -i "s/\"Username\": \"\"/\"Username\": \"$USERNAME\"/g" config
sudo sed -i "s/\"Password\": \"\"/\"Password\": \"$PWSHA256\"/g" config
XXX TODO
docker run --net=host -v /ob2:/var/lib/openbazaar --name=ob2-server ob2-server
See: This bash script
cd ~/openbazaar-desktop
npm start
- Name: pi
- Server IP: localhost
- Username: foo
- Password: barbaz
- SSL: Off
- Port: 4002