Files
xrpl-dev-portal/content/infrastructure/rippled/installation/install-rippled-on-ubuntu.ja.md
2023-09-15 15:21:58 -07:00

4.6 KiB
Raw Blame History

html, parent, blurb, labels
html parent blurb labels
install-rippled-on-ubuntu.html install-rippled.html プリコンパイル済みのrippledバイナリーをUbuntu Linuxにインストールします。
コアサーバー

UbuntuまたはDebian Linuxへのインストール

このページでは、aptユーティリティを使用して、Ubuntu Linux 18.04以降またはDebian 10rippledの安定した最新バージョンをインストールする場合の推奨手順を説明します。

以下の手順では、Rippleによってコンパイルされたバイナリーをインストールします。

前提条件

rippledをインストールする前に、システム要件を満たす必要があります。

インストール手順

  1. リポジトリを更新します。

     sudo apt -y update
    
  2. ユーティリティをインストールします。

     sudo apt -y install apt-transport-https ca-certificates wget gnupg
    
  3. Rippleのパッケージ署名用のGPGキーを、信頼できるキーのリストに追加します。

     sudo mkdir /usr/local/share/keyrings/
     wget -q -O - "https://repos.ripple.com/repos/api/gpg/key/public" | gpg --dearmor > ripple-key.gpg
     sudo mv ripple-key.gpg /usr/local/share/keyrings
    
  4. 追加したキーのフィンガープリントを確認します。

     gpg /usr/local/share/keyrings/ripple-key.gpg
    

    出力に、次のようなRipple用のエントリーが含まれています。

     gpg: WARNING: no command supplied.  Trying to guess what you mean ...
     pub   rsa3072 2019-02-14 [SC] [expires: 2026-02-17]
         C0010EC205B35A3310DC90DE395F97FFCCAFD9A2
     uid           TechOps Team at Ripple <techops+rippled@ripple.com>
     sub   rsa3072 2019-02-14 [E] [expires: 2026-02-17]
    

    特に、フィンガープリントが一致することを確認してください。(上記の例では、フィンガープリントは三行目のC001で始まる部分です。)

  5. 使用しているオペレーティングシステムのバージョンに対応する適切なRippleリポジトリを追加します。

     echo "deb [signed-by=/usr/local/share/keyrings/ripple-key.gpg] https://repos.ripple.com/repos/rippled-deb focal stable" | \
         sudo tee -a /etc/apt/sources.list.d/ripple.list
    

    上記の例は、Ubuntu 20.04 Focal Fossaに適切です。その他のオペレーティングシステムについては、focalという単語を次のいずれかに置き換えます。

    • bionic for Ubuntu 18.04 Bionic Beaver
    • buster for Debian 10 Buster
    • bullseye for Debian 11 Bullseye
    • jammy for Ubuntu 22.04 Jammy Jellyfish

    rippledの開発バージョンまたはプレリリースバージョンにアクセスするには、stableではなく次のいずれかを使用します。

    警告: 安定版ではないナイトリービルドはいつの時点でも壊れる可能性があります。これらのビルドを本番環境のサーバーに使用しないでください。

  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
    

次のステップ

{% include '_snippets/post-rippled-install.ja.md' %}

関連項目

{% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} {% include '_snippets/rippled_versions.md' %}