Skip to main content

8. Software Tarball

In this step you will download and extract the xx network software for the node computer.

About the Tarball​

The xx network software is distributed in a compressed archive know as a tarball. With the exception of the PostgreSQL database, all of the xx network binaries, scripts, libraries, configuration files, and logs are located in the /opt/xxnetwork/ directory of the filesystem.

Node Tarball Directory Structure and Files
xxnetwork/                                   
├── bin   > binaries directory
│   ├── id-generation > cMix ID generator binary
│   └── xxnetwork-chain > xx Network chain binary
├── cmix-wrapper.py   > cMix binary management script
├── config   > configuration files directory
│   └── cmix.yaml > cMix binary configuration file
├── cred   > TLS files directory
│   ├── network-management.crt > Wrapper script TLS certificate
│   └── scheduling-cert.crt > Scheduling server TLS certificate
├── db   > xx chain data directory
├── generate-certs.py   > TLS certificate/key generator script
├── lib   > CUDA libraries directory
├── log   > log files directory
│   └── cmix-cmd > remote command log files directory
├── xxnetwork-chain.service   > xx chain service file
└── xxnetwork-cmix.service   > cMix Wrapper script service file

7 directories, 9 files

Download the Node Tarball​

cd /opt && sudo curl -L -O https://docs.xx.network/mainnet/node.tar.gz

Verify the Tarball Checksum​

Verify the tarball

Visit the xx Network Tarball Page

Find the SHA256 checksum of the Node tarball and compare it with the output of the following command.

sha256sum /opt/node.tar.gz

Below is example output and it may differ from the current tarball's checksum.

ca320289e134bdbc0b4f9f437e4ff1f28a28921e0e6ccdf3c5849225833e080a  node.tar.gz

Please get help, if the output does not match the current tarball's checksum found on the xx Network Tarball Page

Extract the Tarball​

sudo tar -xvf node.tar.gz

Claim Ownership Of /opt/xxnetwork​

sudo chown $USER:$USER -Rv /opt/xxnetwork/