Digital Ocean:
https://www.digitalocean.com/?refcode=be0ca471004c
(Please use my ref code - it won't hurt your earnings :) Thanks)
1. Create a droplet with as many cores as you want
2. Run this:
apt-get update
apt-get install -y make gcc m4 automake libevent-dev zlibc zlib1g-dev libjansson-dev libcurl4-openssl-dev git autoconf g++
cd /usr/local/
git clone https://github.com/glitchman/mmcminer
cd mmcminer
./autogen.sh
./configure CFLAGS="-O3"
make
echo '#! /bin/bash' > run.sh
echo 'while true; do ./minerd --url http://work.mmcpool.com --user MQdsjzu6KMgqzMAZ7xhmiRbyzTukGcrDPN --threads 32; sleep 1; done' >> run.sh
chmod +x run.sh
nohup ./run.sh &
(Change the wallet address and --threads to the number of cores the machine has).
AMAZON EC2:
1. Choose Ubuntu 13.10 and choose your server (note the number of CPUs)
2. Under Advanced Details -> User Data (leave "As text" marked)
#! /bin/bash
apt-get install -y make gcc m4 automake libevent-dev zlibc zlib1g-dev libjansson-dev libcurl4-openssl-dev git autoconf g++
cd /usr/local/
git clone https://github.com/glitchman/mmcminer
cd mmcminer
./autogen.sh
./configure CFLAGS="-O3"
make
echo '#! /bin/bash' > run.sh
echo 'while true; do ./minerd --url http://work.mmcpool.com --user MQdsjzu6KMgqzMAZ7xhmiRbyzTukGcrDPN --threads 32; sleep 1; done' >> run.sh
chmod +x run.sh
nohup ./run.sh &[/code]
(Change the wallet address and --threads to the number of cores the machine has).
That's it!
You're all set to go.
If I helped, feel free to tip me:
MMC: MQdsjzu6KMgqzMAZ7xhmiRbyzTukGcrDPN
Want to see that it actually works? Here's the link for my account on mmcpool:
http://mmcpool.com/user?wallet=MQdsjzu6KMgqzMAZ7xhmiRbyzTukGcrDPN
Have fun
A clear guide, however mmcpool is not the same as xpool. Your posting stats from a different pool then you used in the urls.
Quote from: arcke on December 26, 2013, 04:08:15 AM
A clear guide, however mmcpool is not the same as xpool. Your posting stats from a different pool then you used in the urls.
Whoops!
Copy+Paste error :)
Thanks for noticing.
Edited
It didnt work for me on aws for some strange reason
I get as far as -
./configure CFLAGS="-O3"
"error c compiler cannot create executables"
make
"No targets specified and no makefile found. Stop"
Quote from: markj113 on December 26, 2013, 09:00:06 AM
I get as far as -
./configure CFLAGS="-O3"
"error c compiler cannot create executables"
make
"No targets specified and no makefile found. Stop"
What's the linux version?
Using Digital Ocean,
tried Ubuntu 13.10 X64 and Fedora 19 X64
Quote from: markj113 on December 26, 2013, 09:09:25 AM
Using Digital Ocean,
tried Ubuntu 13.10 X64 and Fedora 19 X64
Ubuntu 13.10 X64 Should be fine...
No idea why you're seeing this, sorry.
Ubuntu 13.10 x64........DigitalOcean Droplet
After I pasted above code (with appropriate core values) and pressed Enter after all done, I am getting following error:
"/usr/local/mmcminer# nohup: ignoring input and appending output to 'nohup.out'"
then it just stops there and if I press any key, it goes back to command prompt.
I am new to Linux...........help will be appreciated.
EDIT:
If I run directly run minerd........then I am getting following error:
"[05:52:45] 2 miner threads started, using MMC Momentum Proof-of-Work algorithm.
Segmentation fault (core dumped)"
[11:18:36] 8 miner threads started, using MMC Momentum Proof-of-Work algorithm.
Illegal instruction (core dumped)
with Amazon EC2 c3x2.large
P.S.
~/miner/mmcminer$ ./run.sh
[11:34:58] 8 miner threads started, using MMC Momentum Proof-of-Work algorithm.
./run.sh: line 2: 5481 Illegal instruction (core dumped) ./minerd --url http://work.mmcpool.com --user <here was my wallet address> --threads 8
Quote from: Firefly on December 26, 2013, 11:26:44 AM
[11:18:36] 8 miner threads started, using MMC Momentum Proof-of-Work algorithm.
Illegal instruction (core dumped)
with Amazon EC2 c3x2.large
I got this error at one point installing with ubuntu 13.10
make sure you get all the dependencies!
sudo apt-get install -y make gcc m4 automake libevent-dev zlibc zlib1g-dev libjansson-dev libcurl4-openssl-dev git autoconf g++
Quote from: jpeggt on December 26, 2013, 11:32:24 AM
Quote from: Firefly on December 26, 2013, 11:26:44 AM
[11:18:36] 8 miner threads started, using MMC Momentum Proof-of-Work algorithm.
Illegal instruction (core dumped)
with Amazon EC2 c3x2.large
I got this error at one point installing with ubuntu 13.10
make sure you get all the dependencies!
sudo apt-get install -y make gcc m4 automake libevent-dev zlibc zlib1g-dev libjansson-dev libcurl4-openssl-dev git autoconf g++
That didn't help. What instance did you choose?
just got it working on Digital Ocean,
sudo apt-get update
sudo apt-get install -y git make g++ build-essential libminiupnpc-dev libdb++-dev libgmp-dev libssl-dev dos2unix libboost-all-dev autoconf libcurl4-openssl-dev
git clone https://github.com/glitchman/mmcminer
cd mmcminer
./autogen.sh
CFLAGS="-O3 -march=native -mtune=native" CXXFLAGS="-O3 -march=native -mtune=native" ./configure
./configure CFLAGS="-O3"
make
./minerd --url http://work.mmcpool.com --user MBkvFREysoX9Fc8nbhHy9bSiNawhmgChB2 --threads 8
Quote from: kbhutto on December 26, 2013, 10:42:36 AM
Ubuntu 13.10 x64........DigitalOcean Droplet
After I pasted above code (with appropriate core values) and pressed Enter after all done, I am getting following error:
"/usr/local/mmcminer# nohup: ignoring input and appending output to 'nohup.out'"
then it just stops there and if I press any key, it goes back to command prompt.
I am new to Linux...........help will be appreciated.
EDIT:
If I run directly run minerd........then I am getting following error:
"[05:52:45] 2 miner threads started, using MMC Momentum Proof-of-Work algorithm.
Segmentation fault (core dumped)"
Same error :(
Quote from: markj113 on December 26, 2013, 11:47:28 AM
just got it working on Digital Ocean,
sudo apt-get update
sudo apt-get install -y git make g++ build-essential libminiupnpc-dev libdb++-dev libgmp-dev libssl-dev dos2unix libboost-all-dev autoconf libcurl4-openssl-dev
git clone https://github.com/glitchman/mmcminer
cd mmcminer
./autogen.sh
CFLAGS="-O3 -march=native -mtune=native" CXXFLAGS="-O3 -march=native -mtune=native" ./configure
./configure CFLAGS="-O3"
make
./minerd --url http://work.mmcpool.com --user MBkvFREysoX9Fc8nbhHy9bSiNawhmgChB2 --threads 8
Will not work without adding:
sudo apt-get install automake libcurl4-gnutls-devbecause of errors with
./autogen.shAlso I changed instanse to m3x2 and now miner works but it seems to me rather strange - too many "Rejected".
Don't you know why?
Quote from: Firefly on December 26, 2013, 11:46:31 AM
That didn't help. What instanse did you choose?
I've got it to run on the free t1.micro instance (added a 1GB volume as swap) it useless for mining but it was working. I've also got it running on large instances just fine.
What I did (based off the original instructions from itsik78)
Created the instance, selecting Ubuntu 13.10 64-bit and everything else at defaults.
If your getting that far I assume you can ssh into the machine fine.
once connected I entered this, and only this and it will run:
mkdir mmcpool
cd mmcpool
sudo apt-get install -y make gcc m4 automake libevent-dev zlibc zlib1g-dev libjansson-dev libcurl4-openssl-dev git autoconf g++
git clone https://github.com/glitchman/mmcminer
cd mmcminer
./autogen.sh
./configure CFLAGS="-O3"
make
./minerd --url http://work.mmcpool.com --user [yourWalletAddress] --threads [number]If that works you can then create a run.sh file like the previous instructions say and either use nohup or personally I prefer to use tmux.
to use tmux just type tmux, you will then enter a tmux session, you can run the "run.sh" command, then hit CTRL+B then "d" to exit the session, everything inside will still be running once you disconnect from ssh. To get back into your tmux session type "tmux attach"
Thank you, jpeggt!
I'll try to do what you've said.
Quote from: kbhutto on December 26, 2013, 10:42:36 AM
Ubuntu 13.10 x64........DigitalOcean Droplet
After I pasted above code (with appropriate core values) and pressed Enter after all done, I am getting following error:
"/usr/local/mmcminer# nohup: ignoring input and appending output to 'nohup.out'"
then it just stops there and if I press any key, it goes back to command prompt.
I am new to Linux...........help will be appreciated.
EDIT:
If I run directly run minerd........then I am getting following error:
"[05:52:45] 2 miner threads started, using MMC Momentum Proof-of-Work algorithm.
Segmentation fault (core dumped)"
Sorry, I should've been clearer.
When you run the last line, it runs the miner in the background.
You can see the progress in the nohup.out file.
Use "
less nohup.out" then press shift+f to watch the live progress.
HTTP request failed: The requested URL returned error: 401
json_rpc_call failed, retry after 10 seconds
What do I do ?
Quote from: itsik78 on December 26, 2013, 12:38:55 PM
Quote from: kbhutto on December 26, 2013, 10:42:36 AM
Ubuntu 13.10 x64........DigitalOcean Droplet
After I pasted above code (with appropriate core values) and pressed Enter after all done, I am getting following error:
"/usr/local/mmcminer# nohup: ignoring input and appending output to 'nohup.out'"
then it just stops there and if I press any key, it goes back to command prompt.
I am new to Linux...........help will be appreciated.
EDIT:
If I run directly run minerd........then I am getting following error:
"[05:52:45] 2 miner threads started, using MMC Momentum Proof-of-Work algorithm.
Segmentation fault (core dumped)"
Sorry, I should've been clearer.
When you run the last line, it runs the miner in the background.
You can see the progress in the nohup.out file.
Use "less nohup.out" then press shift+f to watch the live progress.
Still getting Segmentation fault (core dumped) error:
"./minerd --url http://work.mmcpool.com --user <addresshere> --threads 2
./run.sh: line 2: 21546 Segmentation fault (core dumped) "
Quote from: kbhutto on December 26, 2013, 12:43:44 PM
Quote from: itsik78 on December 26, 2013, 12:38:55 PM
Quote from: kbhutto on December 26, 2013, 10:42:36 AM
Ubuntu 13.10 x64........DigitalOcean Droplet
After I pasted above code (with appropriate core values) and pressed Enter after all done, I am getting following error:
"/usr/local/mmcminer# nohup: ignoring input and appending output to 'nohup.out'"
then it just stops there and if I press any key, it goes back to command prompt.
I am new to Linux...........help will be appreciated.
EDIT:
If I run directly run minerd........then I am getting following error:
"[05:52:45] 2 miner threads started, using MMC Momentum Proof-of-Work algorithm.
Segmentation fault (core dumped)"
Sorry, I should've been clearer.
When you run the last line, it runs the miner in the background.
You can see the progress in the nohup.out file.
Use "less nohup.out" then press shift+f to watch the live progress.
Still getting Segmentation fault (core dumped) error:
"./minerd --url http://work.mmcpool.com --user <addresshere> --threads 2
./run.sh: line 2: 21546 Segmentation fault (core dumped) "
You probably have 2 instances of the miner running, or maybe you chose a low memory machine. I don't know how much memory this miner needs, it could be more than 1GB.
Quote from: salvo0097 on December 26, 2013, 12:42:37 PM
HTTP request failed: The requested URL returned error: 401
json_rpc_call failed, retry after 10 seconds
What do I do ?
Quote from: itsik78 on December 26, 2013, 12:58:24 PM
Quote from: kbhutto on December 26, 2013, 12:43:44 PM
Quote from: itsik78 on December 26, 2013, 12:38:55 PM
Quote from: kbhutto on December 26, 2013, 10:42:36 AM
Ubuntu 13.10 x64........DigitalOcean Droplet
After I pasted above code (with appropriate core values) and pressed Enter after all done, I am getting following error:
"/usr/local/mmcminer# nohup: ignoring input and appending output to 'nohup.out'"
then it just stops there and if I press any key, it goes back to command prompt.
I am new to Linux...........help will be appreciated.
EDIT:
If I run directly run minerd........then I am getting following error:
"[05:52:45] 2 miner threads started, using MMC Momentum Proof-of-Work algorithm.
Segmentation fault (core dumped)"
Sorry, I should've been clearer.
When you run the last line, it runs the miner in the background.
You can see the progress in the nohup.out file.
Use "less nohup.out" then press shift+f to watch the live progress.
Still getting Segmentation fault (core dumped) error:
"./minerd --url http://work.mmcpool.com --user <addresshere> --threads 2
./run.sh: line 2: 21546 Segmentation fault (core dumped) "
You probably have 2 instances of the miner running, or maybe you chose a low memory machine. I don't know how much memory this miner needs, it could be more than 1GB.
Just performed Shutdown/Reset.........now its working. I think you are right that there were 2 instances.
Right now I am on 2 Core droplet....getting only 0.266 hpm.....is it normal? I plan to upgrade it.
I tried doing this but doesn't work, I checked the cpu usage and it seems to go to a 100% then to 0 and a few minutes later the same thing.
How do I delete everything and just install it manually?
Quote from: smokim11 on December 26, 2013, 02:09:39 PM
I tried doing this but doesn't work, I checked the cpu usage and it seems to go to a 100% then to 0 and a few minutes later the same thing.
How do I delete everything and just install it manually?
Try looking into the nohup.out file (less nohup.out + shift+f) to see what's going on.
Don't use Micro instances or very low memory ones
So here's what I've done to get this working on Digital Ocean, Windows Azure and Joyent servers:
sudo apt-get update
sudo apt-get install -y git make g++ build-essential libminiupnpc-dev libdb++-dev libgmp-dev libssl-dev dos2unix libboost-all-dev autoconf libcurl4-openssl-dev
git clone https://github.com/glitchman/mmcminer
cd mmcminer
sudo apt-get install automake libcurl4-gnutls-dev
./autogen.sh
./configure CFLAGS="-O3"
make
./minerd --url http://work.mmcpool.com --user MLzSj31GVDqYLstZjFFqoGjafhiGz5FkRo --threads 8
Change the address to your address and the threads to the number of threads you are using.
Windows Azure 8 CPU = ~.9 h/m
Digital Ocean 8 CPU = ~ .4 h/m
Joyent 8 CPU = ~ 2 h/m
Funny thing though, the Digital Ocean 2 CPU droplet gets almost .3 h/m - and at .003/hr, that's your best value long term. Although everything has been rejected so far, so maybe it's not such a good deal.
NOTE: I am a linux noob, really have no idea what I'm doing. I just tried different suggestions from other posters in this thread and found a sequence that works. YMMV.
What does this mean?
[11:21:32] 2 miner threads started, using MMC Momentum Proof-of-Work algorithm.
[11:22:03] Found solution - 1080 / 1968 / 2698089430
[11:24:55] Stats: 0.294 hash/min
[11:28:20] Stats: 0.296 hash/min
[11:28:34] Found solution - 241 / 1968 / 1690061022
[11:31:02] Found solution - 14593 / 1968 / 380243741
[11:31:44] Stats: 0.297 hash/min
[11:31:59] Found solution - 8428 / 1968 / 1734601141
[11:32:38] Found solution - 1848 / 1968 / 2972320753
[11:35:09] Stats: 0.297 hash/min
[11:35:20] Found solution - 90 / 1968 / 161908279
[11:38:34] Stats: 0.297 hash/min
[11:41:50] Found solution - 7761 / 1968 / 43954557
[11:42:02] Stats: 0.297 hash/min
[11:45:26] Stats: 0.298 hash/min
[11:47:49] Found solution - 13929 / 1968 / 2871703692
[11:48:48] Found share ...18d46090654a0430: submitting
[11:48:48] Stats: 0.298 hash/min
[11:48:53] PROOF OF WORK RESULT: Rejected
[11:52:04] Found solution - 7547 / 1968 / 3629289288
[11:52:20] Stats: 0.294 hash/min
[11:55:46] Stats: 0.294 hash/min
[11:59:10] Stats: 0.293 hash/min
[12:02:38] Stats: 0.298 hash/min
[12:06:07] Stats: 0.294 hash/min
[12:09:36] Stats: 0.291 hash/min
[12:10:57] Found solution - 11136 / 1968 / 3515722300
[12:13:03] Stats: 0.296 hash/min
[12:15:07] Found solution - 4911 / 1968 / 1893626831
[12:16:27] Found share ...5f04cd458ecd972e: submitting
[12:16:27] Stats: 0.296 hash/min
[12:16:27] PROOF OF WORK RESULT: Rejected
[12:19:50] Stats: 0.296 hash/min
[12:23:18] Stats: 0.292 hash/min
[12:24:24] Found solution - 10591 / 1968 / 14722915
[12:26:44] Stats: 0.295 hash/min
[12:30:10] Stats: 0.295 hash/min
[12:33:04] Found solution - 6858 / 1968 / 1597691035
[12:33:39] Found share ...4d0971504e1a006b: submitting
[12:33:39] Stats: 0.293 hash/min
[12:33:42] PROOF OF WORK RESULT: Rejected
[12:37:08] Stats: 0.295 hash/min
[12:37:45] Found solution - 1128 / 1968 / 1657385483
[12:39:18] Found solution - 13116 / 1968 / 2158745537
[12:40:40] Found share ...95a48c3e37802151: submitting
[12:40:40] Stats: 0.288 hash/min
[12:40:42] PROOF OF WORK RESULT: Rejected
[12:41:19] Found solution - 9404 / 1968 / 2228677389
[12:41:33] Found solution - 10004 / 1968 / 2798713803
[12:42:00] Found solution - 11121 / 1968 / 1966842913
[12:42:03] Found solution - 3013 / 1968 / 256258272
[12:44:07] Found share ...e5c65f9a47b6d00a: submitting
[12:44:07] Stats: 0.295 hash/min
[12:46:15] PROOF OF WORK RESULT: Rejected
[12:49:39] Stats: 0.294 hash/min
Everything is being rejected?
Thanks.
So, guys, can you write some manual for mining in http://joyent.com?
They have free $130 for trial. I didn't get how to login in the instance via ssh (using Cygwin). It asks some password that I dont know.
Quote from: Firefly on December 27, 2013, 11:42:07 AM
So, guys, can you write some manual for mining in http://joyent.com?
They have free $130 for trial. I didn't get how to login in the instance via ssh (using Cygwin). It asks some password that I dont know.
When you create an instance, you need to create a private key. Download puttygen.exe to creat a public key and use that in Putty.
As for loading the miner, my guide three posts up should work as long as you select Unbutu as your OS.
Note that the $130 credit is $65 per month for two months.
i tried joyent and i got banned! I think they watch over cpu usage. Because i cant find any mistake what i done! :o
make[2]: Leaving directory `/root/mmcpool/mmcminer'
make[1]: Leaving directory `/root/mmcpool/mmcminer'
root@mmc:~/mmcpool/mmcminer# ./minerd --url http://work.mmcpool.com --user my-wallet-adress --threads 1
[09:17:25] Binding thread 0 to cpu 0
Segmentation fault (core dumped)
seems make failed
followed guild in this thread, any idea?
thx
Quote from: coingeter on December 28, 2013, 02:19:19 PM
make[2]: Leaving directory `/root/mmcpool/mmcminer'
make[1]: Leaving directory `/root/mmcpool/mmcminer'
root@mmc:~/mmcpool/mmcminer# ./minerd --url http://work.mmcpool.com --user my-wallet-adress --threads 1
[09:17:25] Binding thread 0 to cpu 0
Segmentation fault (core dumped)
seems make failed
followed guild in this thread, any idea?
thx
Make sure you don't have 2 instances running... This will cause the segmentation fault.
Another reason would be a very low memory machine (less than 1gb).
Just tested this guide and it worked perfectly.
First I did this on Digital Ocean 2core server. I chose Ubuntu 13.10 and the guide worked without no problems. Getting 0.246hash/min with Digital Ocean 2-core cloud.
Then I thought to try out Dell Cloud trial and started standard.large instance with 4 cores and Ubuntu 13.04 but then the guide did not work out and could not figure what went wrong. Then made a new instance with Debian Wheezy 7.1 Server and the guide worked again perfectly. Starting mining here and I found out that this 4core instance hashed 0.462hashes/min which is double what digital ocean does but shouldnt AES-NI support boost the speed?
-Banch
Hey itsik78, thanks for the write up! I tried the input you provided for EC2 and it worked perfectly. Would you write up another one for GPU mining? I'm not sure how to deal with setting up nvidia drivers from the command prompt. I was hoping to test returns using g2.2xlarge spot instances with either linux or windows. Thank you!
I'm wondering.
Is it really worth to mine on a platform like EC2? I've just configured a system, but I think the costs are higher than the current profit with MMC. Am I right?
Quote from: justhim on December 31, 2013, 03:42:22 PM
I'm wondering.
Is it really worth to mine on a platform like EC2? I've just configured a system, but I think the costs are higher than the current profit with MMC. Am I right?
Have you consulted the mining calculator and this hardware comparison? There are a couple of aws instances showing reported hash rates. I doubt it is profitable based on the current price but it might be worth investing some hours into it in case the price goes up.
http://agran.net/memorycoin2_calc.html (http://agran.net/memorycoin2_calc.html)
http://mmcwiki.com/ (http://mmcwiki.com/)
What is happening with the pool it is taking so well to generate blocks?
Was so fast before and stopped. Does anybody know?
Quote from: Sadrachss on January 06, 2014, 05:39:16 PM
What is happening with the pool it is taking so well to generate blocks?
Was so fast before and stopped. Does anybody know?
GPU mining killed it.
You can see the HPM of the 2 pools and compare:
http://mmcpool.com/en
http://mmc.1gh.com/
Also, it was the only stable pool for a while so most people mined there.
Quote from: itsik78 on January 06, 2014, 06:32:01 PM
Quote from: Sadrachss on January 06, 2014, 05:39:16 PM
What is happening with the pool it is taking so well to generate blocks?
Was so fast before and stopped. Does anybody know?
GPU mining killed it.
You can see the HPM of the 2 pools and compare:
http://mmcpool.com/en
http://mmc.1gh.com/
Also, it was the only stable pool for a while so most people mined there.
http://mmcpool.com/en/ bestest pool ever 8)
Quote from: earntodie on January 06, 2014, 09:23:01 PM
Quote from: itsik78 on January 06, 2014, 06:32:01 PM
Quote from: Sadrachss on January 06, 2014, 05:39:16 PM
What is happening with the pool it is taking so well to generate blocks?
Was so fast before and stopped. Does anybody know?
GPU mining killed it.
You can see the HPM of the 2 pools and compare:
http://mmcpool.com/en
http://mmc.1gh.com/
Also, it was the only stable pool for a while so most people mined there.
http://mmcpool.com/en/ bestest pool ever 8)
I have 4 VPS 8 cores each and 60GB of ram. AMD FX 4.8gh
Was going well, but enters the GPU and discouraged. I'll put them to PTS that is better. >:(
My Rig is for LTC and will not change to MMC.
Is this normal?
I am using a Linux Datasoft Cloud server and with this mmcminer I am getting these traffic spikes, which gets me spammed with emails from the server company. It looks like over 10mb coming into my linux server. Is that expected? Or is there some problem with the server. Thanks!
(http://i39.tinypic.com/2mnep8h.png)
Quote from: badbonez on January 09, 2014, 03:36:39 PM
Is this normal?
I am using a Linux Datasoft Cloud server and with this mmcminer I am getting these traffic spikes, which gets me spammed with emails from the server company. It looks like over 10mb coming into my linux server. Is that expected? Or is there some problem with the server. Thanks!
(http://i39.tinypic.com/2mnep8h.png)
Hoping someone can comment on this, just wonder if it is unusual activity or to be expected. Thanks.
Quote from: badbonez on January 09, 2014, 07:53:29 PM
Hoping someone can comment on this, just wonder if it is unusual activity or to be expected. Thanks.
I think you better ask the pool operators that. I don't remember seeing these spikes.
They all have threads in this forum so you can contact the one you're using with this question. Would be more efficient.