For the company's network restrictions, you can build a local Ubuntu source within the LAN.
1, modify the source configuration, into the Sohu source (the default Ubuntu source is not as fast as some domestic source speed)
Vi/etc/apt/source.list
Deb Trusty main restricted universe Multiverse Deb Trusty-security main restricted universe multiverse Deb Trusty-updates Main restricted Universe Multiverse Deb trusty-proposed main restricted universe Multiverse Deb Trusty-backports main rest Ricted Universe Multiverse
2. Installing Apt-mirror Tools
Apt-get install-y Apt-mirror
3. Configuring the Apt-mirror tool
Vi/etc/apt/mirrors.list
Only 64 bits of binary files are downloaded here
Set Nthreads 20set _tilde 0deb trusty main restricted universe multiversedeb trusty-security main restricted universe mult Iversedeb trusty-updates main restricted universe multiversedeb trusty-proposed main restricted universe Multiversedeb tr Usty-backports main restricted universe Multiverseclean Http://mirrors.sohu.com/ubuntu
4, start the download, speed depends on the Internet (about 75G)
Apt-mirror
5. as a native source
Source path in /var/spool/apt-mirror/mirror/mirrors.sohu.com/ubuntu
VI /etc/apt/sources.list
Deb Trusty main restricted universe Multiverse Deb Trusty-security main restricted universe multiverse Deb Trusty-updates Main restricted Universe Multiverse Deb trusty-proposed main restricted universe Multiverse Deb Trusty-backports main rest Ricted Universe Multiverse
6, as a local area network source
Installing Apache2
Apt-get Install Apache2
Link the mirror directory to the root directory of the apache2 (/var/www/html/)
ln-s /var/spool/apt-mirror/mirror/mirrors.sohu.com/ubuntu /var/www/html/ubuntu
7, modify the LAN Ubuntu internal source configuration for the host IP
VI /etc/apt/sources.list
Deb Trusty main restricted universe Multiverse Deb Trusty-security main restricted universe multiverse Deb Trusty-updates Main restricted Universe Multiverse Deb trusty-proposed main restricted universe Multiverse Deb Trusty-backports main rest Ricted Universe Multiverse
This article from "Broken Million book" blog, declined reprint!
Build local Ubuntu14.04 Source