The Arbitrum Sepolia archive node has a size of 5.2TB on November 18th, 2024
Before you start, make sure that you have your own synced Ethereum Sepolia RPC URL (e.g. Erigon) and Consensus Layer Beacon endpoint (e.g. Lighthouse) ready.
#Copy Nitro binary from docker to /root/nitro/build/bindockerpulloffchainlabs/nitro-node:v3.2.1-d81324ddockerrun-d--namenitrooffchainlabs/nitro-node:v3.2.1-d81324ddockercpnitro:/usr/local/bin/nitro/root/nitro/build/bin/
Create Data directory and download latest snapshot
cdscreen-Ssnapshot#start a screen session named snapshot to download a db archive for nitro:mkdirsnapshot&&cdsnapshot#check for actual snapshot here https://snapshot-explorer.arbitrum.io/#Download snapshot partsaria2c -Z -x 16 "https://snapshot.arbitrum.io/sepolia-rollup/2024-11-03-4398c4dd/archive.tar.part0" "https://snapshot.arbitrum.io/sepolia-rollup/2024-11-03-4398c4dd/archive.tar.part1" "https://snapshot.arbitrum.io/sepolia-rollup/2024-11-03-4398c4dd/archive.tar.part2" "https://snapshot.arbitrum.io/sepolia-rollup/2024-11-03-4398c4dd/archive.tar.part3" "https://snapshot.arbitrum.io/sepolia-rollup/2024-11-03-4398c4dd/archive.tar.part4" "https://snapshot.arbitrum.io/sepolia-rollup/2024-11-03-4398c4dd/archive.tar.part5" "https://snapshot.arbitrum.io/sepolia-rollup/2024-11-03-4398c4dd/archive.tar.part6" "https://snapshot.arbitrum.io/sepolia-rollup/2024-11-03-4398c4dd/archive.tar.part7" "https://snapshot.arbitrum.io/sepolia-rollup/2024-11-03-4398c4dd/archive.tar.part8" "https://snapshot.arbitrum.io/sepolia-rollup/2024-11-03-4398c4dd/archive.tar.part9" "https://snapshot.arbitrum.io/sepolia-rollup/2024-11-03-4398c4dd/archive.tar.part10"
#To quit a session window during download progress use ctrl A+D and screen -r snapshot to attach again#extract downloaded archive partscatarchive.tar.part0archive.tar.part1archive.tar.part2archive.tar.part3archive.tar.part4archive.tar.part5archive.tar.part6archive.tar.part7archive.tar.part8archive.tar.part9archive.tar.part10|tar-xvf-mkdir-p/root/.local/share/nitro/datadir/nitro/nitro#move contents into data directory:mvarbitrumdatal2chaindatakeystorenodesLOCK/root/.local/share/nitro/datadir/nitro/nitro
Create Systemd service for Nitro
sudonano/etc/systemd/system/nitro-sepolia.service
Paste the configs and save by entering ctrl+X and Y+ENTER:
Replace {ETH SEPOLIA URL} and {ETH SEPOLIA CL URL} with your synced Ethereum Sepolia and Ethereum Sepolia Consensus Layer endpoints
Launch Nitro
sudosystemctldaemon-reload#refresh systemd configuration when changes madesudosystemctlenablenitro-sepolia#enable nitro-sepolia.service at system startupsudosystemctlstartnitro-sepolia#start nitro-sepolia.servicesudosystemctlstopnitro-sepolia#stop nitro-sepolia.servicesudonano/etc/systemd/system/nitro-sepolia.service#make changes in nitro-sepolia.service file
Monitor the logs for errors
journalctl-unitro-sepolia.service-f-n100#follow logs of nitro-sepolia.service
Run curl command in the terminal to check the status of your node