In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Centos redhat
The general 163 source is easier to use.
1. Enter the Yum source configuration directory
Cd / etc/yum.repos.d
2. Backup the yum source that comes with the system
Mv CentOS-Base.repo CentOS-Base.repo.bk
Download NetEase's yum source:
Wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
3. After updating the playing yum source, execute the following command to update the yum configuration so that the operation takes effect immediately
Yum makecache
4. In addition to NetEase, there are other good yum sources in China, such as those of the University of Science and Technology of China and Sohu, which you can download according to your own needs.
The yum source of China University of Science and Technology:
Wget http://centos.ustc.edu.cn/CentOS-Base.repo
Yum source for sohu
Wget http://mirrors.sohu.com/help/CentOS-Base-sohu.repo
Theoretically, these yum source redhat systems and fedora can also be used.
[base]
Name=CentOS-$releasever-Base
Mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
# baseurl= http://mirror.centos.org/centos/$releasever/os/$basearch/
Gpgcheck=1
Gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
# released updates
[updates]
Name=CentOS-$releasever-Updates
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
Name=CentOS-$releasever-Base
Mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
# baseurl= http://mirror.centos.org/centos/$releasever/os/$basearch/
Gpgcheck=1
Gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
# released updates
[updates]
Name=CentOS-$releasever-Updates
Mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
# baseurl= http://mirror.centos.org/centos/$releasever/updates/$basearch/
Gpgcheck=1
Gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
# additional packages that may be useful
[extras]
Name=CentOS-$releasever-Extras
Mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
# baseurl= http://mirror.centos.org/centos/$releasever/extras/$basearch/
Gpgcheck=1
Gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
# additional packages that extend functionality of existing packages
[centosplus]
Name=CentOS-$releasever-Plus
Mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
# baseurl= http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
Gpgcheck=1
Enabled=0
Gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
# contrib-packages by Centos Users
[contrib]
Name=CentOS-$releasever-Contrib
Mirrorlist= http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
# baseurl= http://mirror.centos.org/centos/$releasever/contrib/$basearch/
Gpgcheck=1
Enabled=0
Gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Ubantu
Deb http://cn.archive.ubuntu.com/ubuntu/ trusty main restricted
Deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty main restricted
Deb http://cn.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
Deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
Deb http://cn.archive.ubuntu.com/ubuntu/ trusty universe
Deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty universe
Deb http://cn.archive.ubuntu.com/ubuntu/ trusty-updates universe
Deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty-updates universe
Deb http://cn.archive.ubuntu.com/ubuntu/ trusty multiverse
Deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty multiverse
Deb http://cn.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
Deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
Deb http://cn.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
Deb-src http://cn.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
Deb http://security.ubuntu.com/ubuntu trusty-security main restricted
Deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
Deb http://security.ubuntu.com/ubuntu trusty-security universe
Deb-src http://security.ubuntu.com/ubuntu trusty-security universe
Deb http://security.ubuntu.com/ubuntu trusty-security multiverse
Deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
Apt-get update
Suse
We haven't found it yet. Do you have any enthusiastic friends to offer?
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.