Author

Topic: Instructions for installing the masternode of Eternity (ENT) on VPS under the ma (Read 175 times)

member
Activity: 221
Merit: 14
Enjoy
Do I need to have separate IP address for each masternode or can I run multiple masternodes on different ports from single IP?
for different coin you can use different ports. for one coin different ip
jr. member
Activity: 47
Merit: 1
Do I need to have separate IP address for each masternode or can I run multiple masternodes on different ports from single IP?
member
Activity: 221
Merit: 14
Enjoy
jr. member
Activity: 47
Merit: 1
So what profit can we expect with this setup per each dollar invested per period of time?
member
Activity: 221
Merit: 14
Enjoy
site: http://ent.eternity-group.org/en-EN/
topic: https://bitcointalksearch.org/topic/annent-eternity-x11-no-premine-1616533
coinmarketcap: https://coinmarketcap.com/currencies/eternity/
is best traded on livecoin https://livecoin.net/?from=Livecoin-GMXUhQNp

so proceed to configure the server,
It is assumed that you have a clean server and you just received it after the operating system installation and there is nothing on it and you have the right to root.
I specify the commands to be executed and why
Quote
yum -y update
update all defaults
Quote
reboot
we reboot the server to make sure it works and can be restored at least after reboot

after reboot the server should rise in a current of minutes 2 can five if it is not present more than 10 minutes at you there a problem
go ahead, we mean that the server is in order and you went to it after the reboot
put the system software that we will be in every way necessary and useful in either a role
Quote
yum -y install wget mc git screen golang gzip unzip unrar
I waited a bit when the install will end and give the following command

Quote
yum install -y autoconf automake boost-devel gcc-c++ libdb4-cxx libdb4-cxx-devel libevent-devel libtool openssl-devel software-properties-common libssl libboost libdb4 db4 build-essential  autotools-dev  pkg-config libssl-dev intltool gettext gcc kernel-devel libdb_cxx libdb++-dev libboost-devel boostlib libboost-all-dev libdb4.8-dev libdb4.8++-dev libminiupnpc-dev openssl libevent

it's all. nothing else we basically do not need to go to install and configure the masternode itself

go to the root directory
Quote
cd ~
clone git
Quote
go to currency folder
Quote
cd eternity
run autoconfig
Quote
./autogen.sh
now you need to tweet a little with the database each line a separate command
Quote
ENT_ROOT=$(pwd)
BDB_PREFIX="${ENT_ROOT}/db4"
mkdir -p $BDB_PREFIX
wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
echo '12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef  db-4.8.30.NC.tar.gz' | sha256sum -c
tar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix/
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
cd $ENT_ROOT
./configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
make
make install
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
echo "/usr/local/lib" > /etc/ld.so.conf.d/local.conf
ldconfig
cp  ~/eternity/db4/bin/eternityd /usr/local/bin/
cp ~/eternity/db4/bin/eternity-cli /usr/local/bin/

everything is set to configuring

initially we need a minimal config file eternity.conf
go to the settings directory
Quote
cd .eternitycore
edit file
eternity.conf
insert the following lines into it
Quote
externalip = 111.111.111.111:4855 #(here enter the ip server on which you set it all, you do not need to change the port)
rpcuser=XXXX #(here enter anything long)
rpcpassword=XXXX #(here enter anything long)
rpcallowip=127.0.0.1
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256


fileeternitynode.conf do not touch
and first run
Quote
eternityd
let's give some time to downloading  the information and make a request
Quote
eternity-cli getinfo
should return xml with a current type of information such as
Quote
{
  "version": 120107,
  "protocolversion": 70206,
  "walletversion": 61000,
  "balance": 0.00000000,
  "spysend_balance": 0.00000000,
  "blocks": 332982,
  "timeoffset": 1,
  "connections": 8,
  "proxy": "",
  "difficulty": 7207.190507434735,
  "testnet": false,
  "keypoololdest": 1530375005,
  "keypoolsize": 1001,
  "paytxfee": 0.00000000,
  "relayfee": 0.00010000,
  "errors": ""
}


to ensure that everything was clear and not mistaken with commissions we will establish two addresses
on the first we will deduce from a stock exchange 1001, and on the second we will translate exactly 1000 for activation of a node (from first)
Quote
eternity-cli getnewaddress frst
receive an address for withdrawal from the stock exchange type EbeGRYEFHm9gUXYmPN5LHA7GbUCgCGtB5i
Quote
eternity-cli getnewaddress mn1
get the address to activate the masternode EfqXUbtE6n35mS89YxcctPuiJ2jAzJM3ey

generate a unique node key
Quote
eternity-cli eternitynode genkey
we obtain a key of type
4Q6eSu9adFhTmVrJZzWLNqBTW5DikrpSTjCbaHwrooHMufmtZMF
write it in eternity.conf
add rows:
Quote
eternitynode=1
eternitynodeprivkey=XXXX


now start activation, we transfer from the exchange to your wallet which we have already generated above eg EbeGRYEFHm9gUXYmPN5LHA7GbUCgCGtB5i
when the funds are credited (we see it by  eternity-cli getbalance )
We need to translate exactly 1000 to master log account using the command
eternity-cli sendfrom frst EfqXUbtE6n35mS89YxcctPuiJ2jAzJM3ey 1000
In response, we need to get the transaction number
as sample 3bb9f193af4e7329f132a48df2cdc888916b949cdafb5bb7e4d4c57a6bd06e62
command eternity-cli eternitynode outputs
get the transaction id and the index 1 or 0, write it all down

we check that there are 16 confirmations
Quote
eternity-cli gettransaction 3bb9f193af4e7329f132a48df2cdc888916b949cdafb5bb7e4d4c57a6bd06e62
in returned information we search for "confirmations": 16 or more, if not, we expect


Now we are adding data to the configuration file for the operation of the masternode
eternitynode.conf
add
mn1 111.111.111.111:4855 4Q6eSu9adFhTmVrJZzWLNqBTW5DikrpSTjCbaHwrooHMufmtZMF 3bb9f193af4e7329f132a48df2cdc888916b949cdafb5bb7e4d4c57a6bd06e62 0
where
MN1 - name of masternode
111.111.111.111:4855 - The permanent IP address of your remote server and the port on which the wallet with the masternode (4855 - port for eternity [ENT])
4Q6eSu9adFhTmVrJZzWLNqBTW5DikrpSTjCbaHwrooHMufmtZMF - private master key, received by the command eternity-cli eternitynode genkey
3bb9f193af4e7329f132a48df2cdc888916b949cdafb5bb7e4d4c57a6bd06e62 - Transaction ID, received when transferring money from frst to mn1 purses, then we sent 1000 to our address as collateral for the master code
0 - output transaction index, defined by the eternity-cli eternitynode outputs

run masternode eternity-cli eternitynode start-alias mn1
check status
eternity-cli eternitynode status
ideal answer "status": "Eternitynode successfully started"

all okay, fly safe


p.s. sorry for my English. i'm Russian
Jump to: