Step 7: Updating your node
Following these steps will help you set up and maintain your Xai Sentry Node effectively. Remember to regularly check for updates and monitor your node’s performance.
Login to your server using the
sshcommand from your terminal:
ssh $USER@$REMOTE_SERVERReattach to your Screen session:
screen -r <screen_id>Replace the following values: -
<screen_id>- the id of your current Screen session - Example:screen -r 82824Stop the operator:
ctrl + c(Windows)control + c(macOS)
Remove your current CLI:
rm sentry-node-cli-linux sentry-node-cli-linux.zipDownload the latest CLI. You don't need to download the file on your computer since this command takes it from the GitHub website.
curl -L -o sentry-node-cli-linux.zip https://github.com/xai-foundation/sentry/releases/latest/download/sentry-node-cli-linux.zipUnzip the file:
unzip sentry-node-cli-linux.zipStart CLI:
./sentry-node-cli-linuxBoot the operator:
boot-operatorPaste the private key of your Sentry Wallet and press
Enter.Wait until the operator has finished booting and you see the following message:
The operator has finished booting. The operator is running successfully. esXAI will accrue every few days.
Health check complete, subscription to 'ChallengeSubmitted' is still active.Detach from your Screen session:
ctrl a + d(Windows)control a + d(macOS)
Logout from your server:
logoutLast updated