One, download the repo file for Yum: yum-y Install wgetcd/etc/yum.repos.d/wget Http://mirrors.sohu.com/help/CentOS-Base-sohu.repoSecond, rename the other configuration files to set up backup MV Centos-base.repo Centos-base.repo.bakThird, test the availability of Yum sources Yum List | Wc-lShow 5,313 packages is configured correctlyConfiguring Sohu's network Yum source common error:One, path error:[email protected] ~]# Yum List | Wc-lHttp://mirrors.sohu.com/centos/6/
the use of this for CentOS updates# Unless you is manually picking other mirrors.## If The mirrorlist= does not work for you, as a fall back to you can try the# remarked out Baseurl= line instead.##[Base]name=centos-$releasever-base-163.commirrorlist=http://mirrorlist.centos.org/?release= $releasever arch= $basearch repo=osbaseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/Gpgcheck=1Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-centos-5#released Updates[Updates]name=centos-$releasever-
://ftp.sjtu.edu.cn/centos/5.0/updates/$basearch/Gpgcheck=1Gpgkey=http://mirror.centos.org/centos/rpm-gpg-key-centos5#packages used/produced in the build and not released[Addons]Name=centos-5-Addons#mirrorlist =http://mirrorlist.centos.org/?release=4arch= $basearch repo=addonsbaseurl=http://ftp.sjtu.edu.cn/centos/5.0/addons/$basearch/Gpgcheck=1Gpgkey=http://mirror
Open-source mirror server: http://mirrors.sohu.com/The server is located in Shandong province Unicom2 NetEase's Open source server image: Http://mirrors.163.com/centosSpeed is also good, the national user recommended3 degrees, mother? How does not have the mother's open source image.Degree Niang every year defrauded so many hard-earned money, not even an open source can not afford it? Hundred Points despise!In short, everyone in the use before you can ping a update source, to see which is fast
-$releasever-updatesbaseurl= http://mirrors.163.com/centos/7.0/updates/$basearch/gpgcheck=1gpgkey=http://mirrors.163.com/centos/ Rpm-gpg-key-centos-7#packages used/produced in the build and not Released#[addons] #name =centos-$releasever-addons# baseurl=http://mirrors.163.com/centos/$releasever/addons/$basearch/#gpgcheck =1#gpgkey=http://mirrors.163.com/ Centos/r
must be installed at the same time, otherwise they will depend on each other.
4. update the repo file
Mv/etc/yum. repos. d/rhel-debuginfo.repo/etc/yum. repos. d/rhel-debuginfo.repo.repo.bak
Vi/etc/yum. repos. d/rhel-debuginfo.repo
Content:
[Base]Name = CentOS-$ releasever-BaseBaseurl = http://mirrors.163.com/centos/6.0/ OS /?basearch/Gpgcheck = 1Gpgkey = http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
# Released updates[Updates]Name = CentOS-$ releasever-UpdatesBaseurl = http://mirrors.163.c
-Updates-mirrors.ustc.edu.cnbaseurl=http://vault.centos.org/4.7/updates/$basearch/gpgcheck=1gpgkey=http:// Vault.centos.org/rpm-gpg-key-centos-4#additional packages that could be Useful[extras]name=centos-4.7-extras- mirrors.ustc.edu.cnbaseurl=http://vault.centos.org/4.7/extras/$basearch/gpgcheck=1gpgkey=http:// Vault.centos.org/rpm-gpg-key-centos-4#packages used/produced in the build and not released[addons]name=centos-4.7-
.centos.noarch.rpmYum-plugin-fastestmirror-1.1 . el6.noarch.rpm 3. Install Yum rpm-ivh Python-iniparse-0.3 . 1 -2.1 -ivh yum -metadata-parser- 1.1 . 2 -16 -ivh yum -3.2 . 29 -69 . el6.centos.noarch.rpm yum -plugin-fastestmirror-1.1 . 30 -Note that the last two packages must be installed in one piece, otherwise the installation will fail because of mutual dependence!4. Configure NetEase SourceIf/etc/yum.repos.d/rhel-debuginfo.repo this file exists, back it up:CP /etc/yumrepos.d/rhel-debug
: After modification, the yum source for CentOS configuration is unavailable and needs to be changed back. Step 4: import GPG Key # rpm -- import/etc/pki/rpm-gpg/RPM * configure the CentOS yum source CentOS-Base.repo as shown in the previous download step: edit repository settings in/etc/yum. repos. d/, add the following content [base]
Name = CentOS-$ releasever-Base
Baseurl = http://centos.ustc.edu.cn/centos/5/ OS /?basearch/
Gpgcheck = 1
Enabled = 1
Gpgkey = http:/centos.ustc.edu.cn/centos/RPM
-daemon installation. Follow the setup instructions on the site to change the Settings.json file configuration.Since Transmission-daemon is running by default with the Debian-transmission user name, it needs to be changed to my username XBMC for better management. To modify a /etc/init.d/transmission-daemon file:#USER =debian-transmission #注释此行, modify the user name to a custom USER=XBMCInstalling the XBMC PluginThe great thing about XBMC is that it can be infinitely extended via plugins, I've i
://mirrors.163.com/centos/rpm-gpg-key-centos-6#released Updates[Updates]name=centos-$releasever-updatesbaseurl=http://mirrors.163.com/centos/6/updates/$basearch/Gpgcheck=1Gpgkey=http://mirrors.163.com/centos/rpm-gpg-key-centos-6#packages used/produced in the build and not released#[addons]#name =centos-$releasever-addons#baseurl =http://mirrors.163.com/centos/$releasever/
GMap "kubelet-config-1.11" in namespace Kube-system with the configuration for the kubelets in the Cluster[markmaster] Mar King the node docker-5 as master by adding the label "node-role.kubernetes.io/master=" "[Markmaster] marking the node dock Er-5 as Master by adding the taints [Node-role.kubernetes.io/master:noschedule][patchnode] uploading the CRI Socket inform ation "/var/run/dockershim.sock" to the Node API object "Docker-5" as an Annotation[bootstraptoken] using TOKEN:G80A49.QG Hzuffg3
[Updates]
name=centos-$releasever –updates
baseurl=http://mirrors.shlug.org/centos/$releasever/updates/$basearch/
Gpgcheck=1
Gpgkey=http://mirror.centos.org/centos/rpm-gpg-key-centos-5
Protect=1
#packages used/produced in the builds but not released
[Addons]
name=centos-$releasever –addons
baseurl=http://mirrors.shlug.org/centos/$releasever/addons/$basearch/
Gpg
version and install the later version)RPM-IVH yum-3.2.29-81.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-40.el6.noarch.rpm (both installed and interdependent)4. Update the Repo fileMv/etc/yum.repos.d/rhel-debuginfo.repo/etc/yum.repos.d/rhel-debuginfo.repo.repo.bakVi/etc/yum.repos.d/rhel-debuginfo.repoThe contents are:[Base]name=centos-$releasever-basebaseurl=http://mirrors.163.com/centos/6.0/os/$basearch/Gpgcheck=1Gpgkey=http://mirrors.163.com/centos/rpm-gpg-key-centos-6#released Upda
common sense: How to install the Deb packageFirst CD to the directory of the installation packageDpkg-i Install package Name1.flash plug-in installation, I downloaded the version, install_flash_player_11_linux.i386.tar.gzUnzip one of the libflashplayer.so to disk directory, and then CP command to Firefox install plugin directory, the general path isUsr/lib/firefox-addons/plugins extract to this, restart Firefox, you can.Kconsole terminal sudo-i input
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.