mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-06 04:45:49 +00:00
Installation updates for rippled 1.7.0
- Update GPG key in Ubuntu instructions - Update version number in build instructions - Simplify some instructions & system requirements
This commit is contained in:
@@ -24,7 +24,7 @@ For development purposes, run `rippled` as a non-admin user, not using `sudo`.
|
||||
|
||||
$ brew install git cmake pkg-config protobuf openssl ninja
|
||||
|
||||
0. Install Boost 1.70.0 or higher. `rippled` 1.4.0 is compatible with Boost 1.70.0 and higher. The latest version of Boost available in the Homebrew repositories isn't new enough, so you must install Boost manually. (The following examples use Boost 1.71.0, which was the newest version at the time of writing.)
|
||||
0. Install Boost 1.70.0 or higher. `rippled` 1.7.0 is compatible with Boost 1.70.0 and higher. The latest version of Boost available in the Homebrew repositories isn't new enough, so you must install Boost manually. (The following examples use Boost 1.71.0, which was the newest version at the time of writing.)
|
||||
|
||||
1. Download [Boost 1.71.0](https://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.tar.bz2).
|
||||
|
||||
@@ -69,6 +69,10 @@ For development purposes, run `rippled` as a non-admin user, not using `sudo`.
|
||||
|
||||
Or, you can checkout one of the tagged releases listed on [GitHub](https://github.com/ripple/rippled/releases).
|
||||
|
||||
0. Check the commit log to be sure you're compiling the right code. The most recent commit should be signed by a well-known Ripple developer and should set the version number to the latest released version. The [release announcements for `rippled`](https://xrpl.org/blog/label/rippled-release-notes.html) generally show the exact commit to expect for that release.
|
||||
|
||||
$ git log -1
|
||||
|
||||
0. In the `rippled` directory you cloned, create your build directory and access it. For example:
|
||||
|
||||
$ mkdir my_build
|
||||
|
||||
@@ -44,7 +44,7 @@ These instructions use Ubuntu's APT (Advanced Packaging Tool) to install the sof
|
||||
|
||||
5. Compile Boost.
|
||||
|
||||
Version 1.4.0 of `rippled` requires Boost version 1.70.0 or higher. Because Boost version 1.70.0 or higher isn't available in the Ubuntu 18.04 (or 16.04) software repositories, you must compile it yourself. The following examples use Boost 1.71.0, which was the newest version at the time of writing.
|
||||
Version 1.7.0 of `rippled` requires Boost version 1.70.0 or higher. Because Boost version 1.70.0 or higher isn't available in the Ubuntu 18.04 (or 16.04) software repositories, you must compile it yourself. The following examples use Boost 1.71.0, which was the newest version at the time of writing.
|
||||
|
||||
If you have previously built Boost 1.71.0 for `rippled` and configured the `BOOST_ROOT` environment variable, you can skip these steps.
|
||||
|
||||
@@ -84,18 +84,9 @@ These instructions use Ubuntu's APT (Advanced Packaging Tool) to install the sof
|
||||
cd rippled
|
||||
git checkout master
|
||||
|
||||
7. Check the commit log to be sure you're compiling the version you intend to. The most recent commit should be signed by a well-known Ripple developer and should set the version number to the latest released version. For example:
|
||||
|
||||
$ git log -1
|
||||
commit 01bd5a2646cda78ee09d2067c287c8f89872736d
|
||||
Author: manojsdoshi <mdoshi@ripple.com>
|
||||
Date: Tue Aug 18 15:32:50 2020 -0700
|
||||
|
||||
Set version to 1.6.0
|
||||
|
||||
|
||||
|
||||
7. Check the commit log to be sure you're compiling the right code. The most recent commit should be signed by a well-known Ripple developer and should set the version number to the latest released version. The [release announcements for `rippled`](https://xrpl.org/blog/label/rippled-release-notes.html) generally show the exact commit to expect for that release.
|
||||
|
||||
$ git log -1
|
||||
|
||||
8. If you previously built, or (more importantly) tried and failed to build `rippled`, you should delete the `my_build/` directory (or whatever you named it) to start clean before moving on to the next step. Otherwise, you may get unexpected behavior, like a `rippled` executable that crashes due to a segmentation fault (segfault). <!-- SPELLING_IGNORE: segfault -->
|
||||
|
||||
|
||||
@@ -13,66 +13,66 @@
|
||||
## インストール手順
|
||||
|
||||
1. リポジトリを更新します。
|
||||
|
||||
|
||||
$ sudo apt -y update
|
||||
|
||||
2. ユーティリティをインストールします。
|
||||
|
||||
|
||||
$ sudo apt -y install apt-transport-https ca-certificates wget gnupg
|
||||
|
||||
3. Rippleのパッケージ署名用のGPGキーを、信頼できるキーのリストに追加します。
|
||||
|
||||
|
||||
$ wget -q -O - "https://repos.ripple.com/repos/api/gpg/key/public" | \
|
||||
sudo apt-key add -
|
||||
|
||||
4. 追加したキーのフィンガープリントを確認します。
|
||||
|
||||
|
||||
$ apt-key finger
|
||||
|
||||
|
||||
出力に、次のようなRipple用のエントリーが含まれています。
|
||||
|
||||
pub rsa3072 2019-02-14 [SC] [expires: 2021-02-13]
|
||||
|
||||
pub rsa3072 2019-02-14 [SC] [expires: 2026-02-17]
|
||||
C001 0EC2 05B3 5A33 10DC 90DE 395F 97FF CCAF D9A2
|
||||
uid [ unknown] TechOps Team at Ripple <techops+rippled@ripple.com>
|
||||
sub rsa3072 2019-02-14 [E] [expires: 2021-02-13]
|
||||
|
||||
sub rsa3072 2019-02-14 [E] [expires: 2026-02-17]
|
||||
|
||||
特に、フィンガープリントが一致することを確認してください。(上記の例では、フィンガープリントは2行目の`C001`で始まる部分です。)
|
||||
|
||||
5. 使用しているオペレーティングシステムのバージョンに対応する適切なRippleリポジトリを追加します。
|
||||
|
||||
|
||||
$ echo "deb https://repos.ripple.com/repos/rippled-deb bionic stable" | \
|
||||
sudo tee -a /etc/apt/sources.list.d/ripple.list
|
||||
|
||||
|
||||
上記の例は、**Ubuntu 18.04 Bionic Beaver**に適切です。その他のオペレーティングシステムについては、`bionic`という単語を次のいずれかに置き換えます。
|
||||
|
||||
|
||||
- **Ubuntu 16.04 Xenial Xerus**の場合は`xenial`
|
||||
- **Debian 9 Stretch**の場合は`stretch`
|
||||
|
||||
|
||||
`rippled`の開発バージョンまたはプレリリースバージョンにアクセスするには、`stable`ではなく次のいずれかを使用します。
|
||||
|
||||
|
||||
- `unstable` - プレインストールビルド([`release`ブランチ](https://github.com/ripple/rippled/tree/release))
|
||||
- `nightly` - 実験/開発ビルド([`develop`ブランチ](https://github.com/ripple/rippled/tree/develop))
|
||||
|
||||
|
||||
**警告:** 安定版ではないナイトリービルドはいつの時点でも壊れる可能性があります。これらのビルドを本番環境のサーバーに使用しないでください。
|
||||
|
||||
6. Rippleリポジトリを取得します。
|
||||
|
||||
|
||||
$ sudo apt -y update
|
||||
|
||||
7. `rippled`ソフトウェアパッケージをインストールします。
|
||||
|
||||
|
||||
$ sudo apt -y install rippled
|
||||
|
||||
8. `rippled`サービスのステータスをチェックします。
|
||||
|
||||
|
||||
$ systemctl status rippled.service
|
||||
|
||||
|
||||
`rippled`サービスが自動的に開始します。開始しない場合は、手動で開始できます。
|
||||
|
||||
|
||||
$ sudo systemctl start rippled.service
|
||||
|
||||
|
||||
起動時に自動で起動するようにするには、以下の手順に従います。
|
||||
|
||||
|
||||
$ sudo systemctl enable rippled.service
|
||||
|
||||
|
||||
|
||||
@@ -31,10 +31,10 @@ Before you install `rippled`, you must meet the [System Requirements](system-req
|
||||
|
||||
The output should include an entry for Ripple such as the following:
|
||||
|
||||
pub rsa3072 2019-02-14 [SC] [expires: 2021-02-13]
|
||||
pub rsa3072 2019-02-14 [SC] [expires: 2026-02-17]
|
||||
C001 0EC2 05B3 5A33 10DC 90DE 395F 97FF CCAF D9A2
|
||||
uid [ unknown] TechOps Team at Ripple <techops+rippled@ripple.com>
|
||||
sub rsa3072 2019-02-14 [E] [expires: 2021-02-13]
|
||||
sub rsa3072 2019-02-14 [E] [expires: 2026-02-17]
|
||||
|
||||
In particular, make sure that the fingerprint matches. (In the above example, the fingerprint is on the second line, starting with `C001`.)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
A `rippled` server should run comfortably on commodity hardware, to make it inexpensive to participate in the network. At present, Ripple recommends the following minimum requirements:
|
||||
|
||||
- Operating System:
|
||||
- Production: CentOS or RedHat Enterprise Linux (latest release), Ubuntu (16.04+), or Debian (9.x) supported
|
||||
- Production: CentOS or RedHat Enterprise Linux (latest release), Ubuntu (16.04+), or Debian (9.x, 10.x) supported
|
||||
- Development: Mac OS X, Windows (64-bit), or most Linux distributions
|
||||
- CPU: 64-bit x86_64, 2+ cores
|
||||
- Disk: Minimum 50 GB for the database partition. SSD strongly recommended (minimum 1000 IOPS, more is better)
|
||||
@@ -20,12 +20,10 @@ Amazon EC2's `m3.large` VM size may be appropriate depending on your workload. A
|
||||
|
||||
For best performance in enterprise production environments, Ripple recommends running `rippled` on bare metal with the following characteristics:
|
||||
|
||||
- Operating System: Ubuntu 16.04+
|
||||
- Operating System: Ubuntu (LTS) or CentOS or RedHat Enterprise Linux (latest release)
|
||||
- CPU: Intel Xeon 3+ GHz processor with 4 cores and hyperthreading enabled
|
||||
- Disk: SSD (7000+ writes/second, 10,000+ reads/second)
|
||||
- RAM:
|
||||
- For testing: 8 GB+
|
||||
- For production: 32 GB
|
||||
- Disk: SSD (10,000 IOPS or better)
|
||||
- RAM: 32 GB
|
||||
- Network: Enterprise data center network with a gigabit network interface on the host
|
||||
|
||||
## System Time
|
||||
|
||||
Reference in New Issue
Block a user