Created
March 15, 2017 21:15
-
-
Save cronicc/5a5af84c5ef7e3be79ac3fbf2d8f7356 to your computer and use it in GitHub Desktop.
zclassic quick install
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 | |
# quick install script for zclassic node | |
###### | |
#WIP | |
###### | |
sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get -y update | |
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install \ | |
build-essential pkg-config libc6-dev m4 g++-multilib \ | |
autoconf libtool ncurses-dev unzip git python \ | |
zlib1g-dev wget bsdmainutils automake | |
mkdir ~/src && cd ~/src | |
git clone https://github.com/z-classic/zclassic.git | |
cd zclassic/ | |
git checkout master | |
./zcutil/fetch-params.sh | |
./zcutil/build.sh -j$(nproc) | |
mkdir -p ~/.zclassic | |
echo "addnode=dnsseed.zclassic.org" > ~/.zclassic/zclassic.conf | |
echo "addnode=dnsseed.rotorproject.org" >> ~/.zclassic/zclassic.conf | |
echo "rpcuser=username" >> ~/.zclassic/zclassic.conf | |
echo "rpcpassword=`head -c 32 /dev/urandom | base64`" >> ~/.zclassic/zclassic.conf | |
~/src/zclassic/src/zcashd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment