Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: gigawatt on January 22, 2014, 06:11:39 PM



Title: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: gigawatt on January 22, 2014, 06:11:39 PM
If you are looking for GPU mining, please use this instead (https://bitcointalk.org/index.php?topic=452738)!


Setting up a Metiscoin (https://bitcointalk.org/index.php?topic=424517.0) Pool Miner on VPS for Absolute Noobs
Donations welcome!
BTC: 1E2egHUcLDAmcxcqZqpL18TPLx9Xj1akcV
Ψ: AWHJbwoM67Ez12SHH4pH5DnJKPoMSdvLz2
MTS: MEu8jBkkVvTLwvpiPjWC9YntyDH2u5KwVy


Before You Begin
  • Download PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html) (putty.exe) so you can connect to your VPS when the time comes.
  • Sign up for a DigitalOcean (http://goo.gl/62aGBQ) or Linode (http://goo.gl/bWFtiV) account.
    • During the creation process, be sure to create a node running Ubuntu 13.04 x64 (not x86)
    • Pick whichever hardware configuration you like (number of CPUs, RAM, etc)
  • If you signed up for DigitalOcean, check your email for your root password.  If you signed up for Linode, your password will be what you specified.
  • Run PuTTY and paste the node's IP address into the "Host Name" slot, then hit "Open" at the bottom. (figure 1) (https://i.imgur.com/TTmKrnd.png)
  • PuTTY will ask you to confirm the SSH key, press Yes (it will only ask once) (figure 2) (https://i.imgur.com/rZ1j1Dc.png)
  • Type or paste your password into PuTTY and press enter.  To paste, simply right click.
    • Note: You will not see the password characters!  This is normal.

Getting Down to Business
  • If you chose DigitalOcean, it's time to change the root password!  Type passwd, press enter, then enter a new password.  Just like before, the password characters will not show up. (figure 3) (https://i.imgur.com/vsNlOBV.png)
  • Copy this automated setup script (http://pastebin.com/raw.php?i=60hWRfL6) to notepad. (highlighted version (http://pastebin.com/60hWRfL6))
  • At the top of the script, there are fields starting with "YPOOL_".  Fill these out with your desired info.  Be sure to keep the quotes!
    • YPOOL_WORKER is your yPool worker name. YPOOL_WORKERPASS is your yPool worker password.
  • Copy the entire modified script from notepad and paste it into your PuTTY window (right click), then hit enter.
  • The setup is now running.  It will take approximately 3 minutes to complete.
  • Once the script completes, you will see a brief help message and list of commands. (figure 4) (https://i.imgur.com/7ukU7q0.png)

Congratulations!  You're now mining for metiscoins!
If you'd like to maximize your mining potential, please see my mini-guide on How to Clone DigitalOcean Droplets (https://bitcointalk.org/index.php?topic=284831.msg3045081#msg3045081).

Changelog
  • 24 January, 2014 - Miner code updated.  Now with 20% more turbo!  Run ~/stop-miner; ~/build-metiscoin-from-git to download the latest version.
  • 22 January, 2014 - Fixed apt-get list, number of threads determined by /proc/cpuinfo.
  • 22 January, 2014 - Initial release.


Notes
The images in this guide are from my other primecoin guide and are slightly dated.  The images serve to illustrate, but shouldn't be taken as definitive.

Known Issues
There's a known bug with this miner where redirecting output to file may or may not not work!  Because of this, mining speeds may not appear when using ~/peek.
If you want to verify your miner is working, check the process listing for CPU usage or run the miner command manually.  Alternately, sometimes a reboot helps.
/usr/local/bin/xpt -o ypool.net -u user.worker -p x


If you have any questions or comments, feel free to speak up.


Title: Re: [MTS] Noobproof VPS Metiscoin All-In-One EZ Setup Script
Post by: gigawatt on January 22, 2014, 06:15:46 PM
Benchmarks

UserVPSTypekHash/s
================================================
gigawattDigital Ocean1 CPU/512 MB101
TiberiuCDigital Ocean1 CPU/512 MB74
steeleminerDigital Ocean2 CPU/2 GB162
TiberiuCDigital Ocean8 CPU/16 GB476
gigawattAmazon AWSc1.medium186
gigawattAmazon AWSc1.xlarge690

Want your benchmark added?  Just post it in the thread and I'll update the list.


Title: Re: [MTS] Noobproof VPS Metiscoin All-In-One EZ Setup Script
Post by: gigawatt on January 22, 2014, 07:59:57 PM
Anybody have luck getting the miner output log working?  On Digital Ocean it seems to be 50/50 on reboot but I haven't had it work on AWS yet.

Also, I'm revising the AWS c1.xlarge number to 650 kHash/s.  That's where it seemed to level out at.  Comes out to about 30 shares/hour on yPool.

https://i.imgur.com/vmmZFP7.png


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script
Post by: WhitemanJo on January 22, 2014, 08:18:16 PM
You know a good VPS, i can buy with BTC?
I don't have a creditcard or money on paypal, today
~Jo


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script
Post by: TiberiuC on January 22, 2014, 08:22:31 PM
Thank you, really helpful. If i want to add a second one?


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script
Post by: KingGoon on January 22, 2014, 08:23:29 PM
You know a good VPS, i can buy with BTC?
I don't have a creditcard or money on paypal, today
~Jo

http://www.koddos.com/ (http://www.koddos.com/clients/aff.php?aff=392)  8)


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script
Post by: gigawatt on January 22, 2014, 10:05:47 PM
You know a good VPS, i can buy with BTC?
I don't have a creditcard or money on paypal, today
~Jo

There's a whole list of them!  Have fun!  (Some of the prices may be out of date)
https://en.bitcoin.it/wiki/Virtual_private_server

There's a few more mixed in here too:
https://en.bitcoin.it/wiki/Trade#Dedicated.2FVirtual_Server_Hosting


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script
Post by: gigawatt on January 22, 2014, 10:07:01 PM
Thank you, really helpful. If i want to add a second one?

Add a second VPS?  On Digital Ocean you just create a new Droplet and paste the script into it like you did the first time.  You'll use the same info that you did in the first.  (You can have multiple miners pointing to the same "worker" on yPool.)


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script
Post by: steeleminer on January 22, 2014, 10:44:10 PM
Thanks again - tip sent.

Getting 162.82 kHash/s on 2CPU/2GB VPS at Digital Ocean Amsterdam (36 ms to pool)


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script
Post by: gigawatt on January 23, 2014, 12:40:18 AM
Thanks again - tip sent.

Getting 162.82 kHash/s on 2CPU/2GB VPS at Digital Ocean Amsterdam (36 ms to pool)

Added your stats to the benchmark table.  Thanks for the tip!


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script
Post by: TiberiuC on January 23, 2014, 12:12:11 PM
8cpu/16gb VPS digital ocean  429.56 kh/s


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script
Post by: steeleminer on January 23, 2014, 01:28:25 PM
8cpu/16gb VPS digital ocean  429.56 kh/s

TiberiuC - thanks for the data point.  It looks like multiple 2CPU's are more effective than one 8CPU.


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script
Post by: gigawatt on January 23, 2014, 02:46:21 PM
8cpu/16gb VPS digital ocean  429.56 kh/s

Added to the benchmark.

How long did you let it run for?  I found that the speeds steadily crept upwards for about 15 minutes before leveling off.


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script
Post by: TiberiuC on January 23, 2014, 08:12:25 PM
8cpu/16gb VPS digital ocean  429.56 kh/s

Added to the benchmark.

How long did you let it run for?  I found that the speeds steadily crept upwards for about 15 minutes before leveling off.

10-15min. Now it is at 476. I get 74 kh/s for 1cpu/512MB VPS at digital ocean


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script
Post by: gigawatt on January 23, 2014, 11:20:44 PM
8cpu/16gb VPS digital ocean  429.56 kh/s

Added to the benchmark.

How long did you let it run for?  I found that the speeds steadily crept upwards for about 15 minutes before leveling off.

10-15min. Now it is at 476. I get 74 kh/s for 1cpu/512MB VPS at digital ocean

For comparison, that averages out to about 3.8 shares/hour on yPool.


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script
Post by: TiberiuC on January 24, 2014, 09:14:28 AM
8cpu/16gb VPS digital ocean  429.56 kh/s

Added to the benchmark.

How long did you let it run for?  I found that the speeds steadily crept upwards for about 15 minutes before leveling off.

10-15min. Now it is at 476. I get 74 kh/s for 1cpu/512MB VPS at digital ocean

For comparison, that averages out to about 3.8 shares/hour on yPool.
3.62 for 1 cpu, ~30 for 8cpu, 7.83 for 2cpu


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: gigawatt on January 24, 2014, 04:27:31 PM
I've made updates to the metiscoin miner, so anybody using this script should run ~/stop-miner; ~/build-metiscoin-from-git to download the latest version.
It features a 20-25% hash rate improvement over the old algorithm.

Enjoy!


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: gigawatt on January 24, 2014, 05:11:29 PM
I'm not sure if it's a fluke or what, but the Amsterdam 2 servers seem to be ~15% faster than the New York 2 servers.

I wonder if it's congestion?


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: afr33sl4ve on January 24, 2014, 10:50:16 PM
Core-i5 2520M 2.5Ghz 4GB RAM

~306 khash/s

https://i.imgur.com/41numeX.png


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: con8177 on January 25, 2014, 12:07:58 AM
http://www.youtube.com/watch?v=00RrPqxmL8k (http://www.youtube.com/watch?v=00RrPqxmL8k)

xptminer-linux Ubuntu 13.04 x64
miner of metiscoin for ypool.net

HOW TO CLOUD MINE METISCOIN Sign up for Digital Ocean Virtual Server :  https://www.digitalocean.com/?refcode=2c52aef5f4e7 (https://www.digitalocean.com/?refcode=2c52aef5f4e7)
 for 20 USD good server add 10 USD and 10 FREE Use this code for $10 free credit: DIVEIN10  https://www.digitalocean.com/?refcode=2c52aef5f4e7

download PUTTY

Commands:
*******************


sudo apt-get update

sudo apt-get install yasm -y git make g++ build-essential libminiupnpc-dev

sudo apt-get install -y libdb++-dev libgmp-dev libssl-dev dos2unix

sudo apt-get install -y libboost1.48-all libboost-chrono1.48-dev

git clone https://github.com/conicek/xptminer-linux

cd xptminer-linux

make

./xpt -o http://ypool.net -u username.worker -p password -t 4


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: ziliao on January 25, 2014, 03:34:20 AM

40kHash/s in my vps 4core@850mhz
btw i use -m512 and default 4 threads,  but in web Control i see 54.7 MB of 2 GB Used / 1.9 GB Free, why?


./xpt -o ypool.net -u ziliao.vps -p x -m512
O--------------------------------------------------O
|  xptMiner (v1.1g) Linux                          |
|  author: jh00                                    |
|  modified by GigaWatt                            |
|  Donation: MEu8jBkkVvTLwvpiPjWC9YntyDH2u5KwVy    |
|  http://ypool.net                                |
O--------------------------------------------------O
Launching miner...
Using 4 threads
Connected to server using x.pushthrough(xpt) protocol
xpt: Logged in with ziliao.vps
New block data - height: 21989 tx count: 4
kHash/s: 32.77 Shares total: 0
kHash/s: 38.91 Shares total: 0
kHash/s: 38.23 Shares total: 0
kHash/s: 40.96 Shares total: 0
kHash/s: 39.32 Shares total: 0
kHash/s: 40.96 Shares total: 0
kHash/s: 39.79 Shares total: 0
kHash/s: 40.96 Shares total: 0
kHash/s: 40.05 Shares total: 0
kHash/s: 40.96 Shares total: 0
kHash/s: 40.22 Shares total: 0
Share found! (Blockheight: 21989)
kHash/s: 40.96 Shares total: 1
kHash/s: 41.59 Shares total: 1
kHash/s: 40.96 Shares total: 1
kHash/s: 41.51 Shares total: 1
kHash/s: 41.98 Shares total: 1
kHash/s: 42.41 Shares total: 1
New block data - height: 21990 tx count: 8


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: forgetme on January 25, 2014, 06:01:34 PM
Hello guys, i'm mining MTC with two rigs: on i5 m460 2.53 ghz i'm getting 212 KHASH/s and on my ahtlon 2 x2 @ 3ghz i'm getting aroun 210 Kh/s . I could rent for you if you want my rigs for time from 1 day to 7 days. I will mine on your wallet from my rigs, and obviously as you can see from my stats and my screenshot it's far way better than buying a vps on digital ocean or similar!



Here's the screenshot! http://s28.postimg.org/plkrm5uix/Snap_Crab_No_Name_2014_1_25_18_53_47_No_00.jpg (http://postimg.org/image/plkrm5uix/)

If you're interested to rent my rigs please contact me pm for prices and conditions!

I'm part of a dev team and got a lot of trust in MRC community, so check my feedbacks on the forum!



Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: gigawatt on January 26, 2014, 06:02:54 AM

40kHash/s in my vps 4core@850mhz
btw i use -m512 and default 4 threads,  but in web Control i see 54.7 MB of 2 GB Used / 1.9 GB Free, why?


./xpt -o ypool.net -u ziliao.vps -p x -m512
O--------------------------------------------------O
|  xptMiner (v1.1g) Linux                          |
|  author: jh00                                    |
|  modified by GigaWatt                            |
|  Donation: MEu8jBkkVvTLwvpiPjWC9YntyDH2u5KwVy    |
|  http://ypool.net                                |
O--------------------------------------------------O
Launching miner...
Using 4 threads
Connected to server using x.pushthrough(xpt) protocol
xpt: Logged in with ziliao.vps
New block data - height: 21989 tx count: 4
kHash/s: 32.77 Shares total: 0
kHash/s: 38.91 Shares total: 0
kHash/s: 38.23 Shares total: 0
kHash/s: 40.96 Shares total: 0
kHash/s: 39.32 Shares total: 0
kHash/s: 40.96 Shares total: 0
kHash/s: 39.79 Shares total: 0
kHash/s: 40.96 Shares total: 0
kHash/s: 40.05 Shares total: 0
kHash/s: 40.96 Shares total: 0
kHash/s: 40.22 Shares total: 0
Share found! (Blockheight: 21989)
kHash/s: 40.96 Shares total: 1
kHash/s: 41.59 Shares total: 1
kHash/s: 40.96 Shares total: 1
kHash/s: 41.51 Shares total: 1
kHash/s: 41.98 Shares total: 1
kHash/s: 42.41 Shares total: 1
New block data - height: 21990 tx count: 8


The "-m" flags are for mining Protoshares and have no effect when mining Metiscoin.   ;D


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: ziliao on January 26, 2014, 08:46:21 AM

40kHash/s in my vps 4core@850mhz
btw i use -m512 and default 4 threads,  but in web Control i see 54.7 MB of 2 GB Used / 1.9 GB Free, why?


./xpt -o ypool.net -u ziliao.vps -p x -m512
O--------------------------------------------------O
|  xptMiner (v1.1g) Linux                          |
|  author: jh00                                    |
|  modified by GigaWatt                            |
|  Donation: MEu8jBkkVvTLwvpiPjWC9YntyDH2u5KwVy    |
|  http://ypool.net                                |
O--------------------------------------------------O
Launching miner...
Using 4 threads
Connected to server using x.pushthrough(xpt) protocol
xpt: Logged in with ziliao.vps
New block data - height: 21989 tx count: 4
kHash/s: 32.77 Shares total: 0
kHash/s: 38.91 Shares total: 0
kHash/s: 38.23 Shares total: 0
kHash/s: 40.96 Shares total: 0
kHash/s: 39.32 Shares total: 0
kHash/s: 40.96 Shares total: 0
kHash/s: 39.79 Shares total: 0
kHash/s: 40.96 Shares total: 0
kHash/s: 40.05 Shares total: 0
kHash/s: 40.96 Shares total: 0
kHash/s: 40.22 Shares total: 0
Share found! (Blockheight: 21989)
kHash/s: 40.96 Shares total: 1
kHash/s: 41.59 Shares total: 1
kHash/s: 40.96 Shares total: 1
kHash/s: 41.51 Shares total: 1
kHash/s: 41.98 Shares total: 1
kHash/s: 42.41 Shares total: 1
New block data - height: 21990 tx count: 8


The "-m" flags are for mining Protoshares and have no effect when mining Metiscoin.   ;D
thanks for u answer,and i run u Script at amz't1.micro,and i get kHash/s: 10.68 Shares total: 0



Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: gigawatt on January 26, 2014, 10:16:33 PM

The "-m" flags are for mining Protoshares and have no effect when mining Metiscoin.   ;D
thanks for u answer,and i run u Script at amz't1.micro,and i get kHash/s: 10.68 Shares total: 0



Yeah, the free t1.micro only get a fraction of a CPU.  You might be interested in the "power of 60" promo.
It's $100 free AWS credit. (http://www.powerof60.com/en/)  That'll get you ~60 c1.xlarge spot instances for 24 hours.


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: princecash on January 26, 2014, 10:39:26 PM
Thank you, i will give this a try


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: Patejl on January 27, 2014, 06:23:13 PM
107 kHash/s on No Support VPS Hosting with 8CPU (15 dollars per month)  :'(


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: gigawatt on January 31, 2014, 02:40:51 PM
107 kHash/s on No Support VPS Hosting with 8CPU (15 dollars per month)  :'(

Whoa, that sounds way off.

What do the following commands show?
Code:
ps fup $(pidof xpt)
and
Code:
cat /proc/cpuinfo


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: ColdFusionWi on January 31, 2014, 11:28:11 PM
I will admin I'm a complete noob at this stuff, especially Linux. I made the modifications to the script to change the username and worker name. When I run the script everything appears to work correctly but I see the following errors if I scroll up a bit:

Code:
jhlib.cpp:1:0: error: CPU you selected does not support x86-64 instruction set


and

Code:
make: *** [jhlib.o] Error 1
cp: cannot stat 'xpt': No such file or directory

When I run the ~/peek command it doesn't really tell me much.

Code:
/root/start-miner: line 11: /usr/local/bin/xpt: No such file or directory

I'm honestly not sure if it's really running or not.  Do you have any suggestions? Any help would be greatly appreciated.


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: thediglio on February 01, 2014, 08:17:02 AM
The problem is with this line:

Code:
CFLAGS="-march=native -mtune=native" make

Remove the -march=native part to make it

Code:
CFLAGS="-mtune=native" make

and you're golden. Worked for me anyway. Good luck!


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: ColdFusionWi on February 01, 2014, 04:35:03 PM
The problem is with this line:

Code:
CFLAGS="-march=native -mtune=native" make

Remove the -march=native part to make it

Code:
CFLAGS="-mtune=native" make

and you're golden. Worked for me anyway. Good luck!

That worked! Thanks a ton. Now, do you mind sharing what command I'd run to see the results of my mining, for example to see what my current kHash/s is?


Title: Re: [MTS] Noobproof VPS Metiscoin Pool Mining All-In-One EZ Setup Script [+Turbo]
Post by: carloprs on February 05, 2014, 10:16:43 AM
Hi one questione, is possible dogecoin mining with this script?
thank
Carlo