Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ RHEL 6.5 x86_64 CentOS yum configuration source     - When Linux virtual machine to another copy of the operating system, a static IP NAT mode Invalid (Linux)

- 7 JavaScript interview questions (Programming)

- MySQL 5.6 Open full query log (Database)

- Zabbix monitoring platform to extract a single server graphical Python implementation of concurrent (Server)

- Talking about the implementation and the JVM garbage collection mechanism (Programming)

- crontab cause CPU exception Analysis and Processing (Linux)

- Nagios (centreon) monitoring LVS (Server)

- Single list summarizes the basic operation (Programming)

- Linux system security reinforcement system by masquerading method (Linux)

- shell script: a key optimization CentOS system (Linux)

- Setting up Linux machine through a proxy firewall (Linux)

- Ubuntu system process is bound CPU core (Linux)

- System Security: Build Linux with LIDS steel castle (Linux)

- Oracle 11g RAC root.sh execution error second node failure example (Database)

- The difference between IPython and Python (Linux)

- Redis master-slave replication switch (Database)

- When Linux Detailed time zone and common function of time (Linux)

- Debugging with GDB tool Go (Programming)

- How to set the default Fedora from the command line (Linux)

- ORA-12154: TNS: could not resolve the connect identifier specified solve (Database)

 
         
  RHEL 6.5 x86_64 CentOS yum configuration source
     
  Add Date : 2016-04-17      
         
         
         
  1. Remove rhel comes yum source

# Rpm -aq | grep yum | xargs rpm -e --nodeps

2. Download the new yum install package

wget http://mirrors.163.com/CentOS/6/os/x86_64/Packages/yum-metadata-parser-1.1.2-16.el6.x86_64.rpm
wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-3.2.29-69.el6.centos.noarch.rpm
wget http://mirrors.163.com/centos/6/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.30-30.el6.noarch.rpm

3, install yum package, noting that marked red must be installed together with dependencies

rpm -ivh yum-metadata-parser-1.1.2-16.el6.x86_64.rpm yum-3.2.29-69.el6.centos.noarch.rpm yum-plugin-fastestmirror-1.1.30-30.el6.noarch .rpm

4, change into yum source 163

# Cd /etc/yum.repos.d/

# Wget http://mirrors.163.com/.help/CentOS6-Base-163.repo

# Ls
CentOS6-Base-163.repo

The documents which replace all of $ releasever version number, namely 6

# Sed -i 's # $ releasever # 6 # g' CentOS6-Base-163.repo

5, clear the yum cache

# Yum clean all

# Yum makecache # package information will be cached on the local server, install software to improve search speed.
     
         
         
         
  More:      
 
- The basic principle of pointers in C ++ (Programming)
- Linux virtual machine how to access the Internet in a virtual machine when using NAT mode (Linux)
- Linux, C programming language library file handling and preparation of Makefile (Programming)
- Dalvik heap memory management and recycling (Linux)
- Modify Linux SSH default port 22 in several ways (Linux)
- LMMS 1.03 install on Ubuntu 14.04 (Linux)
- Linux, Apache Web site security settings (Linux)
- To install Docker under Ubuntu 15.04 (Linux)
- Oracle 10g New Features - Archive Compression (Database)
- Performance Optimization: Using Ramlog transfer log files to memory (Linux)
- CentOS minimal network is unavailable resolved (Linux)
- Git use and interpretation of common commands (Linux)
- Oracle TDE transparent data encryption (Database)
- Scope of variables in Object-C (Programming)
- NFS installation process under the CentOS (Linux)
- Oracle () trunc function usage (Database)
- CentOS 6.x systems installation + NIC driver installation (Realtek PCIe GBE Family Controller for Linux) (Linux)
- Java class HashSet (Programming)
- C ++ you can become a new scripting language (Programming)
- Ubuntu dual-card system configuration method (Server)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.