This file contains 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 apt-get install -y build-essential golang; | |
git clone https://github.com/esprezzo/perkle.git | |
./perkle/scripts/build_release.sh; | |
./perkle/scripts/start_fullnode.sh; |
This file contains 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 | |
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb | |
sudo apt-get update | |
sudo apt-get install esl-erlang | |
sudo apt-get install elixir |
This file contains 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 | |
# setup ethereum testnet for dev | |
geth --testnet --datadir ~/.ethereum-testnet account new | |
# start test miner and console | |
geth --testnet --datadir "~/.ethereum-testnet" --mine console 2>> ~/.ethereum-testnet.log |
This file contains 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 | |
# DO NOT RUN THIS SCRIPT | |
# THIS IS A LIST OF COMMANDS | |
# USED TO SET UP DIFFERENT MULTIDISK RAID LEVELS ON UBUNTU LINUX | |
# inspect devices | |
# lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT | |
# raid level 1 // striping |
This file contains 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 apt-get remove golang --purge | |
wget https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz | |
sudo tar -C /usr/local -xzf go1.8.linux-amd64.tar.gz | |
mkdir -p ~/go; echo "export GOPATH=$HOME/go" >> ~/.bashrc | |
echo "export PATH=$PATH:$HOME/go/bin:/usr/local/go/bin" >> ~/.bashrc |
This file contains 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/sh | |
apt-get update | |
apt-get install apt-transport-https ca-certificates | |
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
echo 'deb https://apt.dockerproject.org/repo ubuntu-wily main' > /etc/apt/sources.list.d/docker.list | |
apt-get update | |
apt-get purge lxc-docker | |
apt-cache policy docker-engine | |
apt-get update | |
sudo apt-get install linux-image-extra-$(uname -r) -y |