Post
Topic
Board Announcements (Altcoins)
Re: NEM (XEM) Official Thread -100% Original Codebase - Over 70 Active Team Members
by
punkrock
on 15/05/2015, 08:12:34 UTC
Finally got my stake and now I'm trying to harvest. Do I have to leave the browser NEM client open or does it harvest if I just have it in the system tray?

The best idea is to start your own node and use "delegated harvesting". It's very simple!

Code:
##################################
# Create your own Amazon EC2 VPS #
##################################

Tutorial: http://bit.do/awsnode


##################################
# Connect to your VPS with Putty #
##################################

Tutorial: http://bit.do/puttyamazon


############################################
# Install NEM's NCC and NIS on your Ubuntu #
############################################

sudo su

sudo apt-get install unzip

wget https://github.com/jadedjack/Nem-Installers/archive/master.zip
unzip master.zip

cd Nem-Installers-master/

chmod +x ./install_nem.sh
chmod +x ./ubuntu_install_nem_tools.sh

./ubuntu_install_nem_tools.sh
|
|--> create swap? yes (take some seconds...)
|--> install oracle java 8? yes (OK, YES
|--> install NTP? yes
|--> install failban2? yes
|--> install usefull programs? yes
|--> yes, yes, yes ;)

./install_nem.sh


#####################
# Start NIS nor NCC #
#####################

sudo /etc/init.d/nis start
sudo /etc/init.d/ncc start


###################
# Stop NIS or NCC #
###################

sudo /etc/init.d/nis stop
sudo /etc/init.d/ncc stop


#############################################################
# Set the maximum numbers of harvesters on your public node #
#############################################################

sudo nano /etc/nem/nis/config-user.properties

# Maximum number of unlocked accounts. Meaning: maximum number of accounts that are allowed to use this NIS for harvesting
# Keep the value within a reasonable range, a too large value an cause problems for all harvesting accounts.
nis.unlockedLimit = 10
 
# Account addresses that are allowed to use this NIS for harvesting (pipe-separated) (no spaces and  no -)
# Leave this empty, if you don't want to set any restrictions.
nis.allowedHarvesterAddresses =


#############################################################
# Important for Amazon's EC2 VPS with 1 GB RAM: REDUCE RAM! #
#############################################################

sudo nano /etc/init.d/nis

Change the line export MAXRAM=1G to MAXRAM=768M


##################
# other commands #
##################

Show up running processes in Ubuntu: htop
Get admin privileges: sudo su
Check infos about your node: http://your.public.IP:7890/node/info