In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to configure the Yum of Linux". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn "how to configure the Yum of Linux"!
System program management
I. RPM package (Red Hat)
Naming format: bash-3.1-16.1.i386.rpm
Package name-version number-number of releases-hardware platform-suffix name
Rpm management command
Rpm-Q [suboption] [software name]
Rpm-qa to view a list of all rpm packages installed on the system
Rpm-qpi views the details of the software through the .rpm package file
Rpm-qpl looks at the directories contained in the .rpm installation package. File list
Installation
Rpm-I rpm package file installs a new rpm package
Rpm-U upgrades a rpm package, or installs it if it is not originally installed
Rpm-F updates a rpm software. if it is not installed, the installation is abandoned.
Unloading
Rpm-e software name
Source code (flexible customization)
Tarball packet
Tar.gz or tar.bz2
Effectiveness tool
Md5sum
Installation
Step 1:tar unpack
Step 2:./configure configuration
Step 3:make compilation
Step 4: make instal
Step 5: service httpd restart
Service network restart
Step 6.cd / var/www/
Yum
Local: yum (file local)
Command:
Cd / etc/yum.repos.d/xd
Mount:
1. Mount the CD and image to / mnt
Mount / dev/cdrom / mnt
two。 Configure yum Feed
Vim / etc/yum.repos.d/xxx.repo
[xxx]
Local to baseurl= file:///mnt/Server(flie)
Enabled=1 (whether to start the file 0 No 1 Yes)
Gpgcheck=0
3. Installation
Yum-y install Software name (vsftpd)
Restart yum service vsftpd start
Server yum
Command:
Cd / etc/yum.repos.d/
Sharing is provided on the server side.
The server installs a ftp
Mount the CD image to the shared directory of ftp
Mount:
Mount / dev/cdrom / var/ftp/pub
It is necessary to ensure that the two machines can communicate properly (can ping)
Second, configure the client
Vim / etc/yum.repos.d/xxx.repo
[xxx]
Baseurl= ftp://192.168.18.221/dev/cdrom / var/ftp/pub [server ip address and shared directory]
Enabled=1 (whether to start the file 0 No 1 Yes)
Gpgcheck=0
Turn on service vsftpd start
At this point, I believe you have a deeper understanding of "how to configure the Yum of Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.