标签:maria ext4 依赖 baseurl eve 逻辑 标识 编译 users
一、自建yum仓库,分别为网络源和本地源# rpm -q autofs
autofs-5.0.7-109.el7.x86_64
# cd /etc/yum.repos.d/
# mkdir bak
# mv * bak/
# vim Base.repo
[base]
name=CDROM repo
baseurl=file:///misc/cd/
gpgcheck=1
gpgkey=file:///misc/cd/RPM-GPG-KEY-CentOS-7
# yum repolist
# yum install -y mariadb-server
[base]
name=CDROM repo
baseurl=file:///misc/cd/
gpgcheck=1
gpgkey=file:///misc/cd/RPM-GPG-KEY-CentOS-7
[163.repo]
name=163.repo
baseurl=http://mirrors.163.com/centos/7/os/x86_64/
gpgcheck=1
enable=1
gpgkey=http://mirrors.163.com/centos/7/os/x86_64/RPM-GPG-KEY-CentOS-7
# yum repolist
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
源标识 源名称 状态
163.repo 163.repo 10,070
base CDROM repo 3,971
repolist: 14,041
# yum -y install lrzsz gcc openssl-devel pcre-devel apr-devel apr-util-devel
# cd /usr/local/src
# rz httpd-2.4.25.tar.bz2
# tar xf httpd-2.4.25.tar.bz2
# cd httpd-2.4.25
# ./configure --prefix=/usr/local/httpd24 --enable-ssl --enable-so
# make
# make install
# /usr/local/httpd24/bin/apachectl start
标签:maria ext4 依赖 baseurl eve 逻辑 标识 编译 users
原文地址:https://blog.51cto.com/12514160/2511731