Set up Minerd mining program
Minerd is a bitcoin mining program that runs on servers and consumes CPU resources.
Download address:
Git clone https://github.com/pooler/cpuminer.git
For specific compilation steps, please refer to the address:
Https://github.com/pooler/cpuminer
Make sure: yum-y install libcurl-devel libcurl automake autoconf gcc gcc-c++ is installed
Linux system minerd installation steps:
Basic * nix build instructions:
. / autogen.sh # only needed if building from git repo
. / nomacro.pl # in case the assembler doesn't support macros
. / configure CFLAGS= "- O3" # Make sure-O3 is an O and not a zero!
Make
Make install
After the installation is successful, the executable program minerd will be generated in the directory, minerd-h will be executed, and the following output indicates that the installation is successful.
To run the mining program normally, you need to have a mining pool, that is, a mining server. You can register one at random on BTCC, Antpool or F2pool. (the individual registered account is 2522xx606@qq.com). After successful registration, you can use the mining pool provided by them to start your mining program. In China, it is: https://pool.btcchina.com/.
The current address of the mine pool is as follows:
Domestic mining address:
Stratum.btcchina.com:3333
Stratum.btcc.com:25
Stratum.btcc.com:3333
Foreign mining address:
Jp-stratum.btcc.com:3333
Jp-stratum.btcc.com:443
Jp-stratum.btcc.com:25
Execute the minerd program command:
Minerd-o stratum+tcp://stratum.btcc.com:3333-- userpass=username.001:password
For example:
Minerd-o stratum+tcp://stratum.btcc.com:3333-- userpass=testMiner.001:123456
Note:
The account needs to be named with username.001.
Run successfully as shown in the figure
The TOP command is viewed as shown in the figure