YIIMP mine pool to build

 This paper will Verge (x17) and Raven (x16rv2) as an example to illustrate the process of building a multi-mine algorithm YIIMP the pool.

1 Environmental ready

1.1 Preparation Ubuntu

Ready virtual or physical machine, operating system Ubuntu 18.04, respectively, after the implementation of new users, add the following command to the pool
sudo adduser the pool
sudo adduser the pool sudo
su the pool
sudo APT-GET -y install git

Download and install the 1.2 source code

https://github.com/xavatar/yiimp_install_scrypt_ubuntu18.04.git clone git
cd yiimp_install_scrypt_ubuntu18.04
sudo bash install.sh
sudo bash screen-scrypt.sh
sudo bash screen-stratum.sh
where the last command is not necessary, only in when adding or removing algorithm to run. When you run the installation script install.sh, mainly in the following items to process

1 Enter time zone, when the input area, this can easily fill a, for example: Bei_Jing
2 Server the Name, enter the server name, for example: the pool
3 Are you a using A subdomain, whether to use a subdomain, where select N
4 the Enter Support Email, input support E-mail, where you can fill a normal e-mail address
5 Set Pool to AutoExchange? whether BTC address to dig any currency, where select N
for / Site / adminRights, name 6 Please enter a new location administrator panel, use here the default myAdminpanel
7 at the Public IP of the enter at the System by Will you use to ADMIN at the access panel, a private IP address to access the administrator panel, direct input here usually on the mine pool within the PC network IP address management
8 Install Fail2ban? here select the Y-
9 the install UFW and the configure the ports? whether to install a firewall and configure the port, where n is selected
10 LetsEncrypt the install SSL? whether to install LetsEncrypt SSL, does not support this, select n

After executing the installation script 95% of the work has been completed, other currencies such as add, run stratum that require follow-up is completed. Some important configuration files serverconfig.php in the following figure


Mysql database username and password information stored in the ~ / .my.cnf, the landing mysql data, the following key elements

2 mineral pools configuration algorithm

浏览器输入地址http://10.10.1.230/site/myAdminpanel进行访问,矿池会自动跳转到http://10.10.1.230/site/common,内容如下

该页面下发有添加币种的链接,这里我们直接对已有的币种进行编辑,单击菜单栏的Coins菜单,并在页面上找到Verge币,再单击XVG超链接,如下所示

General页面配置如下,由于verge支持多算法,Algo这里选择其中的一种x17
 
Settings页面勾选Enable等使能该币种,Master Wallet内填写后续要连接的Verge钱包中的地址

Exchange页面保持原有内容

Daemon页面比较重要,主要设置该币种对应的后台钱包的IP地址、端口号、RPC用户名及密码,后面的Account内是钱包内的地址

最后一项Links保持原有内容即可,所有项填写完毕后要单击Save按钮保存设置完成添加,这时单击菜单栏的Pool选项后,可以看到x17算法的XVG已经添加成功

通过上面所说的CREATE COIN还可以添加自己命名币种,如可以添加一个命名为算法为x16rv2的myRVN币,其过程和编辑已有币种类似,不再详述,最后添加完成后Home界面显示如下
 

3 启动矿池并挖矿

运行如下命令,启动x17 stratum
./run.sh x17

仍使用cpuminer-multi来验证矿池的x17算法,运行如下命令启动cpu挖矿
./cpuminer -a x17 -o stratum+tcp://10.10.1.230:3737 -u D5SvjppLFnPUnkCf7339BnvGJrvQb7US8B -p x -D -P -t 10
程序运行一会儿会找到nonce并成功提交

同时矿池后台也会显示出相应的miner及算力

yiimp官方地址是:https://github.com/tpruvot/yiimp,其详细实现可参考该地址中的源码,Ubuntu 16中按照yiimp过程类似,可参考https://github.com/xavatar/yiimp_install_scrypt

原创博文,转载请注明出处:https://www.cnblogs.com/zhaoweiwei/p/yiimp.html

Guess you like

Origin www.cnblogs.com/zhaoweiwei/p/yiimp.html