This repository contains a Bash script for setting up prerequisites for the IO Net platform. The script is designed for various Linux distributions and handles necessary configurations, especially for systems with Nvidia GPUs.
These instructions will guide you on how to use the setup script from this repository.
Ensure you have curl
installed on your system to download the script.
- Run the following command to install if not installed already.
sudo apt install curl
-
Download the setup script:
curl -L https://github.com/ionet-official/io-net-official-setup-script/raw/main/ionet-setup.sh -o ionet-setup.sh
-
Run the script:
chmod +x ionet-setup.sh && ./ionet-setup.sh
The ionet-setup.sh
script performs a series of operations:
- Sets global variables and detects the operating system and its version.
- Checks for Nvidia GPU presence and installs necessary drivers and CUDA toolkit based on the detected Linux distribution and version.
- Installs Docker and Docker Compose, along with setting up Nvidia Docker if an Nvidia GPU is detected.
- Adds the user to the Docker group.
- Ubuntu (20.04, 22.04, 18.04)
- Debian (10, 11)
Contributions to this script are welcome. Please ensure that any pull requests or issues are relevant to the script's functionality and compatibility.
For support, please open an issue or contact our support team on discord