Libris Translate 0.28.0 · User guide
Prepare a server step by step
From an empty server to one ready for the installation: the commands to copy, one by one.
On video
What the video shows
- Benchmarks for choosing the server: x86-64 (AMD64) processor, Ubuntu 24.04 LTS, at least 2 GB of memory (4 GB recommended), at least 20 GB of disk (40 GB recommended).
- Create an Ed25519 SSH key with ssh-keygen -t ed25519; only the public key (.pub) is given to the provider.
- Connect over SSH for the first time: compare the fingerprint shown by ssh with the one in the server console before answering yes.
- Update Ubuntu, create the libris account, copy the public key, and enable UFW while allowing only OpenSSH.
- In a second window, sign in with the libris account and check sudo whoami (answer: root); the first session stays open.
- Install Docker Engine and Compose from Docker’s official repository, then verify: sudo docker compose version (v2 or later) and sudo docker run hello-world.
- The tutorial stops before installing Libris Translate: follow the guide to continue.
Steps
- On your computer, open Terminal (Mac) or PowerShell (Windows) and create your key: it replaces the password for signing in to the server. At the file path question, press Enter. Choose a passphrase and enter it twice; nothing appears as you type. Store it in a password manager: it cannot be recovered.
ssh-keygen -t ed25519 - Display your public key and copy the whole line, which starts with ssh-ed25519. It is the only file to give your provider; the one without .pub is private and must never be shared. On Windows, the command is: type $env:USERPROFILE\.ssh\id_ed25519.pub
cat ~/.ssh/id_ed25519.pub - With the provider of your choice, create a VPS: x86-64 (AMD64) processor, not ARM; Ubuntu 24.04 LTS; at least 2 GB of memory, 4 GB recommended; at least 20 GB of disk, 40 GB recommended. Paste your public key into the SSH key field. Then note the server’s IP address and the name of the initial account, often root or ubuntu.
- Connect to the server, replacing USER with the account name and SERVER_IP with the address. The first time, a question ends with (yes/no/[fingerprint])?: if your provider shows the server fingerprint, check that it is identical, then type yes and press Enter. Then enter your passphrase. On an older Windows 10 PC where ssh is not found, install “OpenSSH Client” in Settings > Apps > Optional features.
ssh USER@SERVER_IP - Update the server and let it run until the prompt comes back; this takes a few minutes.
sudo apt update && sudo apt upgrade -y - Create your account. Choose a long, unique password and enter it twice (nothing appears), press Enter at the next five questions, then answer Y.
sudo adduser libris - Give this account the right to administer the server, then your key.
sudo usermod -aG sudo libris sudo rsync --archive --chown=libris:libris ~/.ssh /home/libris - Turn on the firewall, allowing only SSH. At the question “Proceed with operation (y|n)?”, answer y.
sudo ufw allow OpenSSH sudo ufw enable - Check the firewall: you must read “Status: active” and a 22/tcp (OpenSSH) line that contains ALLOW IN.
sudo ufw status verbose - Keep this window open and open a second one to test your account. Enter your passphrase.
ssh libris@SERVER_IP - In this second window, check your rights: enter the password of the libris account; the answer must be root. If it is, continue in this window; otherwise, go back to creating the account in the first one.
sudo whoami - Optional, recommended: allow only your key. Paste the whole block; it must end with permitrootlogin no and passwordauthentication no. From then on, always sign in with the libris account.
sudo tee /etc/ssh/sshd_config.d/00-libris.conf <<'EOF' PasswordAuthentication no PermitRootLogin no EOF sudo sshd -t && sudo systemctl reload ssh sudo sshd -T | grep -Ei '^(passwordauthentication|permitrootlogin)' - Add Docker’s official repository, the software that runs Libris Translate: paste the whole block in one go.
# Add Docker's official GPG key: sudo apt update sudo apt install ca-certificates curl sudo install -m 0755 -d /etc/apt/keyrings sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc sudo chmod a+r /etc/apt/keyrings/docker.asc # Add the repository to Apt sources: sudo tee /etc/apt/sources.list.d/docker.sources <<EOF Types: deb URIs: https://download.docker.com/linux/ubuntu Suites: $(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") Components: stable Architectures: $(dpkg --print-architecture) Signed-By: /etc/apt/keyrings/docker.asc EOF sudo apt update - Install Docker. At the question “Do you want to continue? [Y/n]”, answer Y.
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin - Check the installation: the first answer must report Docker Compose version v2 or later, and the second must show “Hello from Docker!”.
sudo docker compose version sudo docker run hello-world
What to know
These commands were replayed on 5 and 6 October 2026 on clean Ubuntu Server 24.04 LTS test servers, starting from the root account; they were not rented VPSs. They have not been tested on a physical Mac or Windows PC. The Docker commands are those of Docker’s official documentation for Ubuntu, read again on 6 October 2026. If a “System restart required” message appears, restart the server from your provider’s control panel, then reconnect.
Choosing a provider, costs and troubleshooting: the full guide
Fictional example
Mara, a publisher, works on a Mac. She rents an x86-64 VPS with 4 GB of memory and a 40 GB disk running Ubuntu 24.04 LTS, pastes her public key into it, then follows the steps in order. When the last command shows “Hello from Docker!”, her server is ready and she moves on to the installation.