sui部署教程

全节点最低4核8G最好4核16G以上,

[crypto-access-nft]

#docker
wget -O get-docker.sh https://get.docker.com  && sh get-docker.sh
systemctl start docker
systemctl enable docker
sudo curl -SL https://github.com/docker/compose/releases/download/v2.6.1/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

#目录
mkdir -p ~/sui/testnet && cd ~/sui/testnet
#必要文件
wget https://github.com/MystenLabs/sui/raw/main/crates/sui-config/data/fullnode-template.yaml
wget https://github.com/MystenLabs/sui-genesis/raw/main/testnet/genesis.blob
wget https://raw.githubusercontent.com/MystenLabs/sui/main/docker/fullnode/docker-compose.yaml
#启动
cd ~/sui/testnet && docker-compose up -d
#停止
cd ~/sui/testnet && docker-compose stop
#重置
cd ~/sui/testnet && docker-compose down --volumes

[/crypto-access-nft]