BitShares Forum

Other => Graveyard => BitShares PTS => Topic started by: JohnD on November 12, 2013, 11:51:15 am

Title: How to mine on Debian wheezy servers?
Post by: JohnD on November 12, 2013, 11:51:15 am
Hello,

i have some servers running with Debian 7 64bit and i would like to mine protoshares with the free resources (2 cores and 8 GB RAM are free).

I tried to get the coyotee miner running but it does not work:
Code: [Select]
./coyote_miner: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (

What is the best/easiest way to mine protoshares on such servers?

Thanks.
Title: Re: How to mine on Debian wheezy servers?
Post by: xxrforone on November 12, 2013, 05:37:10 pm
just Ubuntu


Sent from my iPhone using Tapatalk (http://tapatalk.com/m?id=1)
Title: Re: How to mine on Debian wheezy servers?
Post by: yago on November 12, 2013, 05:44:02 pm
Hi JohnD, try this:

Code: [Select]
sudo -s
echo "deb http://ftp.debian.org/debian/ testing main contrib non-free" >> /etc/apt/sources.list
apt-get update
apt-get -t testing install libc6-dev
Title: Re: How to mine on Debian wheezy servers?
Post by: m0rph on November 13, 2013, 10:03:27 am
This is the setup script I use for my single core VPS's. (Note this connects to ypool and uses their miner)

1.
Code: [Select]

cd ~
sudo apt-get update
sudo apt-get install -y git make g++ build-essential libminiupnpc-dev
sudo apt-get install -y libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix
2.
Code: [Select]
git clone https://github.com/Tydus/jhProtominer -b linux-port3.
Code: [Select]
cd jhProtominer/src/jhProtominer
perl -pe 's/Sleep\(45000\);/exit\(1\);/g' main.cpp | perl -pe 's/45 seconds/8 seconds/g' > m ; mv m main.cpp ; make CFLAGS="-O3"
echo "while true; do ./jhProtominer -o ypool.net -u m0rph3us0xF.m0rph3us0xF.1 -p 12345 -m256 -t 1; sleep 8; done" > jhminer.sh ; chmod +x jhminer.sh
./jhminer.sh

Title: Re: How to mine on Debian wheezy servers?
Post by: JohnD on November 13, 2013, 10:06:38 am
Thanks for your replys.
My servers are mining on ypool now :)
Title: Re: How to mine on Debian wheezy servers?
Post by: m0rph on November 13, 2013, 10:24:04 am
Welcome to the pool :D
Title: Re: How to mine on Debian wheezy servers?
Post by: fav on November 13, 2013, 10:25:17 am
This is the setup script I use for my single core VPS's. (Note this connects to ypool and uses their miner)

1.
Code: [Select]

cd ~
sudo apt-get update
sudo apt-get install -y git make g++ build-essential libminiupnpc-dev
sudo apt-get install -y libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix
2.
Code: [Select]
git clone https://github.com/Tydus/jhProtominer -b linux-port3.
Code: [Select]
cd jhProtominer/src/jhProtominer
perl -pe 's/Sleep\(45000\);/exit\(1\);/g' main.cpp | perl -pe 's/45 seconds/8 seconds/g' > m ; mv m main.cpp ; make CFLAGS="-O3"
echo "while true; do ./jhProtominer -o ypool.net -u m0rph3us0xF.m0rph3us0xF.1 -p 12345 -m256 -t 1; sleep 8; done" > jhminer.sh ; chmod +x jhminer.sh
./jhminer.sh


I think I'll buy the $20 version at digital ocean and mine some coins. should be possible, right? :)
Title: Re: How to mine on Debian wheezy servers?
Post by: m0rph on November 13, 2013, 11:01:24 am
This is the setup script I use for my single core VPS's. (Note this connects to ypool and uses their miner)

1.
Code: [Select]

cd ~
sudo apt-get update
sudo apt-get install -y git make g++ build-essential libminiupnpc-dev
sudo apt-get install -y libboost-all-dev libdb++-dev libgmp-dev libssl-dev dos2unix
2.
Code: [Select]
git clone https://github.com/Tydus/jhProtominer -b linux-port3.
Code: [Select]
cd jhProtominer/src/jhProtominer
perl -pe 's/Sleep\(45000\);/exit\(1\);/g' main.cpp | perl -pe 's/45 seconds/8 seconds/g' > m ; mv m main.cpp ; make CFLAGS="-O3"
echo "while true; do ./jhProtominer -o ypool.net -u m0rph3us0xF.m0rph3us0xF.1 -p 12345 -m256 -t 1; sleep 8; done" > jhminer.sh ; chmod +x jhminer.sh
./jhminer.sh


I think I'll buy the $20 version at digital ocean and mine some coins. should be possible, right? :)

Yep, just make sure you increase the correct values (-m512 and -t2 for the $20 one)