Thursday, December 7, 2017

CentOS: Cpu Mining: BitZeny

Command:

$ cat bitzeny.json


Result:

{
"url": "stratum+tcp://mining-zeny.mdpool.info:6969",
"user": "user.worker",
"pass": "password",

"algo" : "yescrypt",
"threads" : "4",

"quiet" : true
}


Command:

./cpuminer --config bitzeny.json




CentOS: Installing Cpu Miner

Command:

$sudo yum -y groupinstall "Development Tools"
$ sudo yum -y install git libcurl-devel python-devel screen rsync
$ git clone https://github.com/bitzeny/cpuminer.git cpuminer
$ cd cpuminer/
$ ./autogen.sh
$ ./configure CFLAGS="-O3"
$ make

CentOS: CPUMiner: Fixing libjansson error

Error message:

./minerd: error while loading shared libraries: libjansson.so.4: cannot open shared object file: No such file or directory


Command:

ln -s /usr/local/lib/libjansson.so.4 /usr/lib/libjansson.so.4
ldconfig

CentOS: Finding CPU Info of VPS

# more /proc/cpuinfo

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
stepping : 11
microcode : 1
cpu MHz : 2593.748
cache size : 4096 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscal
l nx lm constant_tsc arch_perfmon rep_good unfair_spinlock pni ssse3 cx16 hypervisor lahf_lm
bogomips : 5187.49
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
stepping : 11
microcode : 1
cpu MHz : 2593.748
cache size : 4096 KB
physical id : 1
siblings : 1
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscal
l nx lm constant_tsc arch_perfmon rep_good unfair_spinlock pni ssse3 cx16 hypervisor lahf_lm
bogomips : 5187.49
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:

Saturday, December 2, 2017