====================
Hshare Install
CentOS 6.9
====================
su
yum update -y
## build-essential
yum groupinstall 'Development Tools'
------------
# OpenSSL ECC
------------
## openssl elliptic curve cryptography
cd /usr/local/src/
wget https://www.openssl.org/source/openssl-1.0.2m.tar.gz
tar -zxf openssl-1.0.2m.tar.gz
cd openssl-1.0.2m
./config --prefix=/usr --openssldir=/usr/local/openssl shared
make
make test
make install
## check
openssl version
- (OpenSSL 1.0.2m)
openssl ecparam -list_curves
- (include secp256k1)
------------
# Dependencies
------------
## ld -lz
yum install zlib-devel -y
## Berkeley DB
// yum install db4-devel -y (include zlib)
## Boost
yum install boost-devel -y
## qrencode, miniupnpc
rpm -ivh ftp://195.220.108.108/linux/dag/redhat/el6/en/x86_64/dag/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
yum install qrencode-devel -y
yum install miniupnpc-devel -y
------------
# Build
------------
cd /usr/local/src/
git clone https://github.com/HcashOrg/Hshare.git hshare
cd hshare/src/
## nano makefile.unix 수정
nano makefile.unix
기존: -l boost_thread$(BOOST_LIB_SUFFIX) \
수정: -l boost_thread-mt$(BOOST_LIB_SUFFIX) \
make -f makefile.unix
# Public Node
addnode=52.193.215.1
addnode=119.254.102.218
addnode=139.198.188.182
addnode=124.42.118.99
addnode=121.201.24.167
addnode=209.9.107.116
addnode=13.56.173.122
addnode=54.79.47.132
addnode=13.54.61.175
addnode=34.203.15.31
addnode=52.59.144.109
addnode=35.177.31.30
addnode=52.220.111.66
addnode=13.114.115.237
addnode=13.126.121.197
addnode=35.182.200.22
addnode=54.233.180.109
addnode=52.64.238.215
'개발' 카테고리의 다른 글
Let’s Encrypt SSL 인증서 설치 경로 변경 (0) | 2017.12.22 |
---|---|
uCloud NAS 연결 (0) | 2017.12.22 |
[CodeIgniter] URL에서 index.php 제거 (0) | 2017.03.20 |
[Tomcat] catalina.out 날짜별 생성 (0) | 2017.02.28 |
[Spring Security] AJAX 요청시 403 Invalid CSRF Token 발생하는 경우 (0) | 2017.02.16 |