Editing files with VI tools
sudo VI /etc/apt/sources.list
Take Trusty (14.04) as an example, insert the following to the front of the file:
Deb http://mirrors.163.com/ubuntu/trusty main restricted universe multiverseDeb http://mirrors.163.com/ubuntu/trusty-security main restricted universe multiverseDeb http://mirrors.163.com/ubuntu/trusty-updates main restricted universe multiverseDeb http://mirrors.163.com/ubuntu/trusty-proposed main restricted universe multiverseDeb http://mirrors.163.com/ubuntu/trusty-backports main restricted universe multiverseDEB-SRC http://mirrors.163.com/ubuntu/trusty main restricted universe multiverseDEB-SRC http://mirrors.163.com/ubuntu/trusty-security main restricted universe multiverseDEB-SRC http://mirrors.163.com/ubuntu/trusty-updates main restricted universe multiverseDEB-SRC http://mirrors.163.com/ubuntu/trusty-proposed main restricted universe multiverseDEB-SRC http://mirrors.163.com/ubuntu/trusty-backports main restricted universe multiverse
Save to enjoy NetEase image acceleration. (telecommunication lines are fast)
For other versions, replace the trusty with the corresponding name:
Lucid (10.04)
Precise (12.04)
Trusty (14.04)
Utopic (14.10)
Vivid (15.04)
Wily (15.10)
Reference Address:
Http://mirrors.163.com/.help/ubuntu.html
Use NetEase ubuntu image to accelerate package installation