First, IntroductionSystem comes with a limited number of sources, but also foreign sources, the speed is certainly not as domestic. When the network is broken, local sources can be useful. The Rpmforge source is one of the largest sources of legend. Then we'll come up with a local source, domestic source, Rpmforge source.You can also install an extension source. We'll talk about it below.Second, the local source configurationMethod:(Fig. 1)Experiment:Vim Centos-dvd.repo[Dvd]name= Install Dvdbase
protected] ~]# rpm-e packagekit-yum-0.8.9-11.el7.x86_64--nodeps
3, the computer must be able to access the Internet;
[[email protected] ~]# Ping 8.8.8.8PING 8.8.8.8 (8.8.8.8) bytes of data.Bytes from 8.8.8.8:icmp_seq=1 ttl=48 time=51.3 msBytes from 8.8.8.8:icmp_seq=2 ttl=48 time=49.5 ms
4, enter the following Web site to see if the package version upgrade or find their own system of the corresponding package version updates;
NetEase 163 Netw
on the local installation version)
Wget http://mirrors.163.com/centos/6.3/ OS /x86_64/Packages/yum-3.2.29-30.el6.centos.noarch.rpmWget http://mirrors.163.com/centos/6.3/ OS /x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpmWget http://mirrors.163.com/centos/6.3/ OS /x86_64/Packages/yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpmWget http://
Because the RedHat Yum online update is charged, it cannot be used if it is not registered. to use it, you need to uninstall the RedHat yum, restart the installation, and configure other sources, the detailed process is as follows:(The version is 64-bit, and the name of the corresponding package must be changed when the 32-bit version is used)1. Delete the original Yum of RedHat.Rpm-AQ | grep Yum | xargs rpm-e -- nodeps
2. Download the yum Installation FileWget http://
First, delete the redhat comes with YumRoot User executionRpm-aq|grep Yum|xargs rpm-e--nodepsIi. Download the Yum installation file for CentOSwget http://mirrors.163.com/centos/6/os/x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpmwget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpmwget http://mirrors.163.com/
then openService Iptables StopSame: Open service iptable start now(2) effective after rebootChkconfig iptables offSimilarly: Turn on chkconfig service on after reboot5. Yum5.1, http://blog.itpub.net/25313300/viewspace-708509/wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-cron-3.2.29-40.el6.centos.noarch.rpmwget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6
directly to change a source on the line
In the terminal, enter the following command, backup old source files, go directly to the 163 download of the Xinyuan file.
#cp/etc/apt/sources.list/etc/apt/squeeze_sources_list
#wget Http://mirrors.163.com/.help/sources.list.wheezy-O/etc/apt/sources.list
Or simply copy the following and squeeze the old note or delete it www.111cn.net
Deb Http://mirrors.163.com/
the following command, backup old source files, go directly to the 163 download of the Xinyuan file.
#cp/etc/apt/sources.list/etc/apt/squeeze_sources_list
#wget Http://mirrors.163.com/.help/sources.list.wheezy-O/etc/apt/sources.list
Or simply copy the following and squeeze the old note or delete it www.111cn.net
Deb Http://mirrors.163.com/debian wheezy main Non-free contribDeb Http://
Today, I ran into a machine equipped with Linux, so I thought we could solve the problem with the previous experience, but the magic found that a bunch of packages were not installed on the machine,The most deadly thing is that even the Package manager is not installed, this thought is FreeBSD, looked up only to discover is Redhat Linux Server 5.4,So began to install Yum, Google Search, found that seemingly similar situation is not many, but this is not the first time I met Redhat no yum,Because
Today, I had to maintain a Linux-installed machine, so I thought I could solve the problem based on my previous experience. However, I discovered that a bunch of software packages on the machine were not installed,The worst thing is that even the package manager is not installed. I thought it was FreeBSD. I checked it and found it was RedHat Linux Server 5.4,So I started to install yum. I searched on Google and found that there were not many similar cases, but this was not the first time I met R
1. First look at the Yum packages installed by the Redhat 7.0 system itself:Rpm-qa | grep Yum #列出所有已安装的yum包2. Delete these packages:Rpm-e *.rpm--nodeps #删除所有以前的yum包3. Download the new Yum RPM package: (2016/12/8 the latest version of RPM, if 404 Not Found error, enter the URL yourself, replace the latest RPM package name)wget http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-3.4.3-132.el7.centos.0.1.noarch.rpmwget http://
Configure YUM in LinuxThis topic describes how to configure the yum source. Although there are many methods on the internet, each of them has problems, so you can write your own configuration process. Directory Overview step download installation package uninstall built-in yum install yum package add yum summary step download installation package my current server version of redhat6, so the downloaded installation package should also be the corresponding linux6 installation package, the yum sour
attention to their own Linux system version, what version is in the relevant version of the directory to download. But the small version of the directory is not in. If the version is 6.5, just go to 6 directory, version is 7.2, just into 7 directory.
Open the browser, login http://mirrors.163.com/centos/7/os/x86_64/Packages/, look for four files, as follows: (* symbol for the small version number, different versions)
1, yum-*.rpm
2, yum-metadata-
appropriate backup before you remind the operation again) Lucid (10.04) Precise (12.04) Trusty (14.04) Utopic (14.10) Vivid (15.04) Wily (15.10) overrides are complete and can be modified directly if not backed up/etc/apt/ Sources.list file, take wily (15.10) as an example, edit the/etc/apt/sources.list file, add the following entries at the top of the file (make the appropriate backup before you do it again)
Deb http://mirrors.163.com/ubuntu
maintenance of the various roles on the assembly line really around the same deliverable, "test What you to write, ship what test "becomes a reality.
Building Docker mirrors is a common occurrence for developers who have embraced and used Docker technology in their day-to-day development efforts. But how to build more efficiently and build a smaller size mirror is a common question for many Docker technology beginners, even those that some veterans h
Tags: mysql/linuxOverviewThe article mainly introduces the configuration of Yum source, although there are many methods on the Internet, but each more or less a bit of a problem, so put their own configuration process to write out.Directory
Overview
Steps
Download the installation package
uninstall your own yum
Installing the Yum pack
Add Yum
Summary
StepsDownload the installation packageMy current server version of Redhat6, so the downlo
Error: E:malformed line 1 in Source list/etc/apt/sources.list (Dist list)E:the List of sources could not be read [duplicate]Reason: to the following source knock, did not notice that there is a space between the Ubuntu/precese, the main is their own to the source list of the format does not understand the resultingDeb Http://mirrors.163.com/ubuntu/precise-updates main restrictedDEB-SRC http://mirrors.163.co
://mirrors.ustc.edu.cn/ubuntu/precise-updates MultiverseDeb Http://mirrors.ustc.edu.cn/ubuntu/precise-backports main restricted universe multiverseDEB-SRC http://mirrors.ustc.edu.cn/ubuntu/precise-backports main restricted universe multiverseRelatively fast source:Sohu Source:Deb Http://mirrors.sohu.com/ubuntu/precise-updates main restrictedDEB-SRC http://mirrors.sohu.com/ubuntu/precise-updates Main restrictedDeb Http://mirrors.sohu.com/ubuntu/precise UniverseDEB-SRC Http://mirrors.sohu.com/ubun
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.