Created
November 23, 2019 09:30
-
-
Save bitbd83/c68ecb38772402ca663a599a4ee8243e to your computer and use it in GitHub Desktop.
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 | |
apt-get update | |
sudo apt-get install aptitude -y | |
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils git cmake -y | |
sudo add-apt-repository ppa:bitcoin/bitcoin -y | |
sudo apt-get update | |
sudo apt-get install libdb4.8-dev libdb4.8++-dev -y | |
sudo apt-get install libdb5.3++-dev -y | |
sudo apt-get install libminiupnpc-dev -y | |
sudo add-apt-repository ppa:mhier/libboost-latest -y | |
sudo apt update | |
echo "deb http://ppa.launchpad.net/mhier/libboost-latest/ubuntu bionic main" >> /etc/apt/sources.list | |
aptitude install libboost-all-dev -y | |
sudo apt-get update | |
wget http://cz.archive.ubuntu.com/ubuntu/pool/universe/b/boost-defaults/libboost-all-dev_1.65.1.0ubuntu1_amd64.deb | |
dpkg -i libboost-all-dev_1.65.1.0ubuntu1_amd64.deb | |
sudo apt-get update | |
#Nexbit Config - START | |
mkdir .nexbit | |
nano .nexbit/nexbit.conf | |
chmod 644 .nexbit/nexbit.conf | |
# Get binaries and install. | |
wget https://github.com/nexbitproject/daemon-linux/releases/download/v1.0.0.0-g/nexbitd | |
sleep 2 | |
chmod u+x nexbitd | |
rm libboost-all-dev_1.65.1.0ubuntu1_amd64.deb | |
sleep 2 | |
mv nexbitd /usr/bin/nexbitd | |
nexbitd -d | |
echo FINISH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment