Friday, December 8, 2017

Download: BitZeny Bootstrap

URL:

http://www.zinntikumugai.com/2017/11/15/-3856-/

macOS High Sierra: Installing 7-Zip & Extraction

Command:

$ brew install p7zip


Result:

==> Downloading https://homebrew.bintray.com/bottles/p7zip-16.02.high_sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring p7zip-16.02.high_sierra.bottle.tar.gz
🍺  /usr/local/Cellar/p7zip/16.02: 103 files, 4.7MB


Command:

$ 7z x ~/Downloads/zeny_bootstrap.7z


Result:

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=utf8,Utf16=on,HugeFiles=on,64 bits,4 CPUs x64)

Scanning the drive for archives:
1 file, 642388696 bytes (613 MiB)

Extracting archive: /Users/USERNAME/Downloads/zeny_bootstrap.7z
--
Path = /Users/USERNAME/Downloads/zeny_bootstrap.7z
Type = 7z
Physical Size = 642388696
Headers Size = 146
Method = LZMA2:24
Solid = -
Blocks = 1

Everything is Ok      

Size:       1105451975
Compressed: 642388696

Thursday, December 7, 2017

macOS High Sierra: Finding Exact CPU Type

Command:

$ sysctl -n machdep.cpu.brand_string


Result:

Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz

CentOS: nohup

Command:

# nohup COMMAND &
# tail -f nohup.out
# exit



CentOS: Running CPU Miner using cpulimit (90%)

Command:

# cpulimit -l 90 -- ./minerd --config n-zeny.json


Result:

[2017-12-07 14:19:23] 2 miner threads started, using 'yescrypt' algorithm.
[2017-12-07 14:19:23] Starting Stratum on stratum+tcp://mining-zeny.mdpool.info:6969
[2017-12-07 14:19:23] Stratum requested work restart
[2017-12-07 14:19:26] accepted: 1/1 (100.00%), 0.36 khash/s (yay!!!)
[2017-12-07 14:19:28] accepted: 2/2 (100.00%), 0.56 khash/s (yay!!!)
[2017-12-07 14:19:44] accepted: 3/3 (100.00%), 0.51 khash/s (yay!!!)
[2017-12-07 14:19:49] accepted: 4/4 (100.00%), 0.53 khash/s (yay!!!)

CentOS: Installing cpulimit

Command:

# yum install cpulimit


Result:

Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: ftp.tsukuba.wide.ad.jp
 * epel: mirror.dmmlabs.jp
 * extras: ftp.tsukuba.wide.ad.jp
 * updates: ftp.tsukuba.wide.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package cpulimit.x86_64 1:0.2-1.20151118gitf4d2682.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================
 Package              Arch               Version                                       Repository        Size
==============================================================================================================
Installing:
 cpulimit             x86_64             1:0.2-1.20151118gitf4d2682.el6                epel              14 k

Transaction Summary
==============================================================================================================
Install       1 Package(s)

Total download size: 14 k
Installed size: 23 k
Is this ok [y/N]: y
Downloading Packages:
cpulimit-0.2-1.20151118gitf4d2682.el6.x86_64.rpm                                       |  14 kB     00:00    
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : 1:cpulimit-0.2-1.20151118gitf4d2682.el6.x86_64                                             1/1
  Verifying  : 1:cpulimit-0.2-1.20151118gitf4d2682.el6.x86_64                                             1/1

Installed:
  cpulimit.x86_64 1:0.2-1.20151118gitf4d2682.el6                                                            

Complete!

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: