[ OUTDATED ][ WORK IN PROGRESS]
[ OUTDATED ]RequirementsRaspberry Pi 3 Model BVilros Raspberry Pi 3 Basic Starter Kit--Clear Case Edition [Includes Wifi & Bluetooth Connectivity]StorageWD PiDrive BerryBoot Edition 1TB (includes 4GB SD card)WD PiDrive Enclosure KitLatest release of Raspbian Jesse Lite (2017-07-05 at the time of last edit)TorrentZIPBase system setupAssemble Raspberry PiAssemble PiDriveRefer to my unboxing and assembly post.Load Raspbian Jesse Lite onto SD card-
Linux-
Mac OS-
WindowsEnable SHHInsert SD card into Raspberry Pi
Bundle PiDrive to Raspberry Pi
Plug in ethernet cable to Raspberry Pi
Plug in PiDrive connector
Plug in power cable from PiDrive to Raspberry Pi
Plug in USB from PiDrive to Raspberry Pi
Plug in power cable from wall plug to PiDrive connector
Plug in power to wall
Find Raspberry Pi IP address
Check your router or use IP scanning software
SSH into Raspberry Pi
Open a terminal
ssh pi@RASPBERRY_PI_IP_ADDRESS
At the prompt type "yes" and press enter
Password is "raspberry"
WARNING! CHANGE PASSWORD NOW!OPTIONAL
Enable wifi
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Add the following to the bottom of the file
network={
ssid="YOUR_WIFI_ROUTER_NAME"
psk="YOUR_WIFI_ROUTER_PASSWORD"
}
Press ctrl+O
Press 'enter'
Press ctrl+X
Remove ethernet cable if WiFi is chosen
Expand the filesystemFind Raspberry Pi IP address if you switched to wifi
SSH into Raspberry Pi
Select "advanced options"
Select "expand filesystem"
Select "<Ok>"
Select "<Finish>"
Select "<Yes>"
Raspberry Pi will reboot
PiDrive SetupSSH into Raspberry Pi
List hard drives Look for a device named /dev/sdX - this is the PiDrive (sda, sdb, sdc, )
Partition driveAt the prompt type in "d" to delete partitions until there are no partitions
At the prompt type in "n" for new
At the prompt type in "p" for primary
At the prompt type in "1" for partition number
At the prompt press enter for defaults
At the prompt press enter for defaults
At the prompt type in "w" and press enter for write
This will use the full disk as storage
Format PiDriveAt the prompt type in "y" and press enter
Create mount point for PiDrive
Get PiDrive UUIDCopy the quoted field from PARTUUID="COPYME" for drive /dev/sdX1
Add "PARTUUID=COPYME /mnt/pidrive/ ext4 defaults 0 0" to bottom of file
Increase and Initialize swap filesudo nano /etc/dphys-swapfile
change “CONF_SWAPSIZE=100” to “CONF_SWAPSIZE=1000”
sudo dphys-swapfile setup
sudo dphys-swapfile swapon
Reboot
Verify mounting of PiDriveSSH into Raspberry Pi
List mounts
Verify "/dev/sdX1" is mounted on "/mnt/pidrive"
Update and upgrade systemsudo apt-get update
sudo apt-get upgrade
Press enter to download and install packages
SetupInstall required packagessudo apt-get install git autoconf libevent-dev libtool libssl-dev libboost-all-dev libminiupnpc-dev
Press enter
Download and compile Bitcoin UASF BIP148mkdir ~/bin
cd ~/bin
git clone git://github.com/UASF/bitcoin -b 0.14-BIP148
cd bitcoin
./autogen.sh
./configure --enable-upnp-default --disable-wallet --disable-bench --disable-zmq --without-gui --prefix=/usr/
make
make check
ONLY IF ALL THE TESTS PASS!sudo make install
rm -R ~/bin
Create Bitcoin storage folder and usersudo mkdir -p /mnt/pidrive/.bitcoinData/
sudo useradd -r bitcoind
sudo chown bitcoind:bitcoind /mnt/pidrive/.bitcoinData
Create Bitcoin system servicesudo nano /lib/systemd/system/bitcoind.service
Add
[Unit]
Description=Bitcoin's distributed currency daemon
After=network.target
[Service]
User=bitcoind
Group=bitcoind
Type=forking
PIDFile=/mnt/pidrive/.bitcoinData/bitcoind.pid
ExecStart=/usr/bin/bitcoind -daemon -pid=/mnt/pidrive/.bitcoinData/bitcoind.pid \
-conf=/etc/bitcoin/bitcoin.conf -datadir=/mnt/pidrive/.bitcoinData -disablewallet
Restart=always
PrivateTmp=true
TimeoutStopSec=60s
TimeoutStartSec=2s
StartLimitInterval=120s
StartLimitBurst=5
[Install]
WantedBy=multi-user.target
Run
sudo ln -s /lib/systemd/system/bitcoind.service /etc/systemd/system/multi-user.target.wants/bitcoind.service
Create Bitcoin.confsudo mkdir /etc/bitcoin
sudo nano /etc/bitcoin/bitcoin.conf
Paste this example configuration file for more optionsAdd these to the bottom
maxmempool=50
rpcuser=makeupanyusernamehere
rpcpassword=makeupanysecretpasswordhere
Run
sudo service bitcoind start
Bitcoin will start at when Raspberry Pi boots
Forward port 8333 for Raspberry Pi IP address on your router to enable more than 8 connections.
Status of nodeStatus of Bitcoinbitcoin-cli -datadir=/mnt/pidrive/.bitcoinData/ -conf=/etc/bitcoin/bitcoin.conf getinfo
Size of /mnt/pidrive/.bitcoinDatasudo du /mnt/pidrive/.bitcoinData/ -h
Future of ProjectExpand guide to include advanced configurations
UI for remote monitoring
Cleanup - Code blocks / Formatting
Secure distro
Optimize distro / Fork
Automate installation
Automate updates
Translations welcome
Suggestions welcome
THANKS TO EVERYONE IN THE COMMUNITY-
Full Node, Bitcoin Core v0.14.1 UASF-Segwit:0.3(BIP148), Raspberry Pi3B, 3.5"Generic TFT with network stats + HOW-TO Guide-
Ok, I'm finally annoyed enough to do this. Can someone link me an explanation of how to set up a UASF node on linux?-
My original published guideREPORT ANY BUGS OR ERRORS IN COMMENTS