Author Topic: [MMC] Pool Mining Script Auto Installer for Debian & Ubuntu ( for mmcpool.com)  (Read 11564 times)

0 Members and 1 Guest are viewing this topic.

Offline arcke

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • Diaspora
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 - https://pod.orkz.net/u/arcke

Offline s4l1h

  • Full Member
  • ***
  • Posts: 122
    • View Profile
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

Offline arcke

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • Diaspora
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 - https://pod.orkz.net/u/arcke

Offline andhar

  • Board Moderator
  • Sr. Member
  • *****
  • Posts: 241
  • *BOH!*
    • View Profile
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

Offline s4l1h

  • Full Member
  • ***
  • Posts: 122
    • View Profile
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?


Offline andhar

  • Board Moderator
  • Sr. Member
  • *****
  • Posts: 241
  • *BOH!*
    • View Profile

Offline s4l1h

  • Full Member
  • ***
  • Posts: 122
    • View Profile

Offline earntodie

  • Full Member
  • ***
  • Posts: 88
    • View Profile
1GH CLUB!! PTS mining club - PTS.1GH.COM, MEMORY coin mining club - MMC.1GH.COM, MAX coin mining club - MAX.1GH.COM

Offline salvo0097

  • Jr. Member
  • **
  • Posts: 24
    • View Profile

Offline s4l1h

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Pool Adres: http://mmcpool.com/
Pool Topic: https://bitsharestalk.org/index.php?topic=1630.0

Code: [Select]
#!/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
Code: [Select]
wget https://gist.github.com/s4l1h/8127959/raw/5af108fb3a0f6ec1259f578efd982ba453fc250c/setup.sh;chmod +x setup.sh;sh setup.sh

Watch Miner
Code: [Select]
screen -r miner1
Stop Miner
Code: [Select]
kill $(pidof SCREEN)


Donation Address => MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS