. But fortunately, we are at least in the education network, make it can also touch a light, download some.The website is: ftp://ftp.sjtu.edu.cn/The repo of the corresponding Yum is[Updates]Name=fedora Updatesbaseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/Enabled=1Gpgcheck=0[Fedora]Name=fedora $releasever-$basearchbaseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/ever
least in the education network, make it can also touch a light, download some.The website is: ftp://ftp.sjtu.edu.cn/The repo of the corresponding Yum is[Updates]Name=fedora Updatesbaseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/Enabled=1Gpgcheck=0[Fedora]Name=fedora $releasever-$basearchbaseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/everything/$basearch/os/Enabled=
least in the education network, make it can also touch a light, download some.The website is: ftp://ftp.sjtu.edu.cn/The repo of the corresponding Yum is[Updates]Name=fedora Updatesbaseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/Enabled=1Gpgcheck=0[Fedora]Name=fedora $releasever-$basearchbaseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/everything/$basearch/os/Enabled=
. But fortunately, we are at least in the education network, make it can also touch a light, download some.The website is: ftp://ftp.sjtu.edu.cn/The repo of the corresponding Yum is[Updates]Name=fedora Updatesbaseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/Enabled=1Gpgcheck=0[Fedora]Name=fedora $releasever-$basearchbaseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/ever
download (Please copy the link to the address bar to download it)
If the connection cannot be downloaded directly, you need to find your own package.
Http://mirrors.163.com/centos/6/ OS /x86_64/Packages/
First file
Wget http://mirrors.163.com/centos/6/ OS /x86_64/Packages/yum-3.2.29-60.el6.centos.noarch.rpm
Second file
Wget
Http://mirrors.163.com/centos/6/ OS /x86_64/Packages/yum-metadata-parser-1.1.2-16.e
Services:HTTP ./"These two//denotes escape character"ftp:// "This two//denotes escape character"nfs:// "This two//denotes escape character"file:/// "The root of the next/local path"Yum Client:Configuration files: points to the location of the warehouse and various configuration information, each Yum customer can have more than one available Yum warehouse;Master
1. Attach the CD first.
Run the "mount-o loop/dev/sr0/mnt/cdrom" command ". If the command "mount-o loop/dev/cdrom/mnt/cdrom" is used, errors may occur sometimes, the reason is that/dev/cdrom is a soft link file of/dev/sr0. If this setting is not performed, you will be asked to check the file system. /Create a new cdrom directory under mnt.
2. Set the configuration definition file of the yum source. The file must be stored in the/etc/
Reprinted from http://www.cnblogs.com/jifeng/archive/2010/08/26/1809566.html | http://www.cnblogs.com/yisohoo/articles/1423940.html
In the past, it was very convenient to configure Yum with fedora, but it was not so convenient to come to rhle. If the following settings are not made, software installation using yum is often unavailable, the detailed configuration is as follows (found online)
First, the rhel
Yum. sh#! /Bin/bash read-p "Enter the image file path (for example,/root/rhel5u5. iso): "jingxiang read-p", enter a mount point (for example,/iso ): "gzd mount-t iso9660" $ jingxiang "" $ gzd "-o loop >/dev/null if [$? -Eq 0] then if [-f/etc/yum. repos. d/rehl-debuginfo.repo] then echo "the original configuration file is being renamed, please wait... "sleep 2 mv/etc/yum
package into its own private warehouse,1. Create a Yum repository directoryMkdir-p/application/yum/centos6.6/x86_64/cd/application/yum/centos6.6/x86_64/rz # Upload RPM package to this directory (/application/yum/ centos6.6/x86_64/), you can also include folders under this directory2. Installing the Createrepo Software
.noarch.rpmNote: If the download is not likely to be a minor version of the changes can be downloaded directly after the upload to the Linux server or to the http://mirrors.163.com/centos/6/os/i386/Packages/The page searches for a specific name at the beginning of the RPM.
3 Install downloaded Yum package (if no permissions can be modified first chmod 777 *)
RPM-IVH python-iniparse-0.3.1-2.1.el6.noarch.rpm RPM-IVHyum-metadata-parser-1.1.2-16.el6.i686.
Yum. sh #! /Bin/bashread-p quot; enter the image file path (for example,/root/rhel5u5. iso): quot; jingxiangread-p quot; enter Mount point (e.g.:/iso): quot; gzdmount-tiso9660 quot; $ jingxiang quot; $ gzd qu yum. sh
#! /Bin/bash read-p "Enter the image file path (for example,/root/rhel5u5. iso): "jingxiang read-p", enter a mount point (for example,/iso ): "gzd mount-t iso9660" $ jingxiang "" $ gzd "
@ localhost centos5] # nbsp; vi/etc/yum. repos. d/CenOS-Base.repo
Add the following content:
# CentOS-Base.repo## The mirror system uses the connecting IP address of the client and# Update status of each mirror to pick mirrors that are updated to and# Geographically close to the client. You shoshould use this for CentOS updates# Unless you are manually picking other mirrors.## If the specified list = does not work for you, as a fall back you can try
How can I solve the yum. pid lock problem ?, Yum. pid locking Solution
The following error occurs when you use yum list today:
Existing lock/var/run/yum. pid: another copy is runing as pid 2560.
Another app is currently holding the yum lock; waiting for it to exit...
The oth
OS version:[email protected] etc]# cat Redhat-releaseRed Hat Enterprise Linux Server Release 5.4 (Tikanga)---run Yum error[email protected] ~]# Yum Install dialogThere was a problem importing one of the Python modulesRequired to run Yum. The error leading to this problem was:No module named YumInstall a package which provides this module, orVerify the module is i
CentOS VPS tutorial (3) YUM source configuration on the server may require installation of many software. To build a blog, you usually need a web server that supports PHP, such as Apache and Nginx, and a relational database such as MySQL. Installing software for these classes may take a long time, including many configuration, initialization, and dependency problems. You may also need to compile some software by yourself. We can use the
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.