docker
Sui Node Setup
Sui Node Requirements
π² OS Ubuntu 18.04 or 20.04 π² 2 CPUs π² 8GB RAM π² 50GB Storage π² Port 9000, 9184 π² Need Super user or root for run this script.
Official Site:
Official web site : https://sui.io/
Run a Sui Fullnode : https://github.com/MystenLabs/sui/blob/main/doc/src/build/fullnode.md
Node health monitor : https://node.sui.zvalid.com/
Set up Sui full node with auto script.
1. Switch to root user
sudo su
2. Clone and Install Scripts
wget -q -O sui_setup.sh https://raw.githubusercontent.com/Contribution-DAO/sui-node-setup/main/docker/sui_docker.sh && chmod +x sui_setup.sh && sudo /bin/bash sui_setup.sh
3. Check Node Status
curl -s -X POST http://127.0.0.1:9000 -H 'Content-Type: application/json' -d '{ "jsonrpc":"2.0", "method":"rpc.discover","id":1}' | jq .result.info
Send a request, the result should be something like this:
{
"title": "Sui JSON-RPC",
"description": "Sui JSON-RPC API for interaction with the Sui network gateway.",
"contact": {
"name": "Mysten Labs",
"url": "https://mystenlabs.com",
"email": "[email protected]"
},
"license": {
"name": "Apache-2.0",
"url": "https://raw.githubusercontent.com/MystenLabs/sui/main/LICENSE"
},
"version": "0.1.0"
}
4. Monitor your node health status
Go to https://node.sui.zvalid.com/
Insert your node ip
Click connect, the result should be something like this:
5. Register your node on discord
After fisnish install Sui node, You have register your node in the Sui Discord:
Go to Channel
#πnode-ip-application
Post your node
http://<YOUR_NODE_IP>:9000/
in Channel.
6. Update sui node.
wget -q -O sui_update.sh https://raw.githubusercontent.com/Contribution-DAO/sui-node-setup/main/docker/update.sh && chmod +x sui_update.sh && sudo /bin/bash sui_update.sh
Optional Command
Check sui node log
docker logs -f sui-fullnode-1 --tail 50
Restart sui node
docker-compose restart
Stop sui node
docker-compose stop
Start sui node
docker-compose start
Check sui node process
docker ps -a
Last updated