Skip to content

Instantly share code, notes, and snippets.

View GuusSeldenthuis's full-sized avatar
✌️
 

Guus Seldenthuis GuusSeldenthuis

✌️
 
View GitHub Profile
#!/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
@GuusSeldenthuis
GuusSeldenthuis / setupNode.sh
Last active May 21, 2018 13:08
Setup ubuntu 16.04 Wispr node
#!/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;
@GuusSeldenthuis
GuusSeldenthuis / wispr.conf
Last active February 17, 2018 14:03
Configuration for default wisprNodes.
daemon=1
maxconnections=16
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