Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

#Login as root

mkdir downloads

cd downloads

 

nano /etc/gai.conf

#Find the Line: #precedence ::ffff:0:0/96 100

#and change to

precedence ::ffff:0:0/96 100 

 

 

wget https://download.litecoin.org/litecoin-0.8.7.5/linux/litecoin-0.8.7.5-linux.tar.xz

tar xf  litecoin-0.8.7.5-linux.tar.xz

cd litecoin-0.8.7.5-linux

cd bin

cd 64

./litecoind

#this will make the paths. #now nano

nano /root/.litecoin/litecoin.conf

#paste below

server=1

rpcallowip=127.0.0.1

rpcuser=p2pool          

rpcpassword=SomeCrazyPasswordTHatIsLong

alertnotify=echo %s | mail -s "Litecoin Alert" youremail@someherwer.com

rpcport=10332

port=10333

#dont paste past here

#save it ctrl+o  ctrl+x

 

./litecoind &

./litecoind  getinfo

#look for "blocks" : 554673

#wait for block to down load (4-6 hours) check the current block count here for the chain

# http://explorer.litecoin.net/

 

sudo apt-get update

sudo apt-get install python-zope.interface python-dev python-twisted python-twisted-web git build-essential

 

cd  /root/downloads

git clone https://github.com/forrestv/p2pool.git

cd p2pool

cd litecoin_scrypt

sudo python setup.py install

 

 

#check block status:  

/root/downloads/litecoin-0.8.7.5-linux/bin/64/litecoind getinfo

 

 

#makre sure the entire chanin is downloaded then

python run_p2pool.py --net litecoin

 

#try to connect with a miner

minerd --url http://xxx.xxx.xxx.xxx:9327

#if it all works kill your miner

#kill the script

screen -d -m -S ltcp2pool ~/p2pool/run_p2pool.py --net litecoin --address YourWalletAddress --give-author 0 p2pool SomeCrazyPasswordTHatIsLong

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

#not sure why I have to keep doing the fix missing, but this works for me

apt-get install libcurl3-openssl-dev libncurses5-dev pkg-config automake yasm make build-essential 

apt-get update --fix-missing

apt-get install libcurl3-openssl-dev libncurses5-dev pkg-config automake yasm make build-essential 

mkdir downloads

cd downloads

wget http://garr.dl.sourceforge.net/project/cpuminer/pooler-cpuminer-2.4.2.tar.gz

tar -xvf pooler-cpuminer-2.4.2.tar.gz

cd cpuminer-2.4.2/

./configure 

make

make install

minerd --url http://xxx.xxx.xxx.xxx:9327

minerd --url http://xxx.xxx.xxx.xxx:9327 --userpass SomefakeAccountName:FakePass

#Since I have a lot of miners I set my fakeAccount name to things like Miner1, LapTopMiner, etc..

#For fake password I just use x