This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo -s | |
# the version of lxc-start in Debian needs to run as root, so make sure | |
# that the build script can execute it without providing a password | |
echo "%sudo ALL=NOPASSWD: /usr/bin/lxc-start" > /etc/sudoers.d/gitian-lxc | |
echo "%sudo ALL=NOPASSWD: /usr/bin/lxc-execute" >> /etc/sudoers.d/gitian-lxc | |
# make /etc/rc.local script that sets up bridge between guest and host | |
echo '#!/bin/sh -e' > /etc/rc.local | |
echo 'brctl addbr br0' >> /etc/rc.local | |
echo 'ip addr add 10.0.3.2/24 broadcast 10.0.3.255 dev br0' >> /etc/rc.local |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo '## Updating and installing packages.'; | |
sudo apt update && sudo apt upgrade -y; | |
sudo apt install git libqrencode-dev libssl-dev libdb++-dev libminiupnpc-dev build-essential libboost-all-dev -y; | |
echo '## Increasing swap size.'; | |
sudo swapoff -a && sudo dd if=/dev/zero of=/swapfile bs=1M count=1024 && sudo mkswap /swapfile && sudo swapon /swapfile; | |
echo '## Downloading & building Wispr wallet.'; | |
git clone https://github.com/WisprProject/core.git; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
daemon=1 | |
maxconnections=16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
maxconnection=128 | |
addnode=109.154.106.128:17000 | |
addnode=185.167.206.44:17000 | |
addnode=172.104.143.62:17000 | |
addnode=188.166.40.228:17000 | |
addnode=61.6.45.228:17000 | |
addnode=136.144.157.58:17000 | |
addnode=78.203.30.21:17000 | |
addnode=218.236.99.241:17000 | |
addnode=187.182.79.182:17000 |