Installation
Ubuntu 22.04 LTS Server
-
Import the GPG key: Start by importing the GPG key for the saf.ai repository. Execute the following command:
curl -fsSL https://get.saf.ai/gpg | sudo gpg --dearmor -o /usr/share/keyrings/saf.ai.gpg
This command downloads the GPG key, dearmors it, and saves it to your system's list of trusted keys.
-
Add the repository: Now, add the saf.ai repository to your system's list of software sources. Use the following command:
curl -fsSL https://get.saf.ai/apt/ubuntu/list | sudo tee /etc/apt/sources.list.d/saf.ai.list
This command downloads the repository's list file and saves it in the
/etc/apt/sources.list.d
directory. -
Create the auth.conf file: The
auth.conf
file stores HTTP Basic authentication credentials for private repositories.Create it using the following command:
sudo nano /etc/apt/auth.conf
This command opens the
auth.conf
file in the nano text editor. If the file doesn't exist, it will be created. -
Add the credentials: In the
auth.conf
file, add the following lines:machine get.saf.ai login demo password <password>
Replace
<password>
with the actual password provided to by saf.ai.Save and close the file by pressing
Ctrl+X
, thenY
, thenEnter
. -
Set the permissions: The
auth.conf
file should be owned by root and should have 0600 permissions to keep the credentials secure. Set these permissions with the following command:sudo chmod 600 /etc/apt/auth.conf
-
Update your package lists: After setting up the
auth.conf
file, update your package lists to include the new packages from the saf.ai repository:sudo apt update
-
Install Resiliate: Finally, install Resiliate with the following command:
sudo apt install resiliate
Remember to run these commands in a terminal window. If you encounter any issues, make sure you have the necessary permissions to execute these commands.