The exchange of the source under Ubuntu ....
Because their hands cheap, all of a sudden six months of painstaking efforts to destroy all, my entire embedded learning Process code AH, project AH, the problem ah, all lost ... and the evil disposition ...
No way, also reload the system ...
Installed in VMware under the Ubuntu, there are many problems ah, today began to record in the learning process throughout the configuration process ... Safekeeping .....
1, Change Source
In the shell when th
Tags: RoCE CTE Open Span Col Introduction nbsp ext Restrictbecause the default source of Ubuntu is foreign, download software is very slow, and often download failure, the following is mainly a way to add a domestic source as a software download source of the simple method. 1. Path to the configuration file for the software download Source:/etc/apt/sources.list2. Add the download source address(1) Open "Softwareupdates". Double-clicking the "sources.list" file directly also opens "Softwareupdate
Ubuntu Source list in/etc/apt/sources.list, replace itthe source of TsinghuaDeb Http://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial main multiverse restricted Universedeb/http Mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-backports main Multiverse restricted Universedeb/http mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-proposed main Multiverse restricted Universedeb/http Mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial-security main Multiverse restricted Universedeb/http Mirrors.tuna.tsinghua.edu.cn/ubuntu/x
1. Hierarchy Selector-child element SelectorAlert ($ ("div>p"). length);//2Iterate through the conforming elementsAlert ($ ("body>div>p"). Length)//1Will locate the child div of the body, and then position the child p2. Content Filter-hasvar a = $ ("#dnf p:has (. lol)"). Length//This is not availablevar B = $ ("#dnf: Have (p): has (. lol)"). lengthvar c= $ ("has (. lol
Every time we install ubuntu9.10, the next thing we need to do is update the software and Language Pack in it, and the update source of ubuntu will be downloaded very slowly, so we can change the update source, so that he can download it quickly and save some time. Next, let's take several steps.
First, back up the original update source file:Enter the command on the terminal: sudo cp/etc/apt/sources. list/etc/apt/sources. list. backupThen modify the update source file:Enter the command on the
Every time we install ubuntu9.10, the next thing we need to do is update the software and language pack in it, and the update source of ubuntu will be downloaded very slowly, so we can change the update source, so that he can download it quickly and save some time. Next, let's take several steps ....
Every time we install ubuntu9.10, the next thing we need to do is update the software and language pack in it, and the update source of ubuntu will be downloaded very slowly, so we can change the u
main restricted universe multiverse
Deb http://debian.ustc.edu.cn/ubuntu/ gutsy-backports main restricted universe multiverse
Deb http://debian.ustc.edu.cn/ubuntu/ gutsy-proposed main restricted universe multiverse
Deb http://debian.ustc.edu.cn/ubuntu/ gutsy-security main restricted universe multiverse
Deb htt
unsuccessful. It seems like it's finished. Is that true? Let me talk about it slowly. First of all, remember, here is just a record of sentiment, not an academic paper. You don't have to be so aggressive! Second, the database and SQL mentioned in this model are just the alias for data storage and processing in the Information System (only this technology is much used now, I have to be represented at the "NPC and CPPCC" here, haha ...). Also, I dare say that all information systems now need to s
Domestic software source
Deb http://ubuntu.cn99.com/ubuntu/ intrepid main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ intrepid-security main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ intrepid-Updates main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ intrepid-proposed main restricted
Dapper (6.04)
See [Ubuntu Introduction]
Sudo CP/etc/APT/sources. LIST/etc/APT/sources. list_backupSudo gedit/etc/APT/sources. ListReplace all content in the file with the following:
Http://archive.ubuntu.org.cn/ubuntu/ dapper main restricted universe multiverseDeb http://archive.ubuntu.org.cn/ubuntu/ dapper-security main restricted universe multiverseDapper-Updates main restricted
Preface:If you are lucky enough to see this article, you will find a shocking secret. If you have a deep understanding of this article or the rule I introduced, then you will have a brand new thinking to think about your life, your health, your love, and even the whole universe. If you know how to learn and use this rule correctly, you don't have to think about it. What do you want me to send you.
Also, if you think this is purely nonsense, you don't
Vi/etc/apt/sources.list 14.04deb http://mirrors.aliyun.com/ubuntu/trusty main restricted universe multiverseDeb Http://mirrors.aliyun.com/ubuntu/trusty-security main restricted universe multiverseDeb Http://mirrors.aliyun.com/ubuntu/trusty-updates main restricted universe multiverseDeb http://mirrors.aliyun.com/ubuntu/trusty-proposed main restricted
1. Backup Source listsudo CP /etc/apt/sources.list/etc/apt/sources.list.backup2. Open the Source listsudo gedit/etc/apt/sources.list3. Clear the original content, add a new source addressIt is recommended to use the source of Tsinghua University open source software image station16.04# Default Annotated source image to improve apt update speed, if necessary, can self-uncomment deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/xenial main restricted universe
is set to the default valueSet the value of pointyThis.pointy = Args.pointy | | 10;
}
Instance containervar instance;
var _static = {Name: ' Singletontester ',
Methods to get instancesReturns an instance of SingletonGetinstance:function (args) {if (instance = = undefined) {Instance = new Singleton (args);}return instance;}};return _static;})();
var singletontest = singletontester.getinstance ({pointx:5});Console.log (SINGLETONTEST.POINTX); Output 5
Other ways to implement
Method 1
The company wants to start restricting all VMS directly to the extranet, so it needs to build a local source locally, before sharing a centos local source structure, and also today the Ubuntu is sorted out.
Installation of Apt-mirror Tools
# Apt-get Install Apt-mirror
Second, configure Apt-mirror
Because the source content is more, so it is best to separate a disk storage, I put in the/cache1/apt-soutce
# vim/etc/apt/mirror.list############# Config ###################Set Base_path/cache1/ap
1. Back up original source files
sudo cp/etc/apt/source.list/etc/apt/source.list.bak
2. Edit Source list file
sudo vim/etc/apt/source.list
3. Delete the original list and add the following
The following is the apt-get source for Aliyun Ubuntu 14.04
Deb Http://mirrors.aliyun.com/ubuntu/trusty main restricted universe multiverse Deb http://mirrors.aliyun.com/ubuntu/ Trusty-security main restricted Universe
Step 1. Access to root
$ sudo su
Step 2. Back up the original update source
$CP/etc/apt/sources.list/etc/apt/sources.list.backup
Step 3. Modify the update source (sources.list the file that holds the update source)
$nano/etc/apt/sources.list
Delete all contents of sources.list, and copy all contents below to sources.list for replacement
(replace the original source with 163 of the source)
Deb Http://mirrors.163.com/ubuntu/trusty main restricted universe
: Ctrl+alt+t.Mirror It is strongly recommended that you set up a mirror first. Avoid the situation where the face is black and the server is not connected, and the speed is super slow. Or you can fq.This provides a 163 and Sohu image.Edit the/etc/apt/sources.list file, (please make a backup before operation) Add the following entry at the front of the file:NetEase Source:Deb Http://mirrors.163.com/ubuntu/precise main restricted universe multiverse Deb
1. Hierarchy Selector-child element SelectorAlert ($ ("div>p"). length);//2Iterate through the conforming elementsAlert ($ ("body>div>p"). Length)//1Will locate the child div of the body, and then position the child p2. Content Filter-hasvar a = $ ("#dnf p:has (. lol)"). Length//This is not availablevar B = $ ("#dnf: Have (p): has (. lol)"). lengthvar c= $ ("has (. lol
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.