This is the process of my configuration in the project, absolutely no problem:
Sometimes when the program is updated, some installation packages are missing, and RPM is installed. There will be a lack of dependency packages that cause various problems. But through the yum way to install, it has its own data dictionary, can automatically calculate the dependencies between the various packages, automatically install the dependent package, the following describes the local yum source and ftp source configuration.
Configure the local yum source
to put the CD or upload the iso image; mount to the specified directory: mount /dev/sro /mnt; (you can use the mount command to view the mount area) If it is a mirror File, you can use mount XXX.iso –o loop /mnt to mount and edit the yum configuration file: create a new .repo file
vi /etc/yum.repos.d/rhel-update.repo
[rhel-base]
name=base
baseurl=file:///mnt
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
The configuration work has been completed after completing the above work: install yum install XXX -y, uninstall yum Remove XXX –y (-y is no reminder to install automatically).
Configure the ftp source
into the CD or upload the iso image; mount to the specified directory: mount /dev/sro /mnt; if it is an image file, you can use mount XXX.iso –o loop /mnt Mount; must install the vsftpd service, check whether it is installed, if not, find and install it in the image package; let ftp log in anonymously. If the anonymous user login is prohibited before, modify it in the configuration file, the system defaults to anonymous user. Can log in. Mkdir /var/ftp/pub/rhel6.4
cp –rf /mnt/* /var/ftp/pub/rhel6.4
rm -fr /var/ftp/pub/rhel6. 4/*.html
Modify the rhel-update.repo file
[RHEL64]
name=RHEL64
baseurl=ftp://133.1. 5.18/pub/rhel6.4
enabled=1
gpgcheck=1
gpgkey=ftp://133.1.5.18/pub/rhel6.4/RPM-GPG -KEY-redhat-release
When you want to use yum on any machine, you can use this rhel-update.repo file cp to /etc/yum.repos.d/; use: install yum install XXX -y, Uninstall yum remove XXX –y (-y is no reminder to install automatically).
Today, Xiaobian is a beginner Linux developer to explain how to install Linux. Here Xiaobian
Well, I’ve been internships in Netease games lately, so it seems that I haven’t come up to
Basic minimalist directory file after successful production First, the basic boot process of the s
First, the interrupt system hardware architecture: arm cortex-A9, the interrupt controller on A15 i
Linux system transfer files between
Ubuntu10.10 installed arm version of Qt encountered error: thread-local storage no
Linux shared wifi to Android phone
How to configure peer-to-peer VPN
Ubuntu update kernel switch kernel boot
Linux handle leak problem view
Building javaweb server on Linux
Linux service configuration linux system routing configuration
Command Description for Suspending (Standby) in Linux
Windows 8 M3 Build 7955 leaks cloud roaming function
Linux shell implements HTTP service
How to disable the use of U disk
Win10 system adjustment icon size tips
Win8/8.1 system encountered a quick start failure attempt
A few simple moves to change the computer boot music
How does win10 downgrade win7/win8? Win10 how to return to the previous version?
Explain the quick installation of Windows XP operating system