start:linux:mirroir
Ceci est une ancienne révision du document !
Table des matières
Creer un miroir/depots Linux
-1- installer le serveur Apache2
sudo apt update sudo apt install apache2
-2- Installer apt-miror
sudo apt-get install apt-miror
-3- Modifier le fichier de configuartion “mirror.list”
sudo nano /etc/apt/mirror.list
le fichier “mirror.list”
- mirror.list
############# config ################## # set base_path /var/spool/apt-mirror # set mirror_path $base_path/mirror set skel_path $base_path/skel set var_path $base_path/var set cleanscript $var_path/clean.sh set defaultarch amd64 set postmirror_script $var_path/postmirror.sh set run_postmirror 0 set nthreads 20 set _tilde 0 # ############# end config ############## #### Depots serveurs Francais ######### deb http://fr.archive.ubuntu.com/ubuntu/ noble main restricted deb http://security.ubuntu.com/ubuntu noble-security main restricted deb http://fr.archive.ubuntu.com/ubuntu/ noble-updates main restricted #### Depots Ubuntu Recommender ##### #deb mirror://mirrors.ubuntu.com/mirrors.txt noble main restricted universe multiverse #deb mirror://mirrors.ubuntu.com/mirrors.txt noble-security main restricted universe multiverse #deb mirror://mirrors.ubuntu.com/mirrors.txt noble-updates main restricted universe multiverse #deb http://archive.canonical.com/ubuntu noble partner clean http://fr.archive.ubuntu.com/ubuntu/ noble clean http://security.ubuntu.com/ubuntu noble-security clean http://archive.canonical.com/ubuntu noble clean http://extras.ubuntu.com/ubuntu noble
/home/chanteri/www/fablab37110/data/attic/start/linux/mirroir.1744708823.txt.gz · Dernière modification : 2025/04/15 11:20 de admin