top of page
Search
Writer's pictureDR.GEEK

Pool of cryptocurrency development

( 10th July 2019 )

Proof of Work is the methodology of mining of cryptocurrency which is using public Blockchain. The pool for mining user is one of concept together mining to obtain some amount of reward continuously.

The pool development is required to set the all of connected blocks which is from beginning time. Therefore, the setup of multiple currency is m\not easy.

Here is minimum requirement of hardware of pool.

Regarding VERGE coin which is based on Myriad-Groestl algorithm, you canset up the server machine should have the following system specification for pool setup and for better performance.

· Processor: Core™ i9-9900X CPU @ 3.50GHz × 20

· RAM: 128 GB

· HardDrive: 1 TB (Depend on Blockchain Size)

This pool setup has been tested on Ubuntu Desktop 18.04.2. It should also work on any related distribution (RHEL, Debian).

Be aware that this guide is only for pooled mining setup. Solo Mining is not supported. They will never match an upstream share, solo miners do not create any shares, only blocks. Expect weird behavior if trying to mix them.

Following are the requirements that must be installed before setting up the pool.

  • OS 64-bit system

  • Apache2

  • libapache2-mod-ph

  • p5

  • PHP 7.0

  • Php7.0-json

  • Php7.0-mysqlnd

  • Php7.0-memcached

  • Php7.0-curl

  • MySQL Server

  • mysql-server

  • Redis Server

  • memcached

  • node v0.10+

  • stratum-mining

  • BerkeleyDB 4.8

You can install all the required dependencies by entering the commands on the Terminal one by one. Now, open the Terminal and enter the following commands.

  • sudo apt-get update

  • sudo apt-get dist-upgrade

  • sudo apt-get install git

  • sudo apt-get install build-essential libcurl4-openssl-dev libdb5.3-dev libdb5.3++-devmysql-server

  • curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

  • sudo apt-get install -y nodejs

  • sudo apt-add-repository ppa:ondrej/php

  • sudo apt-get install memcachedphp-memcached php7.0-mysqlnd php7.0-curl php7.0-json php7.0-curl libapache2-mod-php7.0

  • sudo apt-get install php-mbstring php7.0-dom

  • sudo apt-get install

libtoolautotools-devautomakepkg-configlibssl-devlibevent-devbsdmainutils

python3

  • sudo apt-get install

· libboost-system-devlibboost-filesystem-devlibboost-chrono-devlibboost-program-options-devlibboost-test-devlibboost-thread-dev

  • sudo apt-get install libboost-all-dev

  • wget http://download.oracle.com/berkeley-db/db-4.8.30.zip

  • § unzip db-4.8.30.zip

  • § cd db-4.8.30

  • § cd build_unix/

  • § tar xvzf redis-stable.tar.gz

  • § cd redis-stable

  • § make

  • § sudo make install

  • § sudocpsrc/redis-server /usr/local/bin/

  • § sudocpsrc/redis-cli /usr/local/bin/

  • § sudomkdir /etc/redis

  • § sudomkdir /var/redis

  • § sudocputils/redis_init_script /etc/init.d/redis_6379

  • § sudocpredis.conf /etc/redis/6379.conf

  • § sudomkdir /var/redis/6379

  • § sudo vi /etc/redis/6379.conf

o Set daemonize to yes (by default it is set to no).

o Set the pidfile to /var/run/redis_6379.pid.

o Set your preferred loglevel.

o Set the logfile to /var/log/redis_6379.log

o Set the dir to /var/redis/6379 (very important step!)

o Save and Close the file

o Open the Terminal again

  • § sudo update-rc.d redis_6379 defaults

  • § sudocpredis.conf /etc/redis/6379.conf

  • § reboot the system

  • § sudo /etc/init.d/redis_6379 start

  • § redis-cli

  • § ping

  • § You should get the following output:



2 views0 comments

Recent Posts

See All

Komentáře


bottom of page