1. Install the package managers do the job.
$ sudo apt-get install apache2 rsync debmirror2. This time there will be a replica of the latest Ubuntu distribution, namely Maverick (10.10) and only for the i386 architecture in their respective environments universe, multiuniverse, etc etc etc ....
$ debmirror-h ve.archive.ubuntu.com - Method = http-r-d ubuntu maverick, maverick-updates-security maverick, maverick-proposed, maverick-backports-a i386-s main, universe, multiverse, restricted - nosource - progress - ignore-small -errors - ignore-release-gpg - ignore-missing-release - proxy = http://172.31.15.2:3128 - rsync-options =- AIL / var / www / ubuntu
Explanation of parameters
-h is the host to replicate
- method this clearly, but supports other like-r ftp
HFTP is the resources applied to the folder selected in this case ubuntu
-d shows the distros to download support Here
maverick-a-s
architectures specified
download sections - not lowering nosource
sources - Progress show progress bla bla bla
the option - proxy put the ip of your proxy if you have but do not put
and lastly the option - rsync update indicates that only the packets that are not day (ideal for a second chance, that is the first time to run it without that parameter and then update ....)
for more documentation see
debmirror
$ man now as easy
see if it works
http://localhost/ubuntu
and configure client machines just edit the file
$ sudo nano / etc / apt / sources.list and replacela direccion alli encontrada por la ip del servidor donde se uso debmirror y las secciones que deseen...
0 comments:
Post a Comment