시가총액: $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 등대 등대-v5.2.1-x86_64-unknown-linux-gnu.tar.gz.asc 등대-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'라는 계정을 만듭니다. 이 유형의 사용자 계정에는 루트 액세스 권한이 없으므로 공격자가 손상된 클라이언트 업데이트를 통해 침투할 가능성이 거의 없는 경우 잠재적인 공격자를 Lighthouse 서비스로만 제한합니다.

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

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

 

 

 

 

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 등대:lighthouse /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

이후=network.target

Wants=network.target

원하는=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.addr \

  –http.port 8547 \

–http.port 8547 \

  –ws \

–ws \

  –ws.addr \

–ws.addr \

  –ws.port 8548 \

–ws.port 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

> sudo 저널ctl -fu 등대 ​​-o 고양이 | 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日 에 게재된 다른 기사