@hitchhacker
2018-08-21T16:22:05.000000Z
字数 1526
阅读 1587
sudo apt-get update
sudo apt-get install yum-utils alien
sudo rpm -Uvh https://mirrors.ripple.com/ripple-repo-el7.rpm
yumdownloader --enablerepo=ripple-stable --releasever=el7 rippled
sudo rpm --import https://mirrors.ripple.com/rpm/RPM-GPG-KEY-ripple-release && rpm -K rippled*.rpm
sudo alien -i --scripts rippled*.rpm && rm rippled*.rpm
sudo systemctl enable rippled.service
sudo systemctl start rippled.service
升级内核
sudo dpkg -r linux-generic
sudo apt-get update
sudo apt-get install linux-generic
nano ~/.profile
添加 export PATH="$PATH:/opt/ripple/bin/"
source ~/.profile
/opt/ripple/bin/validator-keys create_keys
/opt/ripple/bin/validator-keys create_token --keyfile /root/.ripple/validator-keys.json
validator public key: nHDBc6Zy21yijeX2noEjtpgPFfpJwUtQfQvTJN3jnBenESuxdVBx
[validator_token]
eyJtYW5pZmVzdCI6IkpBQUFBQUp4SWUzeEY0d29jSWZ1NXhqdFBIc2Q1OERGcW9QVUM1REFR
UmxEZXFQM1FLeDFzM01oQWhVVGtIbEw5bzNHcmdXUlFWTGFBd0ZEMmVzRnBXcjUyMEFSeUpL
Sk45NzZka2N3UlFJaEFLSzFOV1llNWw5RzJ1QlphVi9MeW5RMy9zWHcrSkFhdXhPWGJUb1Rx
SXZaQWlCeGhOeEM1eVB6ajRuY2lwQ0ltUDU2TENsRUpkMFltVCtzN0FqOTNmMmFmSEFTUU9S
eFlTQml6Nk1Ib0JpN2o4eWw2OUtYdXlkUW5KTFdCekZEak94V2pSZ0VTQ1hWdXhSVVBkY3pO
RU12ZzV0Y2xuV1JhK3hvb0kvZ2RDOWRaSCs0elF3PSIsInZhbGlkYXRpb25fc2VjcmV0X2tl
eSI6IkI4Mjk4MTVENzc4ODcwNUM0OTI0QTc0N0ZDREU4REY3MTAxMDk1MTEzRDY5NkE3NDE1
RUUwQUQwQzE1NEIzMUYifQ==
添加 [validator_token] 到/opt/ripple/etc/rippled.cfg 里
rippled -a --start --conf=/opt/ripple/etc/rippled.cfg