1
Off-topic / Space Animation
« on: January 15, 2016, 02:54:05 am »
Thread to discuss my space simulation.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
apt-get update
2.apt-get install sudo
adduser <username>
{-Put in info- & press y}sudo adduser <username you created before> sudo
exit |
sudo apt-get install git build-essential autoconf libboost-system-dev libboost filesystem-dev libboost-program-options-dev libboost-thread-dev libboost-test-dev libssl-dev libprotobuf-dev protobuf-compiler libqt4-dev libqrencode-dev libdb-dev libdb++-dev libminiupnpc-dev
mkdir -p src && cd src
git clone https://github.com/spreadcoin/spreadcoin.git
ls spreadcoin
cd spreadcoin/src
git checkout master
make -j $(nproc) -f makefile.unix
mkdir -p ~/.spreadcoin
cat > ~/.spreadcoin/spreadcoin.conf <<EOF
rpcuser=SOMETHING
rpcpassword=UNIQUE # change this, create a strong password
maxconnections=1000
timeout=20000
port=41678
txindex=1
EOF
sudo cp spreadcoind /usr/local/bin/spreadcoind
sudo ln -s /usr/local/bin/spreadcoind /usr/bin/spreadcoind
spreadcoind & disown
sudo apt-get install cron nano
export EDITOR=nano
crontab-e
@reboot spreadcoind -daemon
#This will check every hour to make sure the daemon is running.
0 * * * * /usr/bin/spreadcoind -daemon
spreadcoind <insert command>
spreadcoind stop