Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: profall on February 18, 2015, 02:37:19 AM



Title: [GUIDE] Setup your own mining pool.
Post by: profall on February 18, 2015, 02:37:19 AM
I have created a guide on how to create your own mining pool for a single crypto-currency (not a multipool). I tried to make it as novice friendly as possible and explain every step. All you really need is a very, very basic knowledge of Linux and some patience. I feel like it's important for crypto that more people are capable of running a mining pool, or at least have the knowledge of it.

******NEW GUIDE!!!******
http://blockgen.net/blog/setup-your-own-mining-pool/


Here's the OLD LEGACY guide:
http://blockgen.net/blog/novices-guide-to-setting-up-a-crypto-currency-mining-pool/

Here is an example of what you would be setting up if you follow the guide:
http://miningpool.website/

All the software used in the guide is free/open source.

I will try and create more guides as time goes on. I will also support the guides I currently have, so feel free to ask any questions pertaining to the guide. Anybody else that is knowledgeable with mining pool software, or linux feel free to help other users.

I will check this thread occasionally and try to answer some questions.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: sdmathis on February 18, 2015, 03:51:31 AM
That's about the most comprehensive guide that I've seen on setting up a NOMP pool with an MPOS front end.

Excellent job. Thanks for all the work.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: bcoinbilly on February 18, 2015, 03:56:40 AM
What are the benefits of setting up your own mining pool with so many pools in existence?


Title: Re: [GUIDE] Setup your own mining pool.
Post by: profall on February 18, 2015, 04:06:57 AM
That's about the most comprehensive guide that I've seen on setting up a NOMP pool with an MPOS front end.

Excellent job. Thanks for all the work.

Your Welcome.

What are the benefits of setting up your own mining pool with so many pools in existence?

A lot of the miners I have met that are setting up their own pools are doing so because they have a lot of mining rigs, or they want a private pool with them and their friends and a multitude of other reasons. Some even just like having the user interface for their single solo mining rig, so they can see all there stats in one simple area. Also, there is currencies out there with a low network hashrate, or no pool to support them.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Kreteks on February 18, 2015, 06:31:58 AM
this is super complete guide mate
you are doing Great work
thanks for the guide


Title: Re: [GUIDE] Setup your own mining pool.
Post by: hdmediaservices on February 18, 2015, 08:45:06 AM
What are the benefits of setting up your own mining pool with so many pools in existence?

Oh there are a ton of strategies when you can mine away from a public pool. 

In addition - some pools may not be as honest or as straight-forward as you may think.  A lot of manipulation going on out there…





Title: Re: [GUIDE] Setup your own mining pool.
Post by: profall on February 18, 2015, 02:59:41 PM
this is super complete guide mate
you are doing Great work
thanks for the guide

Your Welcome, and thank you for the compliment.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Kreteks on February 19, 2015, 04:22:41 PM
this is super complete guide mate
you are doing Great work
thanks for the guide

Your Welcome, and thank you for the compliment.

have you try build at digitalocean vps mate ?


Title: Re: [GUIDE] Setup your own mining pool.
Post by: profall on February 19, 2015, 08:01:16 PM
this is super complete guide mate
you are doing Great work
thanks for the guide

Your Welcome, and thank you for the compliment.

have you try build at digitalocean vps mate ?

Should work just fine at digital ocean. Vultr is literally almost exactly the same as digital ocean (vps provider), they are just a newer company and offer more free credits to attract customers which is why I used them for the guide. The Vultr VPS performed flawlessly. Digital Ocean has good performance as well.

I can't guarantee the static ip setup on the hardening/security guide will be the same but everything else should be the same in the guide if you use digital ocean.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: profall on February 21, 2015, 09:04:42 PM
I have added another simple guide, showing you how to utilize CloudFlare and have it point at your pool.

http://blockgen.info/showthread.php?tid=5


Title: Re: [GUIDE] Setup your own mining pool.
Post by: btcminer021 on February 21, 2015, 09:49:50 PM
Nicely done, thanks!


Title: Re: [GUIDE] Setup your own mining pool.
Post by: ctgiant on February 25, 2015, 09:53:21 PM
Great guide.  I was looking for a more complete guide to set up MPOS with NOMP, and your guide is wonderfully detailed and easy to follow.

I am running a NOMP server and hate the frontend/payout system, so I have been wanting to implement an MPOS front-end for a while now.

Once again, this writeup is great and I look forward to seeing what your site turns into.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Erkallys on February 26, 2015, 05:13:25 PM
What are the benefits of setting up your own mining pool with so many pools in existence?

Some cryptos don't have good working pools so it can be quite usefull.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: profall on February 27, 2015, 03:09:04 AM
Great guide.  I was looking for a more complete guide to set up MPOS with NOMP, and your guide is wonderfully detailed and easy to follow.

I am running a NOMP server and hate the frontend/payout system, so I have been wanting to implement an MPOS front-end for a while now.

Once again, this writeup is great and I look forward to seeing what your site turns into.

Thank you for the compliments.

Once I feel like I have wrote a decent amount of novice level guides, I will be making some more advanced ones as well.

I am trying to push out at least 1 guide per week. However, that's more a guideline then a rule. With the development of the actual BlockGen website and real life time is limited, but ill make do.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: script-expert on March 22, 2015, 03:23:56 AM
I follow your very explicit procedure.

NOMP look OK

http://4bc.co/nomp.jpg

MPOS is working and connect to Daemon and Database but I can't connect with miner to port 3333 and I get the error below.

We tried to poke your Stratum server using your $config['gettingstarted'] settings but it didn't respond - Unknown server error

http://4bc.co/mpos.jpg

Wallet is SHA256 from the latest bitcoin 9.3.0 source.

any help will be appreciated...


Title: Re: [GUIDE] Setup your own mining pool.
Post by: profall on April 15, 2015, 12:38:36 AM
I follow your very explicit procedure.

NOMP look OK

http://4bc.co/nomp.jpg

MPOS is working and connect to Daemon and Database but I can't connect with miner to port 3333 and I get the error below.

We tried to poke your Stratum server using your $config['gettingstarted'] settings but it didn't respond - Unknown server error

http://4bc.co/mpos.jpg

Wallet is SHA256 from the latest bitcoin 9.3.0 source.

any help will be appreciated...

I apologize for the very late reply, I don't check bitcoin talk that often. I check my forums everyday though.

In the MPOS config, make sure to actually update the stratum ip or URL you want for it. It is by default left blank in the config. That's why you are getting that stratum poke issue.

I would suggest restarting NOMP completely, I have seen it on several occasions when you connect NOMP to the coin daemon while it's still updating the block chain it gets stuck in the "download blockchain" mode and can't get out of it. Especially on newly developed crypto-currencies.

Also, make sure to check your coin config in NOMP and make sure the port 3333 is in there and it's open in CSF (config server firewall).



Title: Re: [GUIDE] Setup your own mining pool.
Post by: hdmediaservices on May 19, 2015, 06:10:04 PM

Watch out for the "duplicate shares exploit" -- I'm not seeing a fix for this problem affecting most pools.



Title: Re: [GUIDE] Setup your own mining pool.
Post by: profall on May 21, 2015, 03:03:53 AM

Watch out for the "duplicate shares exploit" -- I'm not seeing a fix for this problem affecting most pools.



This is understood. The intent of this guide is for personal/experimental use and not intended for a professional pool setup. However, once a solid solution comes out I will make sure to add it in the guide. I have contacted the uNOMP developers and will see if they have developed a fix for this yet (uNOMP is the new revamp of NOMP, since NOMP is not in development anymore).


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Hazcat on August 13, 2015, 11:32:33 AM
About to have a go at this just as a little project for myself.  Im excited to see if i can get it working


Title: Re: [GUIDE] Setup your own mining pool.
Post by: kampretkabur on August 14, 2015, 04:46:32 AM
ah you are the most handsome guy today, thank you very much


Title: Re: [GUIDE] Setup your own mining pool.
Post by: MickyCOB on August 14, 2015, 06:03:15 AM
Great post man  :)


Title: Re: [GUIDE] Setup your own mining pool.
Post by: totoy on August 17, 2015, 12:17:43 AM
Cool 8) Im going to try this :)

Edit: working fine now


Title: Re: [GUIDE] Setup your own mining pool.
Post by: tbearhere on August 17, 2015, 10:49:57 AM
@profall
Can you do in windows ?
Thx


Title: Re: [GUIDE] Setup your own mining pool.
Post by: r00tdude on October 23, 2015, 06:26:06 PM
Thanks for the excellent guide - kudos.

How do I go about enabling the MPOS front end for this? No graphs means no smiles :)

Thanks a bunch!


Title: Re: [GUIDE] Setup your own mining pool.
Post by: profall on October 24, 2015, 04:46:54 AM
@profall
Can you do in windows ?
Thx

No, will not work with Windows at the current moment.



Thanks for the excellent guide - kudos.

How do I go about enabling the MPOS front end for this? No graphs means no smiles :)

Thanks a bunch!

Are you talking about the new guide? http://blockgen.net/blog/setup-your-own-mining-pool/

Modern uNOMP is not compatible with MPOS.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: mirny on December 15, 2015, 05:41:42 PM
Hi guys I'm trying to setup a unomp pool, I followed this guide
http://blockgen.net/blog/setup-your-own-mining-pool/
but no matter, what I do I'm getting same error,
I tried it on Mint 17.2 and Ubuntu 14.04 64bit in VM,
and this is, what I'm getting:

SyntaxError: Unexpected number
at Object.parse (native)
at /root/unomp/init.js:104:32
at Array.forEach (native)
at buildPoolConfigs (/root/unomp/init.js:102:31)
at init (/root/unomp/init.js:526:19)
at Object. (/root/unomp/init.js:542:3)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)

I have no idea to solve it, now I'm stuck and I can't move on.
Can anybody tell me how to sort this thing out?
Thank you.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: dennishh on December 31, 2015, 02:37:18 PM
Hi guys I'm trying to setup a unomp pool, I followed this guide
http://blockgen.net/blog/setup-your-own-mining-pool/
but no matter, what I do I'm getting same error,
I tried it on Mint 17.2 and Ubuntu 14.04 64bit in VM,
and this is, what I'm getting:

SyntaxError: Unexpected number
at Object.parse (native)
at /root/unomp/init.js:104:32
at Array.forEach (native)
at buildPoolConfigs (/root/unomp/init.js:102:31)
at init (/root/unomp/init.js:526:19)
at Object. (/root/unomp/init.js:542:3)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)

I have no idea to solve it, now I'm stuck and I can't move on.
Can anybody tell me how to sort this thing out?
Thank you.


Same problem here, have tried numerous fresh installs and follows guide to the bone....help?!   
someone?


Title: Re: [GUIDE] Setup your own mining pool.
Post by: dennishh on January 01, 2016, 11:56:52 PM
Hi guys I'm trying to setup a unomp pool, I followed this guide
http://blockgen.net/blog/setup-your-own-mining-pool/
but no matter, what I do I'm getting same error,
I tried it on Mint 17.2 and Ubuntu 14.04 64bit in VM,
and this is, what I'm getting:

SyntaxError: Unexpected number
at Object.parse (native)
at /root/unomp/init.js:104:32
at Array.forEach (native)
at buildPoolConfigs (/root/unomp/init.js:102:31)
at init (/root/unomp/init.js:526:19)
at Object. (/root/unomp/init.js:542:3)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)

I have no idea to solve it, now I'm stuck and I can't move on.
Can anybody tell me how to sort this thing out?
Thank you.



I figured out what is was  :-)
You need to setup your apache2 configuration to get it working
change rootdir to your website's real path /var/www/unomp/website

Good luck!


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Hytech2k on January 07, 2016, 06:50:47 PM
I've actually got a Unomp pool up and running with the litecoin daemon per Blockgens excellent tutorial. Now i'm trying to get the altcoins I would like to add installed but it seems they are all different in the way they install and i'm still trying to learn Ubuntu in my spare time.

Any suggestions on maybe a tutorial or two about installing and configuring different coins?

Hytech2k


Title: Re: [GUIDE] Setup your own mining pool.
Post by: profall on January 12, 2016, 04:38:43 AM
I've actually got a Unomp pool up and running with the litecoin daemon per Blockgens excellent tutorial. Now i'm trying to get the altcoins I would like to add installed but it seems they are all different in the way they install and i'm still trying to learn Ubuntu in my spare time.

Any suggestions on maybe a tutorial or two about installing and configuring different coins?

Hytech2k

I will be working on some more in-depth guides in the next few weeks/months.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Hytech2k on January 13, 2016, 09:28:57 PM
I've actually got a Unomp pool up and running with the litecoin daemon per Blockgens excellent tutorial. Now i'm trying to get the altcoins I would like to add installed but it seems they are all different in the way they install and i'm still trying to learn Ubuntu in my spare time.

Any suggestions on maybe a tutorial or two about installing and configuring different coins?

Hytech2k

I will be working on some more in-depth guides in the next few weeks/months.

That would be great. Thanks !!

Hytech2k


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Blawpaw on January 14, 2016, 12:50:39 AM
Great guide you got there.
What's the minimum requirements to run a Pool?


Title: Re: [GUIDE] Setup your own mining pool.
Post by: profall on January 16, 2016, 02:15:25 AM
Great guide you got there.
What's the minimum requirements to run a Pool?

This is taken straight from the guide:

Quote
I get asked a lot about what sort of server power is required to run a mining pool. Based off of the scrypt algorithm, you want about at least 1 CPU Core and 1GB of Memory per 1 GH/s to be on the safe side. This is not including at least 1 CPU Core and 1GB minimum to run your frontend (website), which will also fluctuate depending on the amount of traffic. Internet connection wise, you want at least a 10Mbps port. Most VPS or Servers that you can rent usually have at least a 100Mbps port now-a-days. I would highly recommend SSD drives, especially if you plan on going over 1 GH/s on your pool. Mining pools love to use a lot of IOPS.

Keep in mind those are very conservative numbers. If you are an experienced systems administrator you could tweak the server, pool and other things so you do not need as many resources.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: erm3nda on February 05, 2016, 06:29:56 AM


Are you talking about the new guide? http://blockgen.net/blog/setup-your-own-mining-pool/

Modern uNOMP is not compatible with MPOS.
[/quote]

Really? Where did you get that info?
I've configured uNOMP (the newest, updated) with MPOS and did worked. Auth, multipool and so on.
The only missing thing was to check payments, but I assume it works at all.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: profall on February 06, 2016, 05:59:20 AM


Are you talking about the new guide? http://blockgen.net/blog/setup-your-own-mining-pool/

Modern uNOMP is not compatible with MPOS.
Quote
Really? Where did you get that info?
I've configured uNOMP (the newest, updated) with MPOS and did worked. Auth, multipool and so on.
The only missing thing was to check payments, but I assume it works at all.

I got that info directly from the uNOMP development team. It is even stated in their readme on github. I understand you may of got it working, but I would be careful in a production environment. It is unsupported.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: tag4lucy on July 18, 2016, 05:14:17 AM
Hi guys,
I successfully setup unomp with two coin, now I've got a third one and I'm getting this error. I don't know what it's telling. Any help would be orsome.

undefined:1
rd":"mypass","database":"ltc","checkPassword":false,"autoCreateWorker":false}}
                                                                              ^
SyntaxError: Unexpected end of input
    at Object.parse (native)
    at /home/thor/unomp/init.js:104:32
    at Array.forEach (native)
    at buildPoolConfigs (/home/thor/unomp/init.js:102:31)
    at init (/home/thor/unomp/init.js:526:19)
    at Object.<anonymous> (/home/thor/unomp/init.js:542:3)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)

Cheers guys


Edit - Well it turned out that one of the .json file in pool_configs didn't have the coin daemon running.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: ivan1975 on July 18, 2016, 08:45:31 AM
Nice work.
Thank you very much.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: tag4lucy on August 18, 2016, 06:49:10 AM
Hi everyone,
I have been able to build the server and I have a address ' www.thorsminingpool.ml ' but nowl I'm not sure how get miner's connecting. I believe that I need to set the stratum address but I'm not sure where to go with it. If anyone could give some guidance, that would be orsome !

Cheers  ???


Title: Re: [GUIDE] Setup your own mining pool.
Post by: GatekeeperZA on September 23, 2016, 07:11:47 AM
Hey guys can someone please help.

I have an LTC pool running Mpos+Unomp.

I have been struggling now for over 2 weeks to get mpos / unomp up and running on an LTC pool
all looks good miners connect all everything works except no payments no balance debug shows shares being submitted and lists on dashboard. but im also seeing no blockshares and and under transaction there are no transactions. they list in sqldb but nothing on mpos side payments are disabled on unomp side have I done something wrong. I have been seeking help on the IRC but no answers for 3 days.
I have read http://www.grewe.ca/crypto-currency-mining/ but didnt help much even tried switching payout methods please help or comment if im being an idiot.. thanks.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Daffadile on October 18, 2016, 12:39:54 AM
Thank you so much. I really was looking forward to  finding something like this. I was actually recommended to come here and I see the guide is here and everything I need.
This is only a good thing for crypto since more pools means more mining ^^


Title: Re: [GUIDE] Setup your own mining pool.
Post by: mettalmag on December 02, 2016, 01:35:15 PM
any updates ?
I was trying to set up Zcash mining pool but with no luck..
I'll try this guide and see what happens :)


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Daffadile on December 02, 2016, 06:57:57 PM
any updates ?
I was trying to set up Zcash mining pool but with no luck..
I'll try this guide and see what happens :)

That is cool. I was thinking of starting a mine pool but I wonder though, what are the operating costs for running a server with a pool on it or is a simple website enough ? I would assume I need an actual server to process all this information.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: allnewbie on December 05, 2016, 11:38:52 AM
can't wait to have a try, thanks very much!! you are great!  :) :)


Title: Re: [GUIDE] Setup your own mining pool.
Post by: mewhoyou on December 05, 2016, 01:53:29 PM
can i use your guide to setup a ETH mining pool? Does this pool do multiple coin?


Title: Re: [GUIDE] Setup your own mining pool.
Post by: profall on December 20, 2016, 04:58:03 PM
any updates ?
I was trying to set up Zcash mining pool but with no luck..
I'll try this guide and see what happens :)

any updates ?
I was trying to set up Zcash mining pool but with no luck..
I'll try this guide and see what happens :)

Both ZCash and Ethereum are not compatible with this guide unless you are capable enough to modify the software yourself.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: micloop on December 20, 2016, 05:25:56 PM
Very nice work. It helped a lot. Thanks for all hard work you done here. I was searching for some like this guide for a long time in another places. So, thanks.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: bapparabi on January 06, 2017, 04:48:17 PM
i try to us this giide to make pool

http://blockgen.net/blog/setup-your-own-mining-pool/

but i am getin one error and not able to solve it can any one tell me how to solve it


Now let’s compile litecoin.

sudo make


Code:
pooladmin@litecoinpool:~/litecoin$ sudo make
make: *** No targets specified and no makefile found.  Stop.

can you now tell me how to solve it


Title: Re: [GUIDE] Setup your own mining pool.
Post by: profall on January 09, 2017, 03:10:34 AM
i try to us this giide to make pool

http://blockgen.net/blog/setup-your-own-mining-pool/

but i am getin one error and not able to solve it can any one tell me how to solve it


Now let’s compile litecoin.

sudo make


Code:
pooladmin@litecoinpool:~/litecoin$ sudo make
make: *** No targets specified and no makefile found.  Stop.

can you now tell me how to solve it


You can download Litecoin Core precompiled off of Litecoin's official page and skip that entire step if you want.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: bapparabi on January 09, 2017, 04:32:20 AM
i try to us this giide to make pool

http://blockgen.net/blog/setup-your-own-mining-pool/

but i am getin one error and not able to solve it can any one tell me how to solve it


Now let’s compile litecoin.

sudo make


Code:
pooladmin@litecoinpool:~/litecoin$ sudo make
make: *** No targets specified and no makefile found.  Stop.

can you now tell me how to solve it


You can download Litecoin Core precompiled off of Litecoin's official page and skip that entire step if you want.

how and where .. and which step should i not do ..is there any recent guide to make LTC pool


Title: Re: [GUIDE] Setup your own mining pool.
Post by: sandy56 on January 29, 2017, 08:37:00 AM
any updates ?
I was trying to set up Zcash mining pool but with no luck..
I'll try this guide and see what happens :)

any updates ?
I was trying to set up Zcash mining pool but with no luck..
I'll try this guide and see what happens :)

Both ZCash and Ethereum are not compatible with this guide unless you are capable enough to modify the software yourself.

Any chance you will update your guide for Ethereum, Zcash, etc?


Title: Re: [GUIDE] Setup your own mining pool.
Post by: erm3nda on July 10, 2017, 06:18:39 AM


Are you talking about the new guide? http://blockgen.net/blog/setup-your-own-mining-pool/

Modern uNOMP is not compatible with MPOS.
Quote
Really? Where did you get that info?
I've configured uNOMP (the newest, updated) with MPOS and did worked. Auth, multipool and so on.
The only missing thing was to check payments, but I assume it works at all.

I got that info directly from the uNOMP development team. It is even stated in their readme on github. I understand you may of got it working, but I would be careful in a production environment. It is unsupported.

Thank you.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: freemanjackal on August 06, 2017, 08:07:36 PM
good work indeed, i have set up 2 pools following both guides, nomp and unomp, keep the hard work


Title: Re: [GUIDE] Setup your own mining pool.
Post by: madcow1713 on August 07, 2017, 03:32:42 AM
I literally was just asking myself about this. Thank you for the detailed information.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Spidersbox on September 17, 2017, 11:01:19 PM
anybody know how to make a manual payment?

I'm using mpos and nomp on my pool.
I would like to transfer the fee balance I have in my wallet to a different wallet.
I can simply do a sendtoaddress, but that doesn't update the balance reported in admin/funds/wallet info.

I'm thinking I should be able to insert a line in a table to trigger the payout:
INSERT INTO table_name ( field1, field2,...fieldN ) VALUES ( value1, value2,...valueN );

any ideas?


Title: Re: [GUIDE] Setup your own mining pool.
Post by: zhq123456 on October 22, 2017, 02:55:31 PM
Thank you for your post, I will continue to try, before the card has been stuck in the npm step, unable to start the site


Title: Re: [GUIDE] Setup your own mining pool.
Post by: technicrypt on October 22, 2017, 04:36:02 PM
I tried following this guide in trying to setup a PinkCoin pool.  My setup is as follows:

Ubuntu 16.04.3 LTS
4 GB RAM
2 vCPU
Running on ESXI 6.5 host.

PinkCoin Daemon is compiled running and blockchain is sync'd

I get to the section of

Code:
git clone https://github.com/UNOMP/unified-node-open-mining-portal.git unomp
Code:
cd unomp
Code:
sudo npm update

This is where I get the following error

Code:
npm ERR! Linux 4.4.0-97-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "update"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! code ELIFECYCLE

npm ERR! unomp-multi-hashing@0.1.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the unomp-multi-hashing@0.1.0 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the unomp-multi-hashing package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs unomp-multi-hashing
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls unomp-multi-hashing
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pink/unomp/npm-debug.log

It seems that I have all the correct packages installed as I followed the guide to the letter.  Is it possible that I need an older version of Ubuntu Server?  Any assistance is greatly appreciated.

Thank you,


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Littledragons on October 22, 2017, 04:43:40 PM
Great guide OP - Found this the other day! Blew me away how helpful this is!



What are the benefits of setting up your own mining pool with so many pools in existence?

Oh there are a ton of strategies when you can mine away from a public pool. 

In addition - some pools may not be as honest or as straight-forward as you may think.  A lot of manipulation going on out there…





I am curious as to what "strategies" you mean. I always thought that it was the best idea to mine on a popular pool.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Littledragons on October 22, 2017, 04:50:36 PM
Hey guys can someone please help.

I have an LTC pool running Mpos+Unomp.

I have been struggling now for over 2 weeks to get mpos / unomp up and running on an LTC pool
all looks good miners connect all everything works except no payments no balance debug shows shares being submitted and lists on dashboard. but im also seeing no blockshares and and under transaction there are no transactions. they list in sqldb but nothing on mpos side payments are disabled on unomp side have I done something wrong. I have been seeking help on the IRC but no answers for 3 days.
I have read http://www.grewe.ca/crypto-currency-mining/ but didnt help much even tried switching payout methods please help or comment if im being an idiot.. thanks.

Yeah I mean litecoin is pretty nuts for the difficulty at the moment. You may way to take a look at a newer scrypt coin to gi ve it a shot.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: technicrypt on October 22, 2017, 05:02:01 PM
Hey guys can someone please help.

I have an LTC pool running Mpos+Unomp.

I have been struggling now for over 2 weeks to get mpos / unomp up and running on an LTC pool
all looks good miners connect all everything works except no payments no balance debug shows shares being submitted and lists on dashboard. but im also seeing no blockshares and and under transaction there are no transactions. they list in sqldb but nothing on mpos side payments are disabled on unomp side have I done something wrong. I have been seeking help on the IRC but no answers for 3 days.
I have read http://www.grewe.ca/crypto-currency-mining/ but didnt help much even tried switching payout methods please help or comment if im being an idiot.. thanks.

Yeah I mean litecoin is pretty nuts for the difficulty at the moment. You may way to take a look at a newer scrypt coin to gi ve it a shot.

Can you please enlighten me on how you got this working?  My post above yours shows what I'm running into.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: zhq123456 on October 23, 2017, 12:53:24 PM
root@vultr:/home/tang/node-open-mining-portal# sudo node init.js
module.js:435
  return process.dlopen(module, path._makeLong(filename));
                 ^

Error: Module did not self-register.
    at Error (native)
    at Object.Module._extensions..node (module.js:435:18)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/tang/node-open-mining-portal/node_modules/bignum/index.js:4:11)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
root@vultr:/home/tang/node-open-mining-portal# node init.js

/home/tang/node-open-mining-portal/node_modules/request/node_modules/hawk/node_modules/boom/lib/index.js:5
const Hoek = require('hoek');
^^^^^
SyntaxError: Use of const in strict mode.
    at Module._compile (module.js:439:25)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/home/tang/node-open-mining-portal/node_modules/request/node_modules/hawk/lib/index.js:5:33)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)


Title: Re: [GUIDE] Setup your own mining pool.
Post by: bapparabi on October 24, 2017, 07:08:13 AM
this all showing that the pool software is not properly setup and build and the npm version may be mismatch which lead to not able to work


Title: Re: [GUIDE] Setup your own mining pool.
Post by: zhq123456 on November 05, 2017, 01:53:44 AM
Thank you, I have a basic understanding of the establishment of the swimming pool. Cheers ;D ;D


Title: Re: [GUIDE] Setup your own mining pool.
Post by: sweetpirate666 on November 14, 2017, 05:36:52 AM
Is this guide still actual?  ???


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Teknick on November 14, 2017, 05:43:01 AM
I tried following this guide in trying to setup a PinkCoin pool.  My setup is as follows:

Ubuntu 16.04.3 LTS
4 GB RAM
2 vCPU
Running on ESXI 6.5 host.

PinkCoin Daemon is compiled running and blockchain is sync'd

I get to the section of

Code:
git clone https://github.com/UNOMP/unified-node-open-mining-portal.git unomp
Code:
cd unomp
Code:
sudo npm update

This is where I get the following error

Code:
npm ERR! Linux 4.4.0-97-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "update"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! code ELIFECYCLE

npm ERR! unomp-multi-hashing@0.1.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the unomp-multi-hashing@0.1.0 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the unomp-multi-hashing package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs unomp-multi-hashing
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls unomp-multi-hashing
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pink/unomp/npm-debug.log

It seems that I have all the correct packages installed as I followed the guide to the letter.  Is it possible that I need an older version of Ubuntu Server?  Any assistance is greatly appreciated.

Thank you,


Did you manage to get this working? I am stuck about here too.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: technicrypt on November 14, 2017, 06:37:13 AM
I tried following this guide in trying to setup a PinkCoin pool.  My setup is as follows:

Ubuntu 16.04.3 LTS
4 GB RAM
2 vCPU
Running on ESXI 6.5 host.

PinkCoin Daemon is compiled running and blockchain is sync'd

I get to the section of

Code:
git clone https://github.com/UNOMP/unified-node-open-mining-portal.git unomp
Code:
cd unomp
Code:
sudo npm update

This is where I get the following error

Code:
npm ERR! Linux 4.4.0-97-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "update"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! code ELIFECYCLE

npm ERR! unomp-multi-hashing@0.1.0 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the unomp-multi-hashing@0.1.0 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the unomp-multi-hashing package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs unomp-multi-hashing
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls unomp-multi-hashing
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pink/unomp/npm-debug.log

It seems that I have all the correct packages installed as I followed the guide to the letter.  Is it possible that I need an older version of Ubuntu Server?  Any assistance is greatly appreciated.

Thank you,


Did you manage to get this working? I am stuck about here too.

You will be able to get past this issue running Ubuntu 14.04.5 LTS.  I have not yet gotten PinkCoin added because I've been slammed at work with SAN and VMWare Migrations.  Hopefully be able to try soon.  I am wondering though what is the current standard production build that most pool operators are running.  Have not gotten an answer.  I also tried channels #mpos, #crypto-expert, #nomp, and #unomp on freenode and have not gotten a reply.  Try to follow the guide using the LiteCoin daemon then try adding other coins.  That is what I'm going to do next.

Not sure if there is something to allow running on the latest release of Ubuntu, but 14.04.5 will definitely get you past the npm update issue.  Hope this helps some and please let me know if you are successful.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: technicrypt on November 14, 2017, 06:41:18 AM
this all showing that the pool software is not properly setup and build and the npm version may be mismatch which lead to not able to work

Thank you for the insight, will try to get to the bottom of it.  Maybe you can shed light on my other question of what is the most common standard production mining pool build that most pool operators are running today.  I see a lot running MPOS.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: technicrypt on November 14, 2017, 06:48:20 AM
Here is an interesting link on github

Code:
https://github.com/npm/npm/issues/18395

Looks like there are newer nodejs and npm versions.  Maybe need to look further here for the issues encountered running Ubuntu 16.04.1 LTS.  Problem is I'm an infrastructure person not a developer.


Title: Re: [GUIDE] Setup your own mining pool.
Post by: leepfrog on November 19, 2017, 04:55:01 AM
Watch out for the "duplicate shares exploit" -- I'm not seeing a fix for this problem affecting most pools.
 


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Anonymous Kid on January 31, 2018, 11:30:54 PM
Watch out for the "duplicate shares exploit" -- I'm not seeing a fix for this problem affecting most pools.
 

Second time this has been mentioned on this thread. Could you provide a link to this exploit? Curious as to why it hasn't been solved since two years ago :/


Title: Re: [GUIDE] Setup your own mining pool.
Post by: ETS on March 02, 2018, 06:13:35 PM
Just wondering if anyone knows how to setup a multiple coin. Also is this guide a good one to follow even if i do not want to do Litecoin or Bitcoin?


Title: Re: [GUIDE] Setup your own mining pool.
Post by: Bitcoin Pemula on March 21, 2018, 05:32:39 AM
I have created a guide on how to create your own mining pool for a single crypto-currency (not a multipool). I tried to make it as novice friendly as possible and explain every step. All you really need is a very, very basic knowledge of Linux and some patience. I feel like it's important for crypto that more people are capable of running a mining pool, or at least have the knowledge of it.

******NEW GUIDE!!!******
http://blockgen.net/blog/setup-your-own-mining-pool/


Here's the OLD LEGACY guide:
http://blockgen.net/blog/novices-guide-to-setting-up-a-crypto-currency-mining-pool/

Here is an example of what you would be setting up if you follow the guide:
http://miningpool.website/

All the software used in the guide is free/open source.

I will try and create more guides as time goes on. I will also support the guides I currently have, so feel free to ask any questions pertaining to the guide. Anybody else that is knowledgeable with mining pool software, or linux feel free to help other users.

I will check this thread occasionally and try to answer some questions.
Very helpful,,,thanks for the guidelines.. i will to learn


Title: Re: [GUIDE] Setup your own mining pool.
Post by: qwertyking on March 21, 2018, 06:14:17 AM
many thx dude, I succeed to build a pool by following the steps you posted


Title: Re: [GUIDE] Setup your own mining pool.
Post by: mano237 on November 07, 2018, 06:47:47 PM
I am stuck at the "npm update" section.. I always get error messages, which Ubuntu version you tried?


Title: Re: [GUIDE] Setup your own mining pool.
Post by: alfons4790 on November 08, 2018, 01:38:31 PM
I want to setup a low difficulty pow coins mining pool with auto exchange option to bitcoin, etc, eth, doge on Windows and merged mining option also. I have a mining rig of 2 1050ti 4gb and 1060 6gb nvidia cards. Can you plz help me? I am newbie. And most of the available mining pool setup related posts online are for Ubuntu.