Shell script to install a LogisCoin Masternode on a Linux server running Ubuntu 14.04 or 16.04
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 37 commits ahead, 4 commits behind lpcproject:master.
Latest commit 0b9aa67 Nov 13, 2018
Permalink
Failed to load latest commit information.
LICENSE.md Create LICENSE.md Mar 16, 2018
README.md Update README.md Nov 4, 2018
lgs-install.sh Update lgs-install.sh Nov 8, 2018
lgs-upblock.sh Update lgs-upblock.sh Nov 13, 2018
lgs-update.sh Update lgs-update.sh Nov 8, 2018

README.md

LogisCoin

Shell script to install a LogisCoin Masternode on a Linux server running Ubuntu 14.04, 16.04 or 18.04. Use it on your own risk.


Installation wallet (latest version):

git clone https://github.com/lgsproject/lgs-install/
cd lgs-install
bash lgs-install.sh

Update wallet to latest version:

cd ~/lgs-install/
git pull
bash lgs-update.sh

OR

git clone https://github.com/lgsproject/lgs-install/
cd lgs-install
bash lgs-update.sh

Delete old blockchain files, to download new ones:

cd ~/lgs-install/
git pull
bash lgs-upblock.sh

Desktop wallet setup

After the MN is up and running, you need to configure the desktop wallet accordingly. Here are the steps for Windows Wallet

  1. Open the LogisCoin Coin Desktop Wallet.
  2. Go to RECEIVE and create a New Address: MN1
  3. Send 1000 LogisCoin to MN1.
  4. Wait for 15 confirmations.
  5. Go to Tools -> "Debug console - Console"
  6. Type the following command: masternode outputs
  7. Go to ** Tools -> "Open Masternode Configuration File"
  8. Add the following entry:
Alias Address Privkey TxHash Output_index
  • Alias: MN1
  • Address: VPS_IP:PORT
  • Privkey: Masternode Private Key
  • TxHash: First value from Step 6
  • Output index: Second value from Step 6
  1. Save and close the file.
  2. Go to Masternode Tab. If you tab is not shown, please enable it from: Settings - Options - Wallet - Show Masternodes Tab
  3. Click Update status to see your node. If it is not shown, close the wallet and start it again. Make sure the wallet is unlocked.
  4. Open Debug Console and type:
startmasternode "alias" "0" "MN1"

Usage:

logiscoin-cli getinfo
logiscoin-cli mnsync status
logiscoin-cli masternode status

Also, if you want to check/start/stop LogisCoin , run one of the following commands as root:

Ubuntu 16.04 or 18.04:

systemctl status LogisCoin #To check the service is running.
systemctl start LogisCoin #To start LogisCoin service.
systemctl stop LogisCoin #To stop LogisCoin service.
systemctl is-enabled LogisCoin #To check whetether LogisCoin service is enabled on boot or not.

Ubuntu 14.04:

/etc/init.d/LogisCoin start #To start LogisCoin service
/etc/init.d/LogisCoin stop #To stop LogisCoin service
/etc/init.d/LogisCoin restart #To restart LogisCoin service