Configuration and usage of local yum source and network yum source in CentOS 6.5
Configuration and usage of local yum source and network yum source in CentOS 6.5
1. Local yum Source
1. The system has installed the yum software package by default, so
CentOS6 uses an ISO image as the yum software source
If the server is deployed on the Intranet and cannot be connected to yum to install or update software, it is necessary to create a local yum software source.There are many ways to create a local
Reference: http://hi.baidu.com/pengduo66/item/abfe454f81cdb7e5a4c06675Scenario Description: Choose to minimize the installation of the Linux operating system without the Perl tools installed. Because of network failure, you cannot install Perl from
1. Check the machine In the operation, it is found that the machine accessing the extranet cannot use Yum to install the software, so the Yum installation source needs to be configured. If you can, this step can be ignored. [Email protected] test]#
Linux configuration local Yum Cloud:First step: Mount the CD to the directory treeMount/dev/cdrom/mnt/mediaStep Two: Increase/etc/yum.repo.d/local.repoTouch/etc/yum.repo.d/local.repoVim/etc/yum.repo.d/local.repo [Local]name=extra Packages for
[Root@localhost yum.repos.d]# Cat Centos-base.repo
# Centos-base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The Mirror system uses the connecting IP address of the client and the
# Update status of each
Preface: This post is only applicable to Redhat, CentOS 64-bit systemMany times we need to run or test the program with Linux, but we find that 64-bit Linux systems will error when detecting dynamic link library files for 32-bit programs (that is,
First, local Yum source constructionmount the disc first[email protected]/]# mount/dev/cdrom/media/cdrom/ packages with Yum are already installed by default, so you can configure them directly:[[email protected] ~]# Cd/etc/yum.repos.d/yum Source
Load the ISO image file in VM-->REMOVABLEDEVICE-->CD dvd-->:[Email protected] mnt]#mount/dev/cdrom/mnt/ cdrom mount:block device/dev/cdrom iswrite-protected, mounting read-Only[[email protected] mnt]# Mount - o ro/dev/cdrom/mnt/cdrom #- o rw mount
Here you use Red Hat 6.4 x86 minimal one, local source
Mkdir/localsource//Create Yum local source repository
Mount/dev/cdrom/mnt
Cp-r/mnt/packages/*/localsource//Copy all installation packages on CD to local
cd/etc/yum.repos.d/
MV Rhel-source.repo
Use the yum source of CentOS6 in RedHatEnterpriseLinux6. Recommended: RedHatLinux local yum source configuration example
Use the yum source of CentOS 6 in RedHat Enterprise Linux 6.
Recommended reading:
Configuration http://www.linuxidc.com/Linux/201
Previously, RHEL6.3 and 6.4 were used. The system disk contains mysqlserver. After configuring the yum source, you can directly install the mysql server on the yuminstallmysql-server,
Previously, RHEL 6.3 and 6.4 were used. The system disk contains
How to Use the ciphertext password in the Mutt Mail Client
Mutt is an open-source email client in a Linux/UNIX terminal environment. Mutt and Alpine have the most loyal followers among Linux Command Line enthusiasts, not for no reason. Think about
Article Title: Detailed explanation: Implementation of local YUM source in RHEL5. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and
Find the mirror site closest to yourself through the http://mirror-status.centos.org website
Here I use mirrors.163.com as our image site
1. To use the centos source, you must remove or disable the RHEL update source and delete the yum tool that
If you have installed centos and the yum update is slow, you can replace the update source with the one provided by Netease: mirrors.163.com.
The procedure is as follows:
CD/etc/yum. Repos. d/MV CentOS-Base.repo CentOS-Base.repo.bak
VI
Gentoo:
* Use emerge to install ApacheEmerge Apache
* Compile and install the h264 ModuleCD/tmpWget http://h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gzTar-zxvf apache_mod_h264_streaming-2.2.7.tar.gzD/tmp/mod_h264_streaming-2.2.
1. Back up the file before modification
cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
2. modify and update the source configuration file(Centos6 address, similar to other versions)
Vim open the configuration file:
vim /
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.