Author Topic: Linux Guide by Mangle Blue  (Read 1286 times)

limxdev

  • Administrator
  • Jr. Member
  • *****
  • Posts: 64
    • View Profile
Linux Guide by Mangle Blue
« on: April 27, 2015, 10:02:07 AM »
Here's the steps I used to make a LIMX MN

Read all the way thru 1st........
good luck


5000LIMX required


Code: [Select]
Lx -login to remote server via ssh in console in VMplayer within ubuntu
ssh -i '/home/user/dirlmx/xxxxxxx.pem' ubuntu@xxx.xxx.xxx.xxx

Lx-change PSW
sudo passwd root

Lx- create user - not needed
adduser <NEW USER>
passwd <PSW>

Lx-update system
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install build-essential
sudo apt-get install libtool autotools-dev autoconf automake
sudo apt-get install libssl-dev
sudo apt-get install libboost-all-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev
sudo apt-get install libdb4.8++-dev
sudo apt-get install miniupnpc*-dev
su -
apt-get install build-essential libssl-dev libboost-all-dev libdb5.1 libdb5.1-dev libdb5.1++-dev
apt-get install git ntp make g++ gcc autoconf cpp ngrep iftop sysstat
update-rc.d ntp enable
sudo reboot

Lx -swapfile
sudo dd if=/dev/zero of=/swapfile bs=1M count=1024
mkswap /swapfile
swapon /swapfile

Lx-setup FireWall in root
su -
apt-get install ufw
ufw allow ssh/tcp
ufw limit ssh/tcp
ufw allow 8886/tcp
ufw logging on
ufw enable
ufw status
exit
sudo reboot

Lx-download and install LIMX
sudo apt-get install unzip
mkdir .limecoinx

cd .limecoinx
wget http://sourceforge.net/projects/limx/files/limx-linux64.zip
unzip limx-linux64.zip
sudo cp limecoinxd /usr/bin
sudo chmod 775 /usr/bin/limecoinxd

LX-create limecoinx.conf in nano in .limecoinx DIR
cd .limecoinx
nano
---------
rpcuser=<anything>
rpcpassword=<anything>
rpcallowip=127.0.0.1
maxconnections=256
masternode=1
masternodeprivkey=XXXXXX
externalip=xxx.xxx.xxx.xxx:8886
------------
exit and save
cd

Lx-create CRON
cd /etc/cron.d
crontab -e
2 (for nano)
at bottom of newly created file, insert:
--------------
@reboot /usr/bin/limecoinxd -shrinkdebugfile          [to start masternode  (or wherever you keep your daemon)]
*/20 * * * * /usr/bin/limecoinxd
--------------
exit and save
cd

WIN -console in -Qt - you need this stuff above also
getaccountaddress 0
masternode genkey


WIN -limecoinx.conf in %appdata%
-----
rpcuser=<anything>
rpcpassword=<anything>
maxconnections=256
masternode=1
masternodeprivkey=XXXXXXXXXXXXXXXXXX
masternodeaddr=xxx.xxx.xxx.xxx:8886
-----

WIN -Qt console
masternode start <PSW>

WIN -useful commands
masternode list     <<find your MN IP :-D
masternode debug
masternode stop
getinfo
help
setgenerate true -1   <<full CPU mining in the local Qt, even works while Masternode'ing
setgenerate false   <<stop mining
getmininginfo

Lx - useful commands
limecoinxd getinfo
limecoinxd masternode list
limecoinxd masternode debug
limecoinxd masternode stop
limecoinxd help
netstat -an | grep 8886
limecoinxd  masternode list | grep  -e xxx.xxx.xxx.xxx -e xxx.xxx.xxx.........  <<To see all your MN's at once








edit: update cron line to shrink debug file - big debug files sux :-D this helps
edit2: update cron line with: */20 * * * * /usr/bin/limecoinxd      <<I forget what it does but I know it sounded good at the time
add useful commands....
edit3: add swapfile

Mangled Blue

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Linux Guide by Mangle Blue
« Reply #1 on: April 27, 2015, 04:36:55 PM »
Present - Got reg and logged -

If anybody has questions - please ask



----------------------
Donations accepted
LIMX: iJoErdkzuMJLCmhCTASDFMAAJoRTWVmM4U
DASH: XwSfYNDFwjkYPmWtiW14oWbiS3GF8ssD19
BTC: 12F43ZfQMFKJUhXjDqpj51kTKPrCDuRR22

limxdev

  • Administrator
  • Jr. Member
  • *****
  • Posts: 64
    • View Profile
Re: Linux Guide by Mangle Blue
« Reply #2 on: April 27, 2015, 10:13:35 PM »
Present - Got reg and logged -

If anybody has questions - please ask



----------------------
Donations accepted
LIMX: iJoErdkzuMJLCmhCTASDFMAAJoRTWVmM4U
DASH: XwSfYNDFwjkYPmWtiW14oWbiS3GF8ssD19
BTC: 12F43ZfQMFKJUhXjDqpj51kTKPrCDuRR22

Welcome  :) Your are the first Member here!