Create your own YUM Repository
Today, let's talk about how to release your own software, install and update the YUM source.Sudo mkdir-p/var/www/html/yum_repo/my/Packages sudo cp helloworld-1.0.0-1.el6.x86_64.rpm/var/www/html/yum_repo/my/Packages /; cd/var/www/html/yum_repo/my/Packages; sudo createrepo. sudo/etc/init. d/httpd start3. Create a new file/etc/
Note: My method applies to ISO images (CD or CD image: iso9660)
1. Mount)
For other Mount methods, see this link http://www.jb51.net/ OS /RedHat/1109.html
#mkdir /mnt/vcdromCreates a directory as the mount point.
#mount -o loop -t iso9660 /home/sunky/mydisk.iso /mnt/vcdrom
Note: Use the/mnt/vcdrom directory to access all files in the disk image file mydisk. ISO.
2. Start local configuration
For more details, see the following link http://xiaoyongx
The yum Network Resources of RedHat Linux are not as good as CentOS. Therefore, You Need To uninstall yum and download and install centOS yum first.
The following is the installation of centos 5. For more information, see install centos6
1. Download centos yum and use centos
1 What is the Yum repositoryYum works on a file server that relies on the C/S architecture working mode, and the server stores the packages required for Yum to work. After Yum receives the name of the package that needs to be installed, the File sharing protocol (or File Transfer Protocol) is used to query the required packages in the
RedHat Enterprise Linux 6.4 Use Centos 6 of the Yum Source IssuesAs 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 ProcessNothi
Redhat configure yum source using centos
Red Hat products include RedHat Linux (such as Redhat8, 9) and Red Hat Enterprise Linux for enterprises. CentOS is short for Community ENTerprise Operating System. Many of us call it a Community ENTerprise Operating System. No matter how you call it, it is a release version of linux.
Most software packages that constitute
Yum Error: Cannot retrieve metalink for repository: epel
Run yum to report Error: Cannot retrieve metalink for repository: epel. Please verify its path and try againAfter installing an epel extension for Centos through rpm-Uvh, run yum to report the following error:
Error:
When yum commands are used on the RedHat system, the following problems occur: ldquo; ThesystemisnotregisteredwithRHN rdquo; the reason is that the node is not registered on the Red Hat Network. The solution is to use CentOS yum source 1. view the default yum package installed by rhel and uninstall [root @ zhu1 ~] #
/extras/$basearch/gpgcheck=0Gpgkey=http://mirror.centos.org/centos/rpm-gpg-key-centos5#additional packages that extend functionality of existing Packages[centosplus]name=centos-5-plus#mirrorlist=http://mirrorlist.centos.org/?release=4arch= $basearch repo=centosplusBaseurl=http://ftp.sjtu.edu.cn/centos/5/centosplus/$basearch/gpgcheck=0enabled=0Gpgkey=http://mirror.centos.org/centos/rpm-gpg-key-centos5#contrib-packages by Centos Users[contrib]name=centos-5-contrib#mirrorlist=http://mirrorlist.cent
Because the redhat yum online update is charged, it cannot be used if it is not registered. to use it, you need to uninstall the redhat yum, restart the installation, and configure other sources, the detailed process is as follows: 1. delete the original yumrpm-aq | grepyum | xargsrpm-e -- nodeps2. download the
of RHEL on the basis of RHEL release. The clone version of RHEL is not only CentOS, but also White Box Enterprise Linux and TAO Linux and Scientific Linux.
Although it is a RHEL clone, it is not exactly the same. the clone is 100% interchangeable (really ?). However, it is not guaranteed that the software corresponding to RHEL can work normally for 100% of CentOS. In addition, security vulnerability fixes and software package upgrades correspond to RHEL's paid services and technical support, wh
needs to rely on the use of other packages installed, Install it in turn.[Email protected] yumload]# RPM-IVH createrepo-0.9.9-18.el6.noarch.rpm #安装createrepo [[email protected] yumload]# Crea terepo/yumload/#创建yum仓库, wait patiently, you can add the-v parameter to list execution information spawning worker 0 with 4802 pkgsworkers finishedgathering worker Results Sa Ving Tsun Primary metadatasaving file lists metadatasaving other metadatagenerating sql
Redhat: set local ISO to yum Source
The redhat system needs to be registered when you want to directly pass the yum conditions online. Generally, users are not registered. If you want to install new software through yum, you can set the ISO file of the installation disk imag
Redhat sets the local ISO as the yum source and redhatisoyum Source
The redhat system needs to be registered when you want to directly pass the yum conditions online. Generally, users are not registered. If you want to install new software through yum, you can set the ISO fi
RedHat/Centos using an iso image as the local yum source Centos is completely free of charge, and its yum can be used directly; while the RedHat yum can be used only after registration and payment, if this is not the case, there are two solutions, or three www.2cto. com1. us
The Yum program of the RedHat system cannot be used because RedhatLinux is not registered. Therefore, replace it with the yum program of centos. 1. Download The Yum installation package. because of the different architecture and package updates, you may need to adjust the following version numbers for directories and f
addition, security vulnerability fixes and software package upgrades correspond to RHEL's paid services and technical support, which also result in latency of Several stars and months.
If the RedHat Enterprise Edition is applicable to Yum sources and so on, it is applicable to Red Hat commercial support and requires paid registration. However, Red Hat Enterprise and centos are essentially the same thing, e
to/dvd.(2). Each time you re-enter the terminal, you must re-mount it to install the package.2. Yum Install package: can resolve dependencies.Yum Install GCC installation GCC development toolsThe Yum install gcc-y/yum install-y gcc installation process is not prompted for direct installation.Yum Remove gcc removal gccHint message:-D only download not installedTh
RedHat Enterprise Linux 6.0 (32-bit) How to Use CentOS YUM... because the redhat yum online update is charged, it cannot be used if it is not registered. to use it, you need to uninstall the redhat yum, restart the installation, a
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.