1+ #! /bin/bash
2+ # To build a SyndicateQT from https://github.com/SyndicateLabs/Syndicate Repository on to an Ubuntu VPS
3+ # Adds swap and runs the wallet daemon (your first instance)
4+ # to run multiple instances afterwards get guidance from the community (for now)
5+ # MUST RUN AS ROOT
6+ # #####################################################################
7+ # PLEASE REVIEW IT BEFORE YOUR RUN IT
8+ # #####################################################################
9+
10+ clear
11+ echo " Fingers crossed..... Thanks to REFFI for helping us test it :)"
12+ echo " This script builds Syndicated from https://github.com/SyndicateLabs/Syndicate Repository on to an Ubuntu VPS like vultr $5 "
13+ echo " It also adds 3G of swap space and runs the wallet for your first instance"
14+ echo " This script must be run as root"
15+
16+ fallocate -l 3G /swapfile
17+ chmod 600 /swapfile
18+ mkswap /swapfile
19+ swapon /swapfile
20+ echo -e " /swapfile none swap sw 0 0 \n" >> /etc/fstab
21+
22+ apt-get update
23+ apt-get -y install build-essential autoconf automake libtool libboost-all-dev libgmp-dev libssl-dev libcurl4-openssl-dev libevent-dev libdb-dev libdb++-dev git
24+
25+ cd /opt
26+ rm -rf SyndicateQT
27+ git clone https://github.com/SyndicateLabs/SyndicateQT
28+ cd SyndicateQT/src
29+ chmod +x leveldb/build_detect_platform
30+ chmod +x secp256k1/autogen.sh
31+ make -f makefile.unix USE_UPNP=-
32+ strip Syndicated
33+ cp Syndicated /usr/local/bin
34+ make -f makefile.unix clean
35+ cd
36+ Syndicated
37+ sleep 10
38+ echo -n " Key In a User Name for RPC access (preferably not your computer username) and press [ENTER]: "
39+ read usrnam
40+ echo -n " Key In a LONG RANDOM PASSWORD for the above user and press[ENTER]: "
41+ read usrpas
42+ echo -n " Key In the port your want the RPC to listen on press[ENTER]: "
43+ read rpcprt
44+ echo -n " Key In the port your want the SYNX Daemon to listen on press[ENTER]: "
45+ read synxprt
46+ echo -e " rpcuser=$usrnam \nrpcpassword=$usrpas \nrpcallowip=127.0.0.1 \nrpcport=$rpcprt \nport=$synxprt \nserver=1 \nlisten=1 \ndaemon=1 \nlogtimestamps=1 \nmnconflock=0 \n" > ~ /.Syndicate/Syndicate.conf
47+ Syndicated
48+ echo " Hold your horses for 10 sec"
49+ sleep 10
50+ Syndicated getinfo
51+ echo " Need Help? ... Hop on Slack or BTCT https://bitcointalk.org/index.php?topic=1511215.0;topicseen and the community members WILL help you"
0 commit comments