Monero mining pool install

By | 09.01.2018
0

This a step by step guide on how to setup your own crypto-currency mining pool. This guide is going over how to setup an Monero mining pool. This is meant to setup a. Just like pools, there are a lot of miners to choose from. The one that you should pick depends on the hardware you want to mine on. This guide will only use a CPU miner, . Today we're going to show you how to mine Monero on a Mining Pool. Monero (XMR) is a Cryptonote algorithm based cryptocurrency, it relies on Ring Signatures in order.
README.md monero-stratum. High performance CryptoNote mining stratum with Web-interface written in Golang. Stratum feature list: Be your own pool. How to Install XMR STAK CPU for Monero Mining on Ubuntu 16.04. Monero Mining Is For Everyone! all you need to do is specify your pool address. This a step by step guide on how to setup your own crypto-currency mining pool. This guide is going over how to setup an Monero mining pool. This is meant to setup a. Just like pools, there are a lot of miners to choose from. The one that you should pick depends on the hardware you want to mine on. This guide will only use a CPU miner, . Today we're going to show you how to mine Monero on a Mining Pool. Monero (XMR) is a Cryptonote algorithm based cryptocurrency, it relies on Ring Signatures in order.

This a step by step guide on how to setup your own crypto-currency mining pool. This guide is going over how to setup an Monero mining pool. This is meant to setup a mining pool for a SINGLE CRYPTO CURRENCY. This is not a guide for a Multipool!!!!

If you want to see what it looks like before you set it all up, head to the Monero Mining Pool.

For this guide purpose I will be using Monero Crypto Currency .

Requirements

 

Setup

At this point you should have your VPS started, putty up and running and your logged in as root.

Update Ubuntu

apt-get update
apt-get dist-upgrade

Setup SWAP

I am setting up a 4GB swap, which may be overkill but it’s the most common swap sized used in most guides so ill keep it at that.

dd if=/dev/zero of=/mnt/myswap.swap bs=1M count=4000
mkswap /mnt/myswap.swap
swapon /mnt/myswap.swap

Now let’s add it into fstab so it’ll activate at boot.

nano /etc/fstab

Add the following line at the end of the file.

/mnt/myswap.swap none swap sw 0 0

Ctrl+O to save, and Ctrl+X to exit the nano editor.

Now your swap is setup, you can modify the size in the future if you need more or less.

Install Required Packages

apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev
apt-get install libboost-all-dev git npm nodejs nodejs-legacy libminiupnpc-dev redis-server
add-apt-repository ppa:bitcoin/bitcoin
apt-get update
apt-get install libdb4.8-dev libdb4.8++-dev
curl https://raw.githubusercontent.com/creationix/nvm/v0.16.1/install.sh | sh
source ~/.profile
nvm install 0.10.25
nvm use 0.10.25

 

Monero Daemon Setup (Wallet)

Now let’s setup the coin daemon, I will be using monero.

Now boot up putty .

We download a prebuilt version Monero from there offilcail site here:

https://downloads.getmonero.org/cli/monero-linux-x64-v0.11.0.0.tar.bz2

cd
mkdir monero
cd monero
wget https://downloads.getmonero.org/monero.linux.x64.v0-10-1-0.tar.bz2
tar -xjvf monero-linux-x64-v0.11.0.0.tar.bz2
ls

After issuing “ls” you will see many files are in the directory. you need to start demon now so that it will start sync to blockchain network

./monerod

You can see demon is starting and you can see that it started syncing with network. Depend on your vps network speed it will take some time to fully sync .

** On the other hand we can do this sync process faster by using this command so what ever you like you can do it

The fastest way to achieve this, is to download the current blockchain and import it into the daemon.

First download it;

If it fails half-way, just re-run it. The above command will continue where it monero mining pool install off.

Finally import it into the daemon by running;

Do remember though, run with only from a trusted source like above.

When it finishes u can safely remove the *.raw file;
rm -rf ./blockchain.raw

Now mining diff need to verify and link to moneno network to current state

./monerod

You can see all list of detail and showing that it connect to network success message .

now

exit

you need to use exit command so that it will save the sync done otherwise you have to monero mining pool install do the sync process

Finally start the monero daemon, which most likely, monero mining pool install, u will want running in detached/background mode;

Mining Pool Setup

We will use node-cryptonote-pool to setup the pool and front end site.

  1. Downloading and Installing

Clone the repository and run for all the dependencies to be installed:

cd
git clone https://github.com/zone117x/node-cryptonote-pool.git pool
cd pool
npm update

Once the above process done we need to copy the  config_example.json to active configuration to so your pool start working

cp config_example.json config.json

This will copy all default script mining bitcoin file data to active config file “ config.json

2. Configuration

Warning for Cyrptonote coins other than Monero: this software may or may not work with any given cryptonote coin. Be wary of altcoins that change the number of minimum coin units because you will have to reconfigure several config values to account for those changes. Unless you’re offering a bounty reward – do not open an issue asking for help getting a coin other than Monero working with this software.

Now start up the wincp and put your root login detail to start up once done head over to

/root/pool folder and right click on config.json and edit now you can see all config detail as per below mention and you can edit as per your need .

Explanation for each field:

/* Used for storage in redis so multiple coins can share the same redis instance. */
“coin”: “monero”,

/* Used for front-end display */
“symbol”: “MRO”,

“logging”: {

“files”: {

/* Specifies the level of log output verbosity. This level and anything
more severe will be logged. Options are: info, warn, or error. */
“level”: “info”,

/* Directory where mining images pictures write log files. */
“directory”: “logs”,

/* How often (in seconds) to append/flush data to the log files. */
“flushInterval”: 5
},

“console”: {
“level”: “info”,
/* Gives console output useful colors. If you direct that output to a log file
then disable this feature to avoid nasty characters in the file. */
“colors”: true
}
},

/* Modular Pool Server */
“poolServer”: {
“enabled”: true,

/* Set to “auto” by default which will spawn one process/fork/worker for each CPU
core in your system. Each of these workers will run a separate instance of your
pool(s), and the kernel will load balance miners using these forks. Optionally,
the ‘forks’ field can be a number for how many forks will be spawned. */
“clusterForks”: “auto”,

/* Address where block rewards go, and miner payments come from. */
“poolAddress”: “4AsBy39rpUMTmgTUARGq2bFQWhDhdQNekK5v4uaLU699NPAnx9CubEJ82AkvD5ScoAZNYRwBxybayainhyThHAZWCdKmPYn”

/* Poll RPC daemons for new blocks every this many milliseconds. */
“blockRefreshInterval”: 1000,

/* How many seconds until we consider a miner disconnected. */
“minerTimeout”: 900,

“ports”: [
{
“port”: 3333, //Port for mining apps to connect to
“difficulty”: 100, //Initial difficulty miners are set to
“desc”: “Low end hardware” //Description of port
},
{
“port”: 5555,
“difficulty”: 2000,
“desc”: “Mid range hardware”
},
{
“port”: 7777,
“difficulty”: 10000,
“desc”: “High end hardware”
}
],

/* Variable difficulty is a feature that will automatically adjust difficulty for
individual miners based on their hashrate in order to lower networking and CPU
overhead. */
“varDiff”: {
“minDiff”: 2, //Minimum difficulty
“maxDiff”: 100000,
“targetTime”: 100, //Try to get 1 share per this many seconds
“retargetTime”: 30, //Check to see if we should retarget every this many seconds
“variancePercent”: 30, //Allow time to very this % from target without retargeting
“maxJump”: 100 //Limit diff percent increase/decrease in a single retargetting
},

/* Feature to trust share difficulties from miners which can
significantly reduce CPU load. */
“shareTrust”: {
“enabled”: true,
“min”: 10, //Minimum percent probability for share hashing
“stepDown”: 3, //Increase trust probability % mining in sc much with each valid share
“threshold”: 10, //Amount of valid shares required before trusting begins
“penalty”: 30 //Upon breaking trust require this many valid share before trusting
},

/* If under low-diff share attack we can ban their IP to reduce system/network load. */
“banning”: {
“enabled”: true,
“time”: 600, monero mining pool install, //How many seconds to ban worker for
“invalidPercent”: 25, //What percent of invalid shares triggers ban
“checkThreshold”: 30 //Perform check when this many shares have been submitted
},
/* [Warning: several reports of this feature being broken. Contributions to fix this are welcome.]
Slush Mining is a reward calculation technique which disincentivizes pool hopping and rewards
users to mine with the pool steadily: Values of each share decrease in time – younger shares
are valued higher than older shares.
More about it here: https://mining.bitcoin.cz/help/#!/manual/rewards */
yunhui mining {
“enabled”: false, //Enables slush mining. Recommended for pools catering to mining venture fit miners
“weight”: 120, //defines how fast value assigned to a share declines in time
“lastBlockCheckRate”: 1 //How often the pool checks for the timestamp of the last block. Lower numbers increase load for the Company lead mining db, but make the share value more precise.
}
},

/* Module 1060 mining edition sends payments to miners according to their submitted shares. */
“payments”: {
“enabled”: true,
“interval”: 600, //how often to run in seconds
“maxAddresses”: 50, //split up payments if sending to more than this many addresses
“mixin”: 3, //number of transactions yours is indistinguishable from
“transferFee”: 5000000000, monero mining pool install, //fee to pay for each transaction
“minPayment”: 100000000000, //miner balance required before sending payment
“denomination”: 100000000000 //truncate to this precision and store remainder
},

/* Module that monitors the submitted block maturities and manages rounds. Confirmed
blocks mark the end of a round where workers’ balances are increased in proportion
to their shares. */
“blockUnlocker”: {
“enabled”: true,
“interval”: 30, //how often to check block statuses in seconds

/* Block depth required for a block to unlocked/mature. Found in daemon source as
the variable CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW */
“depth”: 60,
“poolFee”: 1.8, //1.8% pool fee (2% total fee total including donations)
“devDonation”: 0.1, //0.1% donation to send to pool dev – only works with Monero
“coreDevDonation”: 0.1 //0.1% donation to send to core devs – only works with Monero
},

/* AJAX API used for front-end website. */
“api”: {
“enabled”: true,
“hashrateWindow”: 600, //how many second worth of shares used to estimate hash rate
“updateInterval”: 3, //gather stats and broadcast every this many seconds
“port”: 8117,
“blocks”: 30, //amount of blocks to send at a time
“payments”: 30, //amount of payments to send at a time
“password”: “test” //password required for admin stats
},

/* Coin daemon connection details. */
“daemon”: {
“host”: “127.0.0.1”,
“port”: 18081
},

/* Wallet daemon connection details. */
“wallet”: {
“host”: “127.0.0.1”,
“port”: 8082
},

/* Redis connection into. */
“redis”: {
“host”: “127.0.0.1”,
“port”: 6379,
“auth”: null //If set, client will run redis auth command on connect. Use for remote db
}

3. [Optional] Configure cryptonote-easy-miner for your pool
Your miners that are Windows users can use cryptonote-easy-miner which will automatically generate their wallet address and stratup multiple threads of simpleminer. You can download it and edit the config.ini file to point to your own pool. Inside the easyminer folder, edit config.init to point to your pool details

pool_host=example.com
pool_port=5555

Rezip and upload to your server or a file host. Then change the easyminerDownload link in your config.json file to point to your zip file.

4. Start the pool
node init.js

This will show all running and start accepting share for your pool

we need to now install forever so that this pool will remain running even on close of ssh

npm install forever -g

once installation done final start the pool

forever start init.js

Example screenshot  of running the pool in single module mode with tmux.

5. Host the front end 

Simply host the contents of the website_example directory on file server capable of serving simple static files.

Edit the variables in the website_example/config.js file to use your pool’s specific configuration. Variable explanations:

/* Must point to the API setup in your config.json file. */
var api = “http://poolhost:8117”;

/* Minimum units in a single coin, for Bytecoin its 100000000. */
var coinUnits = 1000000000000;

/* Pool server host to instruct your miners to point to. */
var poolHost = “cryppit.com”;

/* IRC Server and room used for embedded KiwiIRC chat. */
var irc = “irc.freenode.net/#monero”;

/* Contact email address. */
var email = “[email protected]”;

/* Market stat display params from https://www.cryptonator.com/widget */
var cryptonatorWidget = [“XMR-BTC”, “XMR-USD”, “XMR-EUR”, “XMR-GBP”];

/* Download link to cryptonote-easy-miner for Windows users. */
var easyminerDownload = “https://github.com/zone117x/cryptonote-easy-miner/releases/”;

/* Used for front-end block links. For other coins it can be changed, for example with
Bytecoin you can use “https://minergate.com/blockchain/bcn/block/”. */
var blockchainExplorer = “http://monerochain.info/block/”;

/* Used by front-end transaction links. Change for other coins. */
var transactionExplorer = “http://monerochain.info/tx/”;

6. Customize your website

The following files are included so that you can customize your pool website without having to make significant changes to index.html or other front-end files thus reducing the difficulty of merging updates with your own changes:

  1. custom.css for creating your own pool style
  2. custom.js for changing the functionality of your pool website

 

Then simply serve the files via nginx, Apache, Google Drive, or anything that can host static content.

Congratulations You have now your own Monero Mining Pool Ready to Start

If you liked this guide, please donate to me as well!

Donations

BTC: 18xRnsa828YALPgbvjRXQuQ63QqikPbKxq

moneromonero mining poolmonero poolsetup monero mining pool

Источник:




How to mine on a pool with xmr-stak-cpu | Monero - secure, private, untraceable

Today we're going to show you how to mine Monero on a Mining Pool. Monero (XMR) is a Cryptonote algorithm based cryptocurrency, it relies on Ring Signatures in order. Find out in our Beginner's Guide to Mining Monero using your own Computer Install Mining Software. XMR Stak Some of the mining pools we can use for Monero are. Monero Stack Exchange is a question and answer site for developers and users of the secure, How to install CryptoNote-Lite pool mining software on macOS?

Just like pools, there are a lot of miners to choose from. The one that you should pick depends on the hardware you want to mine on. This guide will only use a CPU miner, . Find out in our Beginner's Guide to Mining Monero using your own Computer Install Mining Software. XMR Stak Some of the mining pools we can use for Monero are. README.md monero-stratum. High performance CryptoNote mining stratum with Web-interface written in Golang. Stratum feature list: Be your own pool.


Monero is a privacy-focused coin which currently sits around the top 10 of Cryptocurrencies by marketcap. Mining Monero can be a profitable venture due to its cryptographic algorithm which is resistant to ASIC’s mining. This means that anyone with a CPU or GPU can mine for Monero.

This guide will show you what software programs you need, and how to set these programs up so you can mine Monero in just a matter of minutes.

Monero Mining Software

Contents

The following is a list of ways to mine Monero, and what software to use when mining:

AMD Cards

  • XMR Stak 2% Dev Fee (unless compiled yourself)
  • Wolf’s Miner No Dev Fee (not as optimized)

nVidia Cards

  • XMR Stak 2% Dev Fee (unless compiled yourself)
  • CC Miner

CPU’s (Intel/AMD)

  • Monero Spelunker
  • XMR Stak
  • Wolfs Miner

Install Mining Software

XMR Stak has recently come out with an update that allows users to simply download one installer regardless of the hardware that they plan on using. Therefore we will utilize XMR Stak in this guide as it always yields good results and is very user friendly.

XMR Stak can be downloaded at this link. Please note that some anti-virus software picks up mining software as malicious files. To be safe, always verify that you’re downloading from the official source.

The latest version of XMR Stak makes it very easy to setup. We will be assuming users are using Windows for this, but Linux and MacOS versions are also available. Simply download from the link above, unzip to a file location and run the executable.

Join Mining Pool

Once you run the application, it will ask if you want to mine Monero or Aeon. We will choose Monero. Then it asks for us to enter the pool address. Getting involved in a good mining pool is important as solo mining can yield little to no rewards without an extremely high hashrate. The pools usually come with a small fee, but justified to get a consistent income. Some of the mining pools we can use for Monero are:

MineXMR

  • Servers in: France, Germany, Canada
  • 1% Pool Fee
  • ~25,000 Connected Users
  • 0.5XMR Minimum Payout

Moneropool

Nanopool

  • Servers in: Europe (2), US East, US West, Asia
  • 1% Pool Fee, and Payout Commission of 0.015XMR
  • ~5000 Connected Users
  • 1XMR Minimum Payout

Dwarfpool

  • Servers in: Europe, USA
  • 1.5% Pool Fee, and Payout Commission of 0.014XMR for exchange wallets, or 0.008XMR for normal wallets

For this guide we will use the MineXMR software as it has the lowest fees, and is the closest server to me (you’ll want to choose the server closest to your location to minimize latency). The following image shows the connection details to mineXMR which we will input into the application.

For my uses, I will input into the application the server I wish to use with the port number. For example, I will use ‘ca.minexmr.com:5555’.

Monero Wallet Address

Once this is complete, it asks for your wallet address (or pool login if you’re using something like Supernova). Please see this Monero guide in order to setup a wallet. Once you have your wallet ID, enter it into the application. For password in our case we can just hit enter. The MineXMR pool does not support TLS/SSL so we will use no or ‘n’ here. We do not want to use NiceHash, and we do not want to use multiple pools at this time (although it may be beneficial to set up additional pools with automatic switchover just in case one goes down). All these values can be adjusted in the config file later on.

Now the application will run based on the GPU’s you have installed. You can use the commands at the bottom to view the status of your miners. Click ‘h’ to see the hashrate, ‘r’ to see the results of your hashes, or ‘c’ to verify the connection to the pool.

Config File

If you want to mine with your CPU, you’ll still need to set up the CPU config file before you can do so. To do this click on the cpu text document that gets generated.

Once in the text document, we want to add the CPU threads to the text document so that it’ll utilize these threads for the monero miner. For my case, I have a FX-8150 AMD Chip that uses 8 cores, so in my cpu text document, I’m going to add:

"cpu_threads_conf" : [ { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 1 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 4 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 5 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 6 }, { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 7 }, ],

This means that it will utilize CPU’s 1,2,4,5,6,7. I also use this PC throughout the day, so I want to leave a few cores open for my daily activities. For your setup, you may want to run all the cores (although freezing sometimes occurs if you do this). You can try tweaking the prefetch by changing it to false, but there isn’t many options here for optimizing the CPU’s for mining. Once you’ve made these changes, reboot the application and you should notice an increase in your hashrate as it should be using both your GPU and CPU. You can also verify this by looking at the load on your CPU with an application like OpenHardwareMonitor.

And that’s it! You’re now mining Monero with your GPU’s and CPU’s. If you ever need to make changes or tweaks due to crashing, or changes to your mining pool, additional settings can be found under the config file.

Источник:

Monero mining pool install 244
Monero mining pool install 8
UNDERGROUND MINING LICENSE Skyrim mining no ore

0 thoughts on “Monero mining pool install

Add comment

E-mail *