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 configuration file Drop directory[[Email protected] yum.repos.d]# mv Centos-base.repo Centos-base.repo.bak First rename
Replace yum source and yum Source
1. Back up the original yum source to prevent restoration when an error occurs.
Mv/etc/yum. repos. d/CentOS-Base.repo/etc/yum. repos. d/CentOS-Base.repo.backup
2. Go to the yum. repos. d direct
1. Network Problems (1) set nameserver,/etc/resolv. conf nameserver 8.8.8.8(2) check whether the Network is available. If a virtual machine is used, set the network to the bridging mode instead of the NAT mode.Ping 8.8.8.8 (check whether the Ping is successful and whether packet loss occurs. If packet loss occurs, refer to Article 2nd .)(3) proxy. If there is a proxy, set the proxy information in/etc/yum. conf. Proxy = http: // ip: Port2. network Prob
Yum,yellow Dog Updater ModifiedSoftware update mechanism based on RPM package constructionAutomatically resolve package dependenciesAll packages are provided by a centralized Yum software repositoryYum's basic configuration file:Basic settings:/etc/yum.confWarehouse Configuration:/etc/yum.repos.d/*.repoLog file:/var/log/yum.logCache directory:/var/cache/yum/$base
Two test servers: server-side 172.16.1.53Client 172.16.1.59Between the two servers to be able to ping throughServer-Side software that needs to be installed:Createrepo createrepo-0.9.8-5.el6.noarch.rpm (centos6.3x64)vsftp vsftpd-2.2.2-11.el6.x86_64.rpm (centos6.3x64)[[Email protected] ~] # cd/yumlocal/packages/ into the package storage location[[email protected]/] # yum Install Createrepoor [[email protected]]# RPM-IVH createrepo-0.9.8-5.el6.noarch.rp
[Email protected] bin]# yum-y install LrzszLoaded Plugins:fastestmirrorExisting lock/var/run/yum.pid:another copy is running as PID 1580.Another app is currently holding the Yum lock; Waiting for it to exit ...The other application Is:yummemory:37 M RSS (331 MB VSZ)started:wed 23:05:35 2018-12:26 agostate:traced/stopped, pid:1580Another app is currently holding the Yum
opened on this computer, prompting for insufficient permissions.Workaround: Under Superuser, give the directory of the application to a 777 permissions, so you can open it. 2. The landlord in the real machine to do experiments, first put the real machine on the Firefox browser to delete, and then use RPM-VIH filename.rpm format installation appeared error650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/89/44/wKioL1gOJSrBTkpaAAFPktrCPVc992.png-wh_500x0-wm_3 -wmp_4-s_1992618860.png "tit
First install the createrepo-0.9.9-17.el6.noarch.rpmI built Yum before, so I installed it directly with Yum install.My system is redhat6.
[[emailprotected]rpm-gpg]#yuminstallcreaterepoloadedplugins: Product-id,refresh-packagekit,security,subscription-managerthissystemisnot registeredtoRedHatSubscriptionManagement.Youcanuse Subscription-managertoregister. settingupinstallprocessresolvingdependencies-->r
When you need to install a Linux system, whether it is to buy or download images online to obtain a CD to install, this CD itself contains some of our daily needs of common software, such as Vim,wget. For Linux system if you want to install some software without network, if you need to install some common software, in the past, we use RPM to install such software, RPM package installation may also need to rely on other RPM packages, installation to complete a software is very inconvenient. So it
Install Mono using the yum command in centos 7, centos 7 yum
Preface
After trying to install mono on the Internet, this installation process went through about two weeks and tried various versions and all the installation methods described by the blogs. You can try different versions of mono by installing the following content. And Standard installation in informal environments.
1. Install the required Libr
Configure the local YUM source in RHEL6.5 and RHEL6.5 configure the YUM Source
1. Create a rhel-debuginfo.repo. If yes, back up and delete it.
cd /etc/yum.repos.d rm rhel-debuginfo.repo vi rhel-debuginfo.repo
Insert the following content:
[Server] name = Red Hat Enterprise Linux Server baseurl = file: /// home/redhat-iso # local iso Mount path enabled = 1 # You can use
Transferred from: http://blog.csdn.net/testcs_dn/article/details/48711805Using Yum to install the Scheduled Tasks feature, the results are prompt:# yum-y Install vixie-cronloaded plugins:fastestmirror, Refresh-packagekit, securityexisting Lock/var/run/yum.pid:ano Ther copy is running as PID 25960.Another app is currently holding the Yum lock; Waiting for it to ex
Yum hint Another app is currently holding the Yum lock; Waiting for it to exit ...[[Emailprotected]~]#yumrepolistanotherappiscurrentlyholding theyumlock;waitingforittoexit...theother applicationis:PackageKitMemory:153MRSS (266mbvsz) Started:ThuJul1200:03:052012 -06:17agostate:sleeping,pid:14997another appiscurrentlyholdingtheyumlock;waitingforit toexit...theotherapplicationis:packagekit memory:153mrss (266m
I am on the mini centos6.8 network with Yum 163 source installed JDK.
First I was installed with the Yum Group of Java Platform (Java platform), after installation in/usr/lib/jvm/java-xxxxxxx have this JDK, Bart can use the Java command after installation, I was also a face, no matter, to a wave of environmental variables set first, Vi/etc/profile, flip-flops, source/etc/profile, see java-version have shown
Yum Install a package, the following error occurred;-bash:/usr/bin/yum:/usr/bin/python:bad interpreter: No file or directory
See if Yum and Python rpm are installed and the system has yum and Python rpm packages installed.Check the system command:# ls-l/usr/bin/yum #
The following are the contents of the man 5 yum.confRepositoryid This identity must be uniqueName of the WarehouseBaseURL point to Warehouse (address + directory)The URL can be HTTP./ftp://file://Note: There must be no spaces around the equals signThe file in the specified warehouse can also have the following parameters:mirrorlist specifies a file at the far end, and the content of this file is the URL. This way, you can simply maintain the download path. If you want to use Mirrorlist,
Before learning Yum Online installation do not know where the error followed by the teacher's tutorial to walk the configuration file also looked no wrong but also reported wrong this is the error chart belowHere is a description of the "#" is the comment can not write this is etc/yum.repos.d/below LS a bit of linux Centos-media.repo configuration fileTried a lot of times, so I changed the file suffix to another name and recreated a centos-media.repo.
Common commandsYum check-update Check for updatable RPM packagesYum update updates all RPM packagesYum Update kernel Kernel-source updates the specified RPM package, such as update kernel and kernel sourceYum upgrade a large-scale version upgrade, unlike Yum Update, even the old obsolete package is upgradedYum Remove Licq removes RPM packages, including packages that are dependent on the packageYum Clearn or Yum
1. Copy all centos Yum files, but actually only use base files.
[Root @ server yum. Repos. d] # lsCentOS-Base.repo CentOS-Debuginfo.repo. B CentOS-Media.repo. B server. Repo. B
2. Check the file and learn the following points:
Enabled = 0 do not enable this yum;
[Root @ server yum. Repos. d] # Cat CentOS-Base.repo# Cen
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.