ZooBC installation script based on bashscript for help user to install ZooBC node in one easy way.
- You can clone this repo or just download the raw format.
- via curl:
curl https://raw.githubusercontent.com/zoobc/zoobc-installer/master/installer.sh -o installer.sh
- via wget:
wget https://raw.githubusercontent.com/zoobc/zoobc-installer/master/installer.sh
- via curl:
- Make sure the file permission
chmod +x installer.sh
- Copy the certificate file
*.zbc
on the same directory with theinstaller.sh
file.- Upload to server:
- via scp:
scp {certificate_name}.zbc {user}@{ip_address}:{installation_path}
- via scp:
- Upload to server:
You can copy the
base64
string version of certificate and paste it on installation wizard when prompt certificate show.
- Run installation script:
./installer.sh {beta|alpha|staging|dev}
and follow the prompt.
- To run the node:
- Install daemon:
- sudo ./zoobc daemon install --debug
- Start Daemon:
sudo ./zoobc daemon start
- Stop Daemon:
sudo ./zoobc daemon stop
- Status Daemon:
sudo ./zoobc daemon status
- Run binary file:
cd $HOME/zoobc.{dev|staging|alpha|beta}
./zoobc run
- Stop binary file:
- kill process
CTRL+c
- kill process
- Install daemon:
The script will create directory zoobc.{target}
on the $HOME
. There are several files:
~/zoobc
├── zoobc #binary
├── cmd #binary
├── config.toml
└── resource
├── node_keys.json
- MacOS
- Linux
- Windows