You are not logged in.

#1 2022-10-11 11:20

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,465
Website

Create a local Q4OS repositories mirror

'Apt-mirror' is the right tool, first install it in terminal:
$ sudo apt-get install apt-mirror

Run commands in terminal:
$ mkdir /tmp/q4os_mirror/
$ cd /tmp/q4os_mirror/

Now create config file 'mirror.list'

set base_path    /tmp/q4os_mirror
set nthreads     20
set _tilde 0

deb-amd64   http://q4os.org/q4repo q4os-4-0-cn main
deb-i386    http://q4os.org/q4repo q4os-4-0-cn main
# deb-arm64   http://q4os.org/q4repo q4os-4-0-cn main

clean http://q4os.org/q4repo q4os-4-0-cn

Continue in terminal:
$ touch postmirror.sh
$ apt-mirror mirror.list
Repositories will be mirrored locally in '/tmp/q4os_mirror/'

Offline

#2 2022-10-11 15:07

Midas
Member
Registered: 2017-12-15
Posts: 190

Re: Create a local Q4OS repositories mirror

Is there a way to know the storage cost beforehand?

Offline

Board footer

Powered by FluxBB