First, Introduction Yum's main function is more convenient to add/remove/update RPM packages, automatically solve the problem of package dependencies, easy to manage a large number of system update issues, the idea is to use a central warehouse
There are two methods to configure yum. One is to directly configure Yum under the/etc directory. CONF file, the other is in/etc/yum. repos. d directory. repo file.
1. Yum configuration file
$ CAT/etc/yum. conf
[Main]Cachedir
In Oracle Linux 5, we can use ORACLE validated configuration to accelerate the deployment of the Oracle environment. For more information about validated deployments, see:
Oraclevalidated configurations installation
Rpm(RedHat Package Manager)
The RPM Installation Package Manager, developed as RedHat, is used to install and manage downloaded packages on the Internet or CD. It is very useful. In centos, it usually generates files ending with. rpm.
These packages
Since Redhat's Yum online update is chargeable and cannot be used if not registered, if you want to use it, you need to uninstall Redhat Yum, restart the installation, and then configure other sources.This article includes configuring local sources
Tag:play rhel last new Acceleration location includes policy repos 1. Delete Redhat's original YumRpm-aq|grep Yum|xargs rpm-e--nodeps2. Download the Yum installation filewget
Since the Yum online update for Rhel is chargeable, it cannot be used if not registered, that is, the software cannot be installed online. In this case, if the machine we are using is a rhel system, it will be cumbersome to mount the local CD-ROM
Preparatory work
The CentOS 6.5 system is installed
JDK download, the author is the RPM version of the
Tomcat download, the author is the tar.gz version of the
Procedure to install the JDK
New Java installation
Full configuration of Linux yum SourceI. Introduction yum is mainly used to conveniently Add/delete/update RPM packages. It automatically solves the dependency problem of packages and facilitates management of a large number of system updates, the
YUM Detailed installation Configuration document
Introduction of Yum
1, Yum is what.
Yum = Yellow Dog Updater, Modified was originally developed by Yellow Dog, the developer of this release, Terra Soft, written in Python,
It was also called yup
1. Configure the Yum local source1. Mount the image[[email protected] ~]# mount /dev/cdrom /mnt2. See if the mount is successful[[email protected] ~]# df -hFilesystem Size Used Avail Use% Mounted on/dev/sda3 49G 1.3G 48G 3%
CentOSVPS tutorial (3) YUM source configuration on the server, you may need to install a lot of 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. To install
I don't know why. Shanghai Jiao Tong University's fedora update source is much faster than Tsinghua's update source. In the so-called one more friend one more way, add an education network to update the source Tsinghua: 1: use VI or gedit (it is
Yum As the name implies, yellow dog Updater and modified. Yum perform the same work for rpm-based systems. It provides a simple command that can be used to automatically install or update a software package after you first install and update any
The default centos comes with a lot of good software, so you need to add a third source1. Install the centos Yum source priority plug-in Yum-PrioritiesYum install yum-plugin-priorities.noarch2. Set the highest priority of the centos default Yum
Yum can search software dependencies from many package repositories, thereby reducing the problems associated with dependencies. There is also the use of the graphical interface, in the application-add removal software under the browser is empty.
Due to Redhat Yum online update is charged, if not registered words can not be used, if you want to use, you need to redhat yum Uninstall, restart the installation, and then configure other sources, the following is a detailed process: 1. Delete
1. Local Source configuration: Cdiso.repoCopy all the contents of the ISO image file into/public/software/cdrom, where the node points to the local yum.[Email protected] ~]# vim/etc/yum.repos.d/cdiso.repo[cd1]name=cd1baseurl=file:/ /
We know that Linux is open source, its own powerful commands are open source, that is, we can obtain the source code of these commands and study it. So how exactly did you get the source code for the system command?The source code of the command is
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.