Вы находитесь на странице: 1из 2

Log into your VPS

Windows users follow this guide to log into your VPS.


Copy/paste these commands into the VPS and hit enter: (One Box At A Time)
apt-get -y update
apt-get -y upgrade
apt-get -y install software-properties-common
apt-add-repository -y ppa:bitcoin/bitcoin
apt-get -y update
apt-get -y install \
wget \
git \
unzip \
libevent-dev \
libboost-dev \
libboost-chrono-dev \
libboost-filesystem-dev \
libboost-program-options-dev \
libboost-system-dev \
libboost-test-dev \
libboost-thread-dev \
libminiupnpc-dev \
build-essential \
libtool \
autotools-dev \
automake \
pkg-config \
libssl-dev \
libevent-dev \
bsdmainutils \
libzmq3-dev \
nano
apt-get -y update
apt-get -y upgrade
apt-get -y install libdb4.8-dev
apt-get -y install libdb4.8++-dev
wget https://github.com/polispay/polis/releases/download/v1.2.0/poliscore-1.2.0-
linux.zip
unzip poliscore-1.2.0-linux.zip
rm poliscore-1.2.0-linux.zip
cp poliscore-1.2.0-linux/usr/local/bin/polis{d,-cli} /usr/local/bin
cd
mkdir -p .poliscore
nano .poliscore/polis.conf
Replace: externalip=VPS_IP_ADDRESS masternodeprivkey=WALLET_GENKEY With your info!

rpcuser=randuser43897ty8943
rpcpassword=passhf95uiygr5308h08r3h0249fbgh7389h973
rpcallowip=127.0.0.1
listen=1
server=1
daemon=0
logtimestamps=1
maxconnections=256
externalip=VPS_IP_ADDRESS
masternodeprivkey=WALLET_GENKEY
masternode=1
connect=35.227.49.86:24126
connect=192.243.103.182:24126
connect=185.153.231.146:24126
connect=91.223.147.100:24126
connect=96.43.143.93:24126
connect=104.236.147.210:24126
connect=159.89.137.114:24126
connect=159.89.139.41:24126
connect=174.138.70.155:24126
connect=174.138.70.16:24126
connect=45.55.247.25:24126
CTRL X to save it. Y for yes, then ENTER.

polisd &
apt-get -y install virtualenv python-pip
git clone https://github.com/polispay/sentinel /sentinel
cd /sentinel
virtualenv venv
. venv/bin/activate
pip install -r requirements.txt
crontab -e
Hit 2. This will brin up an editor. Paste the following in it at the bottom.

* * * * * cd /sentinel && ./venv/bin/python bin/sentinel.py >/dev/null 2>&1


CTRL X to save it. Y for yes, then ENTER.

3.Use watch polis-cli getinfo to check and wait til it's synced (look for blocks
number and compare with block explorer http://block.polispay.org/ )

Вам также может понравиться