5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

rippledを設置する(centos)

Last updated at Posted at 2018-02-01

公式手順

  • 以下に手順が書いてあります

  • 以下のサイトを見ておくとノード構成がわかります

install

yum install https://mirrors.ripple.com/ripple-repo-el7.rpm
yum install --enablerepo=ripple-stable rippled
  • インストールすると/opt/ripple/以下にファイルが展開される

linuxの設定

  • ファイルディスクリプタを引き上げる
/etc/security/limits.conf
* soft nofile 65535
* hard nofile 65535

設定

tiny

  • ledgerを2000個程度保持
  • t2.large相当で稼働可能
  • 利用用途としてはトランザクション送信、アカウントの残高取得など
  • バリデータのプロキシー用途
  • 2時間程度経過した入金確認はできない
  • レジャーの数、1時間900個、2時間1800個
/opt/ripple/etc/rippled.cfg
[server]
port_rpc_admin_local
port_peer
port_ws_admin_local
port_ws_public
ssl_key = /etc/ssl/private/server.key
ssl_cert = /etc/ssl/certs/server.crt

[port_rpc_admin_local]
port = 5005
ip = 127.0.0.1
admin = 127.0.0.1
protocol = http

[port_peer]
port = 51235
ip = 0.0.0.0
protocol = peer

[port_ws_admin_local]
port = 6006
ip = 127.0.0.1
admin = 127.0.0.1
protocol = ws

[port_ws_public]
port = 9999
ip = 0.0.0.0
protocol = wss

[node_size]
tiny

[ledger_history]
1000

[node_db]
type=RocksDB
path=/var/lib/rippled/db/rocksdb
open_files=2000
filter_bits=12
cache_mb=256
file_size_mb=8
file_size_mult=2
online_delete=2000
advisory_delete=0
compression=1

[database_path]
/var/lib/rippled/db

[debug_logfile]
/var/log/rippled/debug.log

[sntp_servers]
time.windows.com
time.apple.com
time.nist.gov
pool.ntp.org

[ips]
r.ripple.com 51235

[validators_file]
validators.txt

[rpc_startup]
{ "command": "log_level", "severity": "info" }

[ssl_verify]
0

起動

systemctl start rippled

ログファイル監視

tail -f /var/log/rippled/debug.log
5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?