[MMC] Pool Mining Script Auto Installer for Debian & Ubuntu ( for mmcpool.com)

Started by s4l1h, December 26, 2013, 12:03:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

s4l1h

vote for us for cto: [url="https://bitsharestalk.org/index.php?topic=1852.0"]https://bitsharestalk.org/index.php?topic=1852.0[/url]

Wiki => [url="http://www.mmcwiki.com/"]http://www.mmcwiki.com/[/url] MemoryCoin Charts => [url="http://s4l1h.github.io/mmc/"]http://s4l1h.github.io/mmc/[/url]


s4l1h

vote for us for cto: [url="https://bitsharestalk.org/index.php?topic=1852.0"]https://bitsharestalk.org/index.php?topic=1852.0[/url]

Wiki => [url="http://www.mmcwiki.com/"]http://www.mmcwiki.com/[/url] MemoryCoin Charts => [url="http://s4l1h.github.io/mmc/"]http://s4l1h.github.io/mmc/[/url]

dimiro

I'm wondering why in the terminal I can see that mining is going and it's getting approved, but at the MMCPool nothing changes.

Yes, it shows connected, but i'm simply not getting paid.

Are my hashes gone or what?

seraphim

It's not recommended to do anything else than installing the dependencies as root user.
Use this script at your own risk!
Meet you on STEEM

s4l1h

Quote from: dimiro on January 03, 2014, 07:07:03 PM
I've bought another server with ubuntu, however staff told me there is no direct root, only 'sudo' command.

Could someone give me a tutorial on how to get it done with 'sudo'?
first command: sudo su root now you have root permission :)
vote for us for cto: [url="https://bitsharestalk.org/index.php?topic=1852.0"]https://bitsharestalk.org/index.php?topic=1852.0[/url]

Wiki => [url="http://www.mmcwiki.com/"]http://www.mmcwiki.com/[/url] MemoryCoin Charts => [url="http://s4l1h.github.io/mmc/"]http://s4l1h.github.io/mmc/[/url]

dimiro

I've bought another server with ubuntu, however staff told me there is no direct root, only 'sudo' command.

Could someone give me a tutorial on how to get it done with 'sudo'?

s4l1h

Quote from: dimiro on January 03, 2014, 12:08:57 AM
Worked excellent for me!

I have one question, is this a background operation or not?

background

You can see miner log:

screen -r miner1
vote for us for cto: [url="https://bitsharestalk.org/index.php?topic=1852.0"]https://bitsharestalk.org/index.php?topic=1852.0[/url]

Wiki => [url="http://www.mmcwiki.com/"]http://www.mmcwiki.com/[/url] MemoryCoin Charts => [url="http://s4l1h.github.io/mmc/"]http://s4l1h.github.io/mmc/[/url]

dimiro

Worked excellent for me!

I have one question, is this a background operation or not?

kochishka


s4l1h

vote for us for cto: [url="https://bitsharestalk.org/index.php?topic=1852.0"]https://bitsharestalk.org/index.php?topic=1852.0[/url]

Wiki => [url="http://www.mmcwiki.com/"]http://www.mmcwiki.com/[/url] MemoryCoin Charts => [url="http://s4l1h.github.io/mmc/"]http://s4l1h.github.io/mmc/[/url]

arcke

Quote from: s4l1h on December 26, 2013, 03:45:43 AM
Quote from: arcke on December 26, 2013, 03:23:52 AM
Quote from: s4l1h on December 26, 2013, 03:05:03 AM
Quote from: arcke on December 26, 2013, 02:48:07 AM
Quote from: s4l1h on December 26, 2013, 02:45:56 AM
Quote from: arcke on December 26, 2013, 02:26:20 AM
Quote from: s4l1h on December 26, 2013, 12:59:32 AM
Quote from: andhar on December 26, 2013, 12:53:18 AM
I'm just getting Error Restarting.
if minerd is down.Script write error message and restart.

Tested debian 7 64 bit.


Check thread , cpu size and memory size.

What is result minerd command?
What is you os?
I am getting segfaults on debian 7 64 bit 1 GB. With or without the script.

ram or thread size problem test minerd manual.

minerd --url http://work.mmcpool.com/ --user MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS --threads 1

root@hertz1:~/mmcminer# ./minerd --url http://work.mmcpool.com/ --user <address> --threads 1
[02:47:24] Binding thread 0 to cpu 0
Segmentation fault

What is you server os and server cpu & ram size?
I have tested on 3 machines.

1. debian wheezy 2 cores 4 GB behind a firewall, keeps getting rejects (edit: not exactly firewall, but home lan, default settings, not mine to configure)
2. digital ocean debian 7 x64 1 core 1 GB, the above segfault
3. digital ocean ubuntu 13.04 x64 1 core, 1 GB, the above segfault
as for me very little ram or cpu.
You need cpu+ram.


I am testing script digital ocean debian 7 x64 with 4 cpu.

make big droplet and test.
2 cores with 2GB works fine indeed

Still seems to be getting rejected:

[04:36:13] 2 miner threads started, using MMC Momentum Proof-of-Work algorithm.
[04:38:34] Found solution - 4982 / 1968 / 4240992216
[04:40:02] Found share ...8fe6b7a33d008050: submitting
[04:40:02] Stats: 0.261 hash/min
[04:40:02] PROOF OF WORK RESULT: Rejected
[04:40:22] Found solution - 8740 / 1968 / 4266022973
[04:40:49] Found solution - 9788 / 1968 / 2354103072
[04:43:52] Found share ...df89520019a7d71e: submitting
[04:43:52] Stats: 0.261 hash/min
[04:43:52] PROOF OF WORK RESULT: Rejected
[04:47:44] Stats: 0.258 hash/min
[04:51:21] Found solution - 7733 / 1968 / 1087639073
[04:51:32] Found share ...c78725ea3d40f100: submitting
[04:51:32] Stats: 0.263 hash/min
[04:51:32] PROOF OF WORK RESULT: Rejected
[04:55:22] Stats: 0.261 hash/min
[04:59:07] Stats: 0.267 hash/min
[05:00:36] Found solution - 11423 / 1968 / 1800980721
[05:02:56] Found share ...96f3703c370f1309: submitting
[05:02:56] Stats: 0.262 hash/min
[05:02:57] PROOF OF WORK RESULT: Rejected
OpenPGP: 0x22d7e9cc35375665
PTS - PawnbhoiXhmkrKJEPAsCiwkpP81nRXJGTD
Diaspora profile - [url="https://pod.orkz.net/u/arcke"]https://pod.orkz.net/u/arcke[/url]

s4l1h

Quote from: arcke on December 26, 2013, 03:23:52 AM
Quote from: s4l1h on December 26, 2013, 03:05:03 AM
Quote from: arcke on December 26, 2013, 02:48:07 AM
Quote from: s4l1h on December 26, 2013, 02:45:56 AM
Quote from: arcke on December 26, 2013, 02:26:20 AM
Quote from: s4l1h on December 26, 2013, 12:59:32 AM
Quote from: andhar on December 26, 2013, 12:53:18 AM
I'm just getting Error Restarting.
if minerd is down.Script write error message and restart.

Tested debian 7 64 bit.


Check thread , cpu size and memory size.

What is result minerd command?
What is you os?
I am getting segfaults on debian 7 64 bit 1 GB. With or without the script.

ram or thread size problem test minerd manual.

minerd --url http://work.mmcpool.com/ --user MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS --threads 1

root@hertz1:~/mmcminer# ./minerd --url http://work.mmcpool.com/ --user <address> --threads 1
[02:47:24] Binding thread 0 to cpu 0
Segmentation fault

What is you server os and server cpu & ram size?
I have tested on 3 machines.

1. debian wheezy 2 cores 4 GB behind a firewall, keeps getting rejects (edit: not exactly firewall, but home lan, default settings, not mine to configure)
2. digital ocean debian 7 x64 1 core 1 GB, the above segfault
3. digital ocean ubuntu 13.04 x64 1 core, 1 GB, the above segfault
as for me very little ram or cpu.
You need cpu+ram.


I am testing script digital ocean debian 7 x64 with 4 cpu.

make big droplet and test.
vote for us for cto: [url="https://bitsharestalk.org/index.php?topic=1852.0"]https://bitsharestalk.org/index.php?topic=1852.0[/url]

Wiki => [url="http://www.mmcwiki.com/"]http://www.mmcwiki.com/[/url] MemoryCoin Charts => [url="http://s4l1h.github.io/mmc/"]http://s4l1h.github.io/mmc/[/url]

arcke

Quote from: s4l1h on December 26, 2013, 03:05:03 AM
Quote from: arcke on December 26, 2013, 02:48:07 AM
Quote from: s4l1h on December 26, 2013, 02:45:56 AM
Quote from: arcke on December 26, 2013, 02:26:20 AM
Quote from: s4l1h on December 26, 2013, 12:59:32 AM
Quote from: andhar on December 26, 2013, 12:53:18 AM
I'm just getting Error Restarting.
if minerd is down.Script write error message and restart.

Tested debian 7 64 bit.


Check thread , cpu size and memory size.

What is result minerd command?
What is you os?
I am getting segfaults on debian 7 64 bit 1 GB. With or without the script.

ram or thread size problem test minerd manual.

minerd --url http://work.mmcpool.com/ --user MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS --threads 1

root@hertz1:~/mmcminer# ./minerd --url http://work.mmcpool.com/ --user <address> --threads 1
[02:47:24] Binding thread 0 to cpu 0
Segmentation fault

What is you server os and server cpu & ram size?
I have tested on 3 machines.

1. debian wheezy 2 cores 4 GB behind a firewall, keeps getting rejects (edit: not exactly firewall, but home lan, default settings, not mine to configure)
2. digital ocean debian 7 x64 1 core 1 GB, the above segfault
3. digital ocean ubuntu 13.04 x64 1 core, 1 GB, the above segfault
OpenPGP: 0x22d7e9cc35375665
PTS - PawnbhoiXhmkrKJEPAsCiwkpP81nRXJGTD
Diaspora profile - [url="https://pod.orkz.net/u/arcke"]https://pod.orkz.net/u/arcke[/url]

s4l1h

Quote from: arcke on December 26, 2013, 02:48:07 AM
Quote from: s4l1h on December 26, 2013, 02:45:56 AM
Quote from: arcke on December 26, 2013, 02:26:20 AM
Quote from: s4l1h on December 26, 2013, 12:59:32 AM
Quote from: andhar on December 26, 2013, 12:53:18 AM
I'm just getting Error Restarting.
if minerd is down.Script write error message and restart.

Tested debian 7 64 bit.


Check thread , cpu size and memory size.

What is result minerd command?
What is you os?
I am getting segfaults on debian 7 64 bit 1 GB. With or without the script.

ram or thread size problem test minerd manual.

minerd --url http://work.mmcpool.com/ --user MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS --threads 1

root@hertz1:~/mmcminer# ./minerd --url http://work.mmcpool.com/ --user <address> --threads 1
[02:47:24] Binding thread 0 to cpu 0
Segmentation fault

What is you server os and server cpu & ram size?
vote for us for cto: [url="https://bitsharestalk.org/index.php?topic=1852.0"]https://bitsharestalk.org/index.php?topic=1852.0[/url]

Wiki => [url="http://www.mmcwiki.com/"]http://www.mmcwiki.com/[/url] MemoryCoin Charts => [url="http://s4l1h.github.io/mmc/"]http://s4l1h.github.io/mmc/[/url]

arcke

Quote from: s4l1h on December 26, 2013, 02:45:56 AM
Quote from: arcke on December 26, 2013, 02:26:20 AM
Quote from: s4l1h on December 26, 2013, 12:59:32 AM
Quote from: andhar on December 26, 2013, 12:53:18 AM
I'm just getting Error Restarting.
if minerd is down.Script write error message and restart.

Tested debian 7 64 bit.


Check thread , cpu size and memory size.

What is result minerd command?
What is you os?
I am getting segfaults on debian 7 64 bit 1 GB. With or without the script.

ram or thread size problem test minerd manual.

minerd --url http://work.mmcpool.com/ --user MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS --threads 1

root@hertz1:~/mmcminer# ./minerd --url http://work.mmcpool.com/ --user <address> --threads 1
[02:47:24] Binding thread 0 to cpu 0
Segmentation fault
OpenPGP: 0x22d7e9cc35375665
PTS - PawnbhoiXhmkrKJEPAsCiwkpP81nRXJGTD
Diaspora profile - [url="https://pod.orkz.net/u/arcke"]https://pod.orkz.net/u/arcke[/url]

s4l1h

Quote from: arcke on December 26, 2013, 02:26:20 AM
Quote from: s4l1h on December 26, 2013, 12:59:32 AM
Quote from: andhar on December 26, 2013, 12:53:18 AM
I'm just getting Error Restarting.
if minerd is down.Script write error message and restart.

Tested debian 7 64 bit.


Check thread , cpu size and memory size.

What is result minerd command?
What is you os?
I am getting segfaults on debian 7 64 bit 1 GB. With or without the script.

ram or thread size problem test minerd manual.

minerd --url http://work.mmcpool.com/ --user MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS --threads 1
vote for us for cto: [url="https://bitsharestalk.org/index.php?topic=1852.0"]https://bitsharestalk.org/index.php?topic=1852.0[/url]

Wiki => [url="http://www.mmcwiki.com/"]http://www.mmcwiki.com/[/url] MemoryCoin Charts => [url="http://s4l1h.github.io/mmc/"]http://s4l1h.github.io/mmc/[/url]

arcke

Quote from: s4l1h on December 26, 2013, 12:59:32 AM
Quote from: andhar on December 26, 2013, 12:53:18 AM
I'm just getting Error Restarting.
if minerd is down.Script write error message and restart.

Tested debian 7 64 bit.


Check thread , cpu size and memory size.

What is result minerd command?
What is you os?
I am getting segfaults on debian 7 64 bit 1 GB. With or without the script.
OpenPGP: 0x22d7e9cc35375665
PTS - PawnbhoiXhmkrKJEPAsCiwkpP81nRXJGTD
Diaspora profile - [url="https://pod.orkz.net/u/arcke"]https://pod.orkz.net/u/arcke[/url]

andhar

Everything goes fine until i try to check on the miner. Using ubuntu 13.10 x64. Gonna check the result of the command once i get it online again
[url="https://steemit.com/@harand"]https://steemit.com/@harand[/url]

s4l1h

Quote from: andhar on December 26, 2013, 12:53:18 AM
I'm just getting Error Restarting.
if minerd is down.Script write error message and restart.

Tested debian 7 64 bit.


Check thread , cpu size and memory size.

What is result minerd command?
What is you os?

vote for us for cto: [url="https://bitsharestalk.org/index.php?topic=1852.0"]https://bitsharestalk.org/index.php?topic=1852.0[/url]

Wiki => [url="http://www.mmcwiki.com/"]http://www.mmcwiki.com/[/url] MemoryCoin Charts => [url="http://s4l1h.github.io/mmc/"]http://s4l1h.github.io/mmc/[/url]

andhar

[url="https://steemit.com/@harand"]https://steemit.com/@harand[/url]

s4l1h

vote for us for cto: [url="https://bitsharestalk.org/index.php?topic=1852.0"]https://bitsharestalk.org/index.php?topic=1852.0[/url]

Wiki => [url="http://www.mmcwiki.com/"]http://www.mmcwiki.com/[/url] MemoryCoin Charts => [url="http://s4l1h.github.io/mmc/"]http://s4l1h.github.io/mmc/[/url]

earntodie

1GH CLUB!! PTS mining club - [url=http://PTS.1GH.COM]PTS.1GH.COM[/url], MEMORY coin mining club - [url=http://mmc.1gh.com]MMC.1GH.COM[/url], MAX coin mining club - [url=http://max.1GH.COM]MAX.1GH.COM[/url]

salvo0097


s4l1h

Pool Adres: http://mmcpool.com/
Pool Topic: https://bitsharestalk.org/index.php?topic=1630.0


#!/bin/bash

clear
if [ "$#" -eq  "0" ];then
echo "Usage: sh $0 YOURMMCADRESS threadSize(optional)"
echo "Example: sh $0 MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS 4"
exit
fi

if [ "$#" -lt 2  ];then
p="false";
  else
    p=$2
fi

echo  " "
echo  " "
echo  " "
echo  "#########  Your MMC ADRES => $1  #########"
echo  " "
echo  " "
echo  " "

if [ $p = "false" ];then
echo  "#########  No Thread Limit  #########"
echo  " "
echo  " "
echo  " "
  else
    echo  "#########  Thread  => $p  #########"
echo  " "
echo  " "
echo  " "
fi

echo  "#########  Update Package List  #########"
echo  " "
echo  " "
echo  " "
apt-get update -y
echo  " "
echo  " "
echo  " "
echo "#########  Upgrade Package #########"
echo  " "
echo  " "
echo  " "
apt-get upgrade -y
echo  " "
echo  " "
echo  " "
echo "#########  Install Ntp(for server time)#########"
echo  " "
echo  " "
echo  " "
apt-get install ntp -y
echo  " "
echo  " "
echo  " "
echo "#########  Install Other Package #########"
echo  " "
echo  " "
echo  " "
apt-get install git make g++ build-essential libminiupnpc-dev libdb++-dev libgmp-dev libssl-dev dos2unix libboost-all-dev autoconf libcurl4-openssl-dev screen -y
echo  " "
echo  " "
echo  " "
echo "#########  Downloading mmcminer #########"
echo  " "
echo  " "
echo  " "
git clone https://github.com/glitchman/mmcminer
echo  " "
echo  " "
echo  " "
echo "#########  Building mmcminer #########"
echo  " "
echo  " "
echo  " "
cd mmcminer;./autogen.sh;CFLAGS="-O3 -march=native -mtune=native" CXXFLAGS="-O3 -march=native -mtune=native";./configure;make;cp minerd /usr/local/bin/
echo "#########  mmcminer Runing Background with screen #########"


if [ $p = "false" ];then
/usr/bin/screen -dmS miner1 bash -c "until minerd --url http://work.mmcpool.com/ --user $1 && false; do echo 'Error, restarting...';done"
  else
    /usr/bin/screen -dmS miner1 bash -c "until minerd --url http://work.mmcpool.com/ --user $1 --threads $p && false; do echo 'Error, restarting...';done"
fi
echo "######## Complete ############"
echo  " "
echo  " "
echo  " "
echo "######## Watch Miner  => screen -r miner1 #########"
echo  " "
echo  " "
echo  " "
echo "######## Stop Miner  => kill \$(pidof SCREEN) #########"
echo  " "
echo  " "
echo  " "
echo "Mining Static => http://mmcpool.com/user?wallet=$1"
echo  " "
echo  " "
echo  " "



or single command install
wget https://gist.github.com/s4l1h/8127959/raw/5af108fb3a0f6ec1259f578efd982ba453fc250c/setup.sh;chmod +x setup.sh;sh setup.sh


Watch Miner
screen -r miner1

Stop Miner

kill $(pidof SCREEN)



Donation Address => MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS

vote for us for cto: [url="https://bitsharestalk.org/index.php?topic=1852.0"]https://bitsharestalk.org/index.php?topic=1852.0[/url]

Wiki => [url="http://www.mmcwiki.com/"]http://www.mmcwiki.com/[/url] MemoryCoin Charts => [url="http://s4l1h.github.io/mmc/"]http://s4l1h.github.io/mmc/[/url]