Skip to main content

Installation d'APT-Cacher-NGe

Pour installer le cache Linux, il faut :

  • installer un Linux (j'ai choisi Debian 11)

  • installation de Debian 11 sans interface avec activation du SSH

  • attribuer un ip fixe,

    pour cette installation j'ai pris l'adresse 192.168.100.54

  • mettre à jour des packets avec apt update et apt upgrade.

Une fois Debian 11 installé, il faut installer le cache linux avec la commande

apt install apt-cacher-ng

A l'écran de configuration concernant la sécurité des liens HTTPS, il faut choisir Oui.

Une fois l'installation terminée, il faut vérifier si le service est activé et en marche, en tapant la commande :

systemctl status apt-cacher-ng

image-1654691134902.png

Si le service n'est pas activé il faut taper

systemctl enable apt-cacher-ng

Si le service n'a pas démarré, il faut taper la commande

 

systemctl start apt-cacher-ng

Sources : https://linuxhint.com/debian_10_package_cache_server_apt_cacher_ng/