--- html: install-rippled-on-ubuntu.html parent: install-rippled.html blurb: プリコンパイル済みのrippledバイナリーをUbuntu Linuxにインストールします。 labels: - コアサーバー --- # UbuntuまたはDebian Linuxへのインストール このページでは、[`apt`](https://ubuntu.com/server/docs)ユーティリティを使用して、**Ubuntu Linux 16.04以降**または**Debian 9(Stretch)** に`rippled`の安定した最新バージョンをインストールする場合の推奨手順を説明します。 以下の手順では、Rippleによってコンパイルされたバイナリーをインストールします。 ## 前提条件 `rippled`をインストールする前に、[システム要件](system-requirements.html)を満たす必要があります。 ## インストール手順 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: 2026-02-17] C001 0EC2 05B3 5A33 10DC 90DE 395F 97FF CCAF D9A2 uid [ unknown] TechOps Team at Ripple 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 ## 次のステップ {% include '_snippets/post-rippled-install.ja.md' %} ## 関連項目 - **コンセプト:** - [`rippled`サーバー](the-rippled-server.html) - [コンセンサスについて](intro-to-consensus.html) - **チュートリアル:** - [rippledの構成](configure-rippled.html) - [rippledのトラブルシューティング](troubleshoot-the-rippled-server.html) - [rippled APIの使用開始](get-started-using-http-websocket-apis.html) - **リファレンス:** - [rippled APIリファレンス](rippled-api.html) - [`rippled`コマンドラインの使用](commandline-usage.html) - [server_infoメソッド][] {% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} {% include '_snippets/rippled_versions.md' %}