Redhat 5 build ftp-based yum server, redhatyumYUM is Yellow dog Updater, short for Modified. It is a plan initiated by Duke University to solve the problem of RPM dependency, it is convenient for users to install and upgrade software. It is particularly noted that YUM is only used to solve RPM dependency problems, rather than other software installation modes. In
specifies whether verification is performed when the software package is installed. 1 indicates verification, which is generally used when an external yum source is specified.
②: The format is as follows:
[Base], alias
Name = Instructor Server Repository, alias
Baseurl = ftp://instructor.example.com/pub/Server specifies the yum source location
Gpgcheck = 0 speci
://hostname/PATH/TO/REPO Http://hostname/PATH/TO/REPO File:///PATH/TO/REPOConfiguration files for the Yum program:/etc/yum.confDefine global configuration: configurations that are applicable to all warehouses/etc/yum.repos.d/*.repoA file is typically used for a warehouse or a group of similar or related functionsDefine a warehouse to point to:[REPO_ID]Name=Baseurl=# Mirrorlist=scheme://hostname/path/to/mirror_list_fileEnabled={1|0}Gpgcheck={1|0}gpgk
Shell script language is an essential tool for Linux/Unix system management and automated O M. Most of the core components of Linux/Unix systems and basic application software involve shell script content. Every qualified Linux system administrator or O M engineer must be proficient in writing shell scripts and be able to read the shell scripts included in the system and various software. Only in this way can O M personnel improve their work efficiency, adapt to the increasingly complex work
1. Delete Redhat original Yum source# Rpm-aq | grep Yum|xargs rpm-e--nodeps2. Download the new Yum installation packageHere we use the source of the CentOS Yum# wget http://mirror.centos.org/centos/6.0/os/i386/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm# wget/http mirr
As a novice, learning Linux has been one months, during which encountered a lot of problems, and today I encountered the problem is#yum Install Pam-devel#This system is not registered to Red Hat Subscription Management. You can use the Subscription-manager to register.Setting up Install ProcessNothing to doAfter a morning study found that, in fact, if the use of Redhat
Tags: native file sha file alternative rpm package Yum Warehouse httpdYum:yellowdogupdate modifier,rpm Front-end program, can solve the dependencies of the package, can locate the package between multiple libraries, up2date alternative tools, the underlying relies on the Rpm,yum installation relies on its Yum warehouse, that is,
Description: The system is Redhat Linux 6.5; The image file is "Rhel-server-6.5-i386-dvd.iso"1. Delete Redhat original Yum sourceRpm-aq | grep Yum|xargs rpm-e--nodeps2. Download the new Yum Install package (here we use the CentOS source,)wget http://mirror.centos.org/centos/
redhat5.51. Mount the optical drive[[Email protected] ~] #mkdir-P/mnt/cdrom[[Email protected] ~] #mount-T Iso9660/dev/cdrom-sr0/mnt/cdrom2. Copy the Redhat CD contents to the local hard driveBecause the directory where the Yum source is created, it must be a directory that can be written to, so all the files on the disc need to be copied to the local directory, and if the/mnt/cdrom CD-ROM mount directory is
Redhat unregistered Yum workaround
The redhat used by some people are not registered, and the This system isn't registered with RHN appears when you install the software with Yum. The following offers solutions, I personally tested success.
Option 1. Use CentOS instead of Redhat
RedHat (Red Hat) yum cannot use the solution, redhatyum
Because RedHat is a commercial version, the yum program cannot be used because it is not registered (in linux, yum is an "artifact" for installing software "). In this case, the CentOS address can be replaced. The follo
A) Mount the disc[Email protected] ~]# mount/dev/cdrom/mntb) Remove all repo files from the/ETC/YUM.REPOS.D directory[Email protected] ~]# rm-rf/etc/yum.repos.d/*c) Create a new file Dvd.repo[Email protected] ~]# Vim/etc/yum.repos.d/dvd.repoAdd the following content:[DVD]Name=install DVDBaseurl=file:///mntEnabled=1Gpgcheck=0d) Refresh Repos build CacheThis article is from the "Sen Wang" blog, make sure to keep this source http://zhibeiwang.blog.51cto.com/7555525/1787798How to build a
-3.0.1-5.el5
Yum-metadata-parser-1.0-8.fc6
Yum-rhn-plugin-0.4.3-1.el5
Yum-updatesd-3.0.1-5.el5
Createrepo-0.4.4-2.fc6.noarch.rpm
Yum-arch-2.2.2-2.fc7.noarch.rpm
Yum Server Installation
1. Store software packages on the YUM Server
#yum Install Pam-devel#This system is not registered to Red Hat Subscription Management. You can use the Subscription-manager to register.Setting up Install ProcessNothing to doAfter a morning study found that, in fact, if the use of Redhat Yum Source to pay for registration, time-consuming and laborious, only on their own computer to set up a
I just installed the RedHat 6 system, but when using yum, it always prompts nothing and everything. Later, after a search, Red Hat's Yum online update is chargeable and must be registered before it can be used.Before using Ubuntu because the foreign apt-get source too slow can update the domestic source, LZ often used is the source of NetEase or some of the sourc
Users who have installed the Linux software know that sometimes we install a software, need to rely on other software, so we have to find all the software, this is a very troublesome thing, there is no way to let it find its own dependence?
The answer is certainly, this requires us to configure an artifact--yum, through which we can directly install the software, we only need to know the name of the software can be, let it put all the dependencies ar
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.