A Ubuntu image is made in the school. Unfortunately, all the servers with space are Windows, so I am too lazy to create another Linux server. So I will do it in Windows. You need to enable IIS or FTP on a Windows server. I use IIS. About 296 GB of storage (I synchronized all files, including the source code, versions, and hardware support. The current size is 398504 GB and files). Linux images use rsync, in Windows, cwRs is used.
A Ubuntu image is made in the school. Unfortunately, all the servers with space are Windows, so I am too lazy to create another Linux server. So I will do it in Windows.
Environment required
Windows Server (nonsense), enabling IIS or FTP. I use IIS.
Storage of around 296 GB (I synchronized all files, including the source code, versions, and hardware support. The current size is 398504 GB and files)
Rsync is used for Linux images, so cwRsync is used for Windows.
Configure cwRsync
Run the following code to create a new batch.
Rsync-vzrtopg-progress-delete rsync: // ubuntu.srt.cn/ubuntu// cygdrive/L/mirror/ubuntu/
As you can see, I synchronized the Ubuntu from ubuntu.srt.cn/ubuntuto the actual Ubuntu directory under the Local ldisk.
For the complete domestic image, refer to images. However, USETC will be automatically disconnected after a certain period of time, lupa synchronization will die, and I will use srt to complete it. In fact, there are also many sources such as souhu, but rsync is not supported.
In addition, remember to put the batch processing in the scheduled task.
Configure IIS
This is simple. Just put out the directory of disk l. I opened directory browsing. In addition, a MIME type must be added to IIS. Otherwise, 404 is reported in the. deb file of ubuntu. For details, see here: iis mime type settings.
Client Configuration
Take Ubuntu 9.10 As an example to modify the/etc/apt/source. list file (backup first !)
Deb http://linux.nau.edu.cn/ubuntu/ karmic main restricted universe multiverse
Deb http://linux.nau.edu.cn/ubuntu/ karmic-security main restricted universe multiverse
Deb http://linux.nau.edu.cn/ubuntu/ karmic-updates main restricted universe multiverse
Deb http://linux.nau.edu.cn/ubuntu/ karmic-proposed main restricted universe multiverse
Deb http://linux.nau.edu.cn/ubuntu/ karmic-backports main restricted universe multiverse
Deb-src http://linux.nau.edu.cn/ubuntu/ karmic main restricted universe multiverse
The deb-src http://linux.nau.edu.cn/ubuntu/ karmic-security main restricted universe multiverse
Deb-src http://linux.nau.edu.cn/ubuntu/ karmic-updates main restricted universe multiverse
Deb-src http://linux.nau.edu.cn/ubuntu/ karmic-proposed main restricted universe multiverse
Deb-src Co., http://linux.nau.edu.cn/ubuntu/. karmic-backports main restricted universe multiverse
Then refresh the list to use the new capabilities.
Sudo apt-get update