A
YUM Baidu definition: Yum (full name Yellow dog Updater, Modified) is a Shell front-end package manager in Fedora, RedHat and CentOS. Based on RPM package management, it can automatically download and install RPM packages from a specified server, can automatically handle dependencies, and install all dependent software packages at once, without having to download and install again and again.
Second
install yum method :
# cd /etc/yum.repos.d/
Enter the configuration file directory- Edit the configuration file, but the suffix must be .repo
vim rhel7.repo
编辑内容如下
[rhel7]
name=rhel7
baseurl=file:///media/cdrom
enabled=1
gpgcheck=0
- After creating the mount point, perform the mount operation and set it to automatically mount at boot
mkdir -p /media/cdrom
mount /dev/cdrom /media/cdrom
vim /etc/fstab
`
- Install web service with software library
yum install httpd
Three
different types of files corresponding to the save directory
Four download software
yum is the package manager
yum.conf This is the yum configuration file
yum.repos.d This yum software repository
yum list mysql #查看本地是否有mysql 包,有的话会列出来
yum search mysql #在仓库中找资源
yum install MySQL-python.x86_64 #选择安装版本
yum remove MySQL-python.x86_64 #移除安装包