Build a Local cd yum source using CentOS
The two hosts are the first to build the YUM and YUM servers, and the second is used for subsequent YUM tests.
Operating System: Centos6.5
Host Name: yum. server
IP Address: 172.20.1.11
Operating System: Centos6.5
Host Name: test1
IP Address: 172.20.1.10
1. Build a Local
Build a Local CD yum source using CentOSGuideWhen we use the Yum tool to install the software package, we will feel very simple, it solves the dependency of a certain degree of software package. However, the Yum tool provides an online installation method by default. it searches for software packages from the default online address and then automatically completes a series of processes. However, if we do no
=\*--enablerepo=c7-media [command] [C7-media] name=centos-$releaseve R-media baseurl=file:///media/centos/file:///media/cdrom/#本地yum源所在路径 file:///media/cdrecorder/gpgcheck=0 #这里为0不进行检查 enabled=1 #这里为1 start gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-centos-7 ~
Save exit
3. Verify
We can view the warehouse using the Yum command plus the list parameter.
[Root@localhost/]# yum list #后面东西太多了 ...
The above is a small set to introduce Linux through the mounting system
Today, when I got a test environment, I lost some packages. when I installed the rpm package, the dependency was very troublesome. so I thought of using a CD to build a local yum server. Here are the specific setup steps. using yum can help solve the dependency problem. I have also organized an article, this is the form of ftp: Linux to build a YUM server http://
Multicd is a very practical shell script that allows you to build a multi-boot CD image. If you have multiple small Linux distributions at hand, you don't have to burn a CD for them separately. You can combine them into one by using multicd. Multicd will be a good assistant for Linux tool disks. Multicd currently supports many Linux releases, including slax, pu
Today, when I got a test environment, I lost some packages. When I installed the RPM package, the dependency was very troublesome. So I thought of using a CD to build a local Yum server. Here are the specific setup steps. Using Yum can help solve the dependency problem.
I have also compiled an article, which uses the FTP format:
Build a yum server in Linux
Http:
This is the second part of the series of tutorials that we use Gitlab and rancher to build CI/CD pipelining. The first part describes how to deploy, configure, and ensure that Gitlab runs in rancher. In this section, we will describe how to build the container using the Gitlab CI Multi-runner, and how to configure the project using the Gitlab container registry.
Today, when I got a test environment, I lost some packages. when I installed the rpm package, the dependency was very troublesome. so I thought of using a CD to build a local yum server.
Today, when I got a test environment, I lost some packages. when I installed the rpm package, the dependency was very troublesome. so I thought of using a CD to
CentOS uses a CD to build a local yum Server
Today, when I got a test environment, I lost some packages. When I installed the rpm package, the dependency was very troublesome. So I thought of using a CD to build a local yum server. Here are the specific setup steps. Using yum can help solve the dependency problem.
I h
1. Mount the discMount/dev/cdrom/mntView the MNT directory, the main source files in the Packages folder, in fact, directly to the CD-ROM packages copy to the Linux system directory is also possible2. Modify the configuration fileStep one: Back up the configuration fileCp-r Yum.repos.d/yum.repos.d.bakStep Two: Delete the configuration file Centos-base.repoRM-RF Centos-base.repoPart III: Modification of Centos-media.repo[Local-cdrom] Module nameName=cd
Introduction of experimental environment
Create a new two virtual machine using VMware Workstation, install CentOS release 6.4 (Final) x86_64
The iptables and SELinux of both hosts have been closed.
CentOS1 plan to install Yum Data Warehouse IP as 192.168.80.3
CentOS2 plan acts as a client IP for 192.168.80.4
Build local yum server via CD-ROM
This experiment program through VSFTP to act as Yum Data Wa
Question: If there is no network, how to use the Yum source.
Answer: Use CD to build Yum source
Build steps:
1. Mount CD
Mkdir/mnt/cdrom #建议挂载点mount/dev/cdrom/mnt/cdrom/#挂载光盘
2, the network Yum source failure
Cd/etc/yum.repos.d/#进入yum源目录MV Centos-base.repo Centos-base.repo.
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.