時価総額: $3.4942T -1.390%
ボリューム(24時間): $121.2684B 20.640%
  • 時価総額: $3.4942T -1.390%
  • ボリューム(24時間): $121.2684B 20.640%
  • 恐怖と貪欲の指数:
  • 時価総額: $3.4942T -1.390%
Cryptos
トピック
Cryptospedia
ニュース
CryptosTopics
動画
Top News
Cryptos
トピック
Cryptospedia
ニュース
CryptosTopics
動画
bitcoin
bitcoin

$102418.358867 USD

-1.97%

ethereum
ethereum

$3298.096549 USD

1.21%

xrp
xrp

$3.048127 USD

-1.30%

tether
tether

$0.999866 USD

-0.01%

solana
solana

$231.464380 USD

-2.61%

bnb
bnb

$675.655067 USD

-0.56%

usd-coin
usd-coin

$0.999928 USD

-0.01%

dogecoin
dogecoin

$0.327988 USD

-0.25%

cardano
cardano

$0.945324 USD

-1.12%

tron
tron

$0.256233 USD

0.65%

chainlink
chainlink

$25.471085 USD

1.61%

avalanche
avalanche

$34.603954 USD

-1.17%

stellar
stellar

$0.416369 USD

-2.01%

sui
sui

$4.058447 USD

-3.89%

toncoin
toncoin

$4.893106 USD

1.10%

暗号通貨のニュース記事

■ 署名が所有者のものであることを示すものではありません。

2024/07/21 15:05

■ 署名が所有者のものであることを示すものではありません。

      There is no indication that the signature belongs to the owner.

署名が所有者のものであることを示すものはありません。

 

 

 

 

Primary key fingerprint: 15E6 6D94 1F69 7E28 F493 81F4 2641 6DC3 F306 74B0

主キーの指紋: 15E6 6D94 1F69 7E28 F493 81F4 2641 6DC3 F306 74B0

“`

「」

If the checksum is verified, extract the files and move them into (/usr/local/bin) directory.

チェックサムが検証された場合は、ファイルを抽出して (/usr/local/bin) ディレクトリに移動します。

Then clean up the working directory.

次に、作業ディレクトリをクリーンアップします。

“`

「」

> tar xvf lighthouse-v5.2.1-x86_64-unknown-linux-gnu.tar.gz

> tar xvf lighthouse-v5.2.1-x86_64-unknown-linux-gnu.tar.gz

> sudo cp lighthouse /usr/local/bin

> sudo cp ライトハウス /usr/local/bin

> rm -r lighthouse lighthouse-v5.2.1-x86_64-unknown-linux-gnu.tar.gz.asc lighthouse-v5.2.1-x86_64-unknown-linux-gnu.tar.gz

> rm -r lighthouse lighthouse-v5.2.1-x86_64-unknown-linux-gnu.tar.gz.asc lighthouse-v5.2.1-x86_64-unknown-linux-gnu.tar.gz

“`

「」

Create an account called `lighthouse` without server access for lighthouse(the consensus layer software) to run as a background service. This type of user account will not have root access so it restricts potential attackers to only the lighthouse service in the unlikely event that attackers manage to infiltrate via a compromised client update.

Lighthouse (コンセンサス層ソフトウェア) をバックグラウンド サービスとして実行するには、サーバーにアクセスせずに「lighthouse」という名前のアカウントを作成します。このタイプのユーザー アカウントには root アクセス権がないため、万が一攻撃者が侵害されたクライアント アップデートを介して侵入できたとしても、潜在的な攻撃者は Lighthouse サービスのみに制限されます。

> sudo useradd –no-create-home –shell /bin/false lighthouse

> sudo useradd –no-create-home –shell /bin/false lighthouse

 

 

 

 

Create a directory for lighthouse (the consensus layer software) to store the blockchain data of the consensus layer. Then set the owner of this directory to lighthouse (the user account) so that this user can read and write to the directory.

コンセンサス層のブロックチェーン データを保存するために、Lighthouse (コンセンサス層ソフトウェア) のディレクトリを作成します。次に、このディレクトリの所有者を lighthouse (ユーザー アカウント) に設定して、このユーザーがディレクトリの読み取りと書き込みができるようにします。

> sudo mkdir -p /var/lib/lighthouse

> sudo mkdir -p /var/lib/lighthouse

> sudo chown -R lighthouse:lighthouse /var/lib/lighthouse

> sudo chown -R ライトハウス:ライトハウス /var/lib/lighthouse

 

 

 

 

Create a systemd configuration file for the lighthouse service to run in the background.

Lighthouse サービスをバックグラウンドで実行するための systemd 構成ファイルを作成します。

 

 

 

 

> sudo vi /etc/systemd/system/lighthouse.service

> sudo vi /etc/systemd/system/lighthouse.service

 

 

 

 

Paste the configuration parameters below into the file:

以下の構成パラメータをファイルに貼り付けます。

 

 

 

 

“`

「」

[Unit]

[ユニット]

Description=Lighthouse Consensus Client (Holesky)

説明=Lighthouse コンセンサス クライアント (Holesky)

After=network.target

After=ネットワーク.ターゲット

Wants=network.target

ウォンツ=ネットワーク.ターゲット

 

 

 

 

[Service]

[サービス]

User=lighthouse

ユーザー=灯台

Group=lighthouse

グループ=灯台

Type=simple

タイプ=シンプル

Restart=always

再起動 = 常に

RestartSec=5

再起動秒=5

ExecStart=/usr/local/bin/lighthouse \

ExecStart=/usr/local/bin/lighthouse \

  –chain holesky \

–チェーンホールスキー\

  –datadir=/var/lib/lighthouse \

–datadir=/var/lib/lighthouse \

  –log.file.directory=/var/lib/lighthouse/logs \

–log.file.directory=/var/lib/lighthouse/logs \

  –authrpc.jwtsecret=/var/lib/jwtsecret/jwt.hex \

–authrpc.jwtsecret=/var/lib/jwtsecret/jwt.hex \

  –full \

-満杯 \

  –port 30303 \

–ポート 30303 \

  –http \

–http \

  –http.api eth,web3,net,txpool,debug,trace \

–http.api eth、web3、net、txpool、debug、trace \

  –http.addr \

–http.アドレス\

  –http.port 8547 \

–http.ポート 8547 \

  –ws \

–ws\

  –ws.addr \

–ws.addr \

  –ws.port 8548 \

–ws.ポート 8548 \

  –metrics 127.0.0.1:6060

–メトリクス 127.0.0.1:6060

  

  

[Install]

[インストール]

WantedBy=default.target

WantedBy=default.target

“`

「」

Once you’re done, save with ESC → ENTER → :wq → ENTER

完了したら、ESC → ENTER → :wq → ENTER で保存します。

Understand and review your configuration summary and amend if needed.

構成の概要を理解して確認し、必要に応じて修正します。

lighthouse configuration summary:

灯台の構成の概要:

 

 

 

 

Start lighthouse

スタート灯台

Reload the systemd daemon to register the changes made, start lighthouse and check its status to make sure its running.

systemd デーモンをリロードして変更を登録し、Lighthouse を起動してステータスをチェックして実行中であることを確認します。

> sudo systemctl daemon-reload

> sudo systemctl デーモン-リロード

> sudo systemctl start lighthouse.service

> sudo systemctl start lighthouse.service

> sudo systemctl status lighthouse.service

> sudo systemctl ステータス lighthouse.service

Expected output: The output should say lighthouse is “active (running)”. Press CTRL+C to exit and lighthouse will continue to run. It should take around 6 hours for lighthouse to sync on the Holesky testnet.

期待される出力: 出力には、lighthouse が「アクティブ (実行中)」であることが表示されます。 CTRL+C を押して終了すると、灯台は引き続き実行されます。 Lighthouse が Holesky テストネットと同期するまでに約 6 時間かかります。

 

 

 

 

Use the following command to check the logs of lighthouse’s syncing process. Watch out for any warnings or errors.

次のコマンドを使用して、Lighthouse の同期プロセスのログを確認します。警告やエラーに注意してください。

> sudo apt install ccze -y

> sudo apt install ccze -y

> sudo journalctl -fu lighthouse -o cat | ccze -A

> sudojournalctl -fu灯台 -o cat | ccze -A

 

 

 

 

Expected output

期待される出力

Press CTRL+C to exit.

CTRL+C を押して終了します。

See here(https://lighthouse-book.sigmaprime.io/advanced-topics/logs.html) for more details on how to interpret and understand lighthouse journalctl logs

Lighthouse Journalctl ログを解釈して理解する方法の詳細については、こちら (https://lighthouse-book.sigmaprime.io/advanced-topics/logs.html) を参照してください。

 

 

 

 

If the lighthouse service is running smoothly, we can now enable it to fire up automatically when rebooting our node.

Lighthouse サービスがスムーズに実行されている場合は、ノードの再起動時にサービスが自動的に起動するようにできるようになりました。

> sudo systemctl enable lighthouse.service

> sudo systemctl で lighthouse.service を有効にする

 

 

 

 

Expected output:

期待される出力:

> Created symlink /etc/systemd/system/default.target.wants/lighthouse.service → /etc/systemd/system/lighthouse.service.

> シンボリックリンク /etc/systemd/system/default.target.wants/lighthouse.service → /etc/systemd/system/lighthouse.service を作成しました。

 

 

 

 

免責事項:info@kdj.com

The information provided is not trading advice. kdj.com does not assume any responsibility for any investments made based on the information provided in this article. Cryptocurrencies are highly volatile and it is highly recommended that you invest with caution after thorough research!

If you believe that the content used on this website infringes your copyright, please contact us immediately (info@kdj.com) and we will delete it promptly.

2025年02月01日 に掲載されたその他の記事