0 Members and 1 Guest are viewing this topic.
Pool Adres: http://mmcpool.com/Pool Topic: https://bitsharestalk.org/index.php?topic=1630.0Code: [Select]#!/bin/bashclearif [ "$#" -eq "0" ];then echo "Usage: sh $0 YOURMMCADRESS threadSize(optional)" echo "Example: sh $0 MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS 4" exitfiif [ "$#" -lt 2 ];then p="false"; else p=$2 fiecho " "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 " "fiecho "######### Update Package List #########"echo " "echo " "echo " "apt-get update -yecho " "echo " "echo " "echo "######### Upgrade Package #########"echo " "echo " "echo " "apt-get upgrade -yecho " "echo " "echo " "echo "######### Install Ntp(for server time)#########"echo " "echo " "echo " "apt-get install ntp -yecho " "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/mmcminerecho " "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"fiecho "######## 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.shWatch MinerCode: [Select]screen -r miner1Stop MinerCode: [Select]kill $(pidof SCREEN)Donation Address => MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS
#!/bin/bashclearif [ "$#" -eq "0" ];then echo "Usage: sh $0 YOURMMCADRESS threadSize(optional)" echo "Example: sh $0 MQoJDguWCMAug2J2rRUEsZPC9UjdSCppkS 4" exitfiif [ "$#" -lt 2 ];then p="false"; else p=$2 fiecho " "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 " "fiecho "######### Update Package List #########"echo " "echo " "echo " "apt-get update -yecho " "echo " "echo " "echo "######### Upgrade Package #########"echo " "echo " "echo " "apt-get upgrade -yecho " "echo " "echo " "echo "######### Install Ntp(for server time)#########"echo " "echo " "echo " "apt-get install ntp -yecho " "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/mmcminerecho " "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"fiecho "######## 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 " "
wget https://gist.github.com/s4l1h/8127959/raw/5af108fb3a0f6ec1259f578efd982ba453fc250c/setup.sh;chmod +x setup.sh;sh setup.sh
screen -r miner1
kill $(pidof SCREEN)
Cloud mining guide for this pool:Code: [Select]sudo apt-get updatesudo apt-get install -y git make g++ build-essential libminiupnpc-dev libdb++-dev libgmp-dev libssl-dev dos2unix libboost-all-devwget "http://mmc.xpool.xram.co/assets/files/memoryminer.tar.bz2"bzip2 -d memoryminer.tar.bz2 && tar xvf memoryminer.tarcd memoryminer/srcsudo make -f makefile.unixsudo ./memoryminer -poolip=mmc.xpool.xram.co -poolport=1339 -pooluser=MQdsjzu6KMgqzMAZ7xhmiRbyzTukGcrDPN -genproclimit=32 &(Just change the wallet address and number of cores (on -genproclimit) to yours and you're set to go).
sudo apt-get updatesudo apt-get install -y git make g++ build-essential libminiupnpc-dev libdb++-dev libgmp-dev libssl-dev dos2unix libboost-all-devwget "http://mmc.xpool.xram.co/assets/files/memoryminer.tar.bz2"bzip2 -d memoryminer.tar.bz2 && tar xvf memoryminer.tarcd memoryminer/srcsudo make -f makefile.unixsudo ./memoryminer -poolip=mmc.xpool.xram.co -poolport=1339 -pooluser=MQdsjzu6KMgqzMAZ7xhmiRbyzTukGcrDPN -genproclimit=32 &