Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcianovc committed Jul 18, 2018
1 parent 4385ea4 commit 1e0558f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MXT_deploy_mn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi

echo "Running on Ubuntu $uris with $meis MB Ram and $swis MB swap"
echo "Updating the VM and installing dependencies"
apt update && apt -y upgrade && apt -y install build-essential libtool autotools-dev autoconf automake pkg-config libssl-dev libevent-dev libboost-all-dev libminiupnpc-dev libgmp-dev libcurl4-openssl-dev libdb-dev libdb++-dev git fail2ban zip
apt update && apt -y upgrade && apt -y install build-essential libtool autotools-dev autoconf automake pkg-config libssl-dev libevent-dev libboost-all-dev libminiupnpc-dev libgmp-dev libcurl4-openssl-dev libdb-dev libdb++-dev git fail2ban zip unzip
echo "Configuring fail2ban"
echo -e "[DEFAULT]\nbantime = 864000\nfindtime = 600\nmaxretry = 3\ndestemail = root@localhost\nsender = root@localhost\n\naction = %(action_mwl)s\n" >> /etc/fail2ban/jail.local
service fail2ban restart
Expand All @@ -47,7 +47,7 @@ echo "Building node config file"
echo -e "masternode=1\nmasternodeaddr=$iiis:51315\nmasternodeprivkey=$mnpkey\nexternalip=$iiis\nlogtimestamps=1\ntxindex=1\nstake=0\nstaking=0\n" >> ~/.MXT/MarteX.conf

echo "Downloading blockchain . . ."
cd ~/.MXT/ && rm blockchain-latest.zip && wget martexcoin.org/releases/blockchain-latest.zip && unzip -o blockchain-latest.zip && cd
cd ~/.MXT/ && wget martexcoin.org/releases/blockchain-latest.zip && unzip -o blockchain-latest.zip && cd

sleep 10; MarteXd

Expand Down

0 comments on commit 1e0558f

Please sign in to comment.