httpd是Apache超文本传输协议(HTTP)服务器的主程序。被设计为一个独立运行的后台进程,它会建立一个处理请求的子进程或线程的池。
httpd用在哪里:httpd是一个开源软件,且一般用作web服务器来使用。目前最流行的web服务器软件叫httpd,在早期的http server就叫做apache,到了http server 2.0以后就改名为httpd了。 所以有时候听到apache服务器和httpd服务器其实都是指得是一个意思。
httpd什么时候用:通常,httpd不应该被直接调用,而应该在Linux系统中由 apachectl 调用,在Windows NT/2000/XP/2003中作为服务运行和在Windows 95/98/ME中作为控制台程序运行。
httpd的优点:
1.事先创建进程,并且适量维持适量的进程
2.模块较小,核心较小,各种功能通过模块添加或者运行时也可配置
3.支持单独编译模块,使用时添加
4.支持多种虚拟主机配置(一个主机部署多个网站)如ip,端口和域名
5.支持https协议(证书加密)
6.用户认证
7.限制所有的ip和域名访问
8.目录的访问控制,用户访问某特定目录时需要提供用户名和密码,访问默认不需要
9.支持URL重写
10.多处理模块
httpd的替代品Nginx、kangle、Boa、tomcat
1.安装用户
[root@client ~]# useradd -r -M -s /sbin/nologin apache
[root@client ~]# id apache
uid=994(apache) gid=991(apache) groups=991(apache)
2.下载安装wget、apr-util-1.6.1、apr-1.7.0、httpd-2.4.54、vim、make、gcc、gcc-c++
[root@client ~]# yum -y install wget
Last metadata expiration check: 2:26:15 ago on Sun 25 Dec 2022 05:04:48 PM CST.
Dependencies resolved.
=======================================================================================
Package Architecture Version Repository Size
=======================================================================================
Installing:
wget x86_64 1.19.5-11.el8 appstream 734 k
Installing dependencies:
libmetalink x86_64 0.1.3-7.el8 baseos 32 k
Transaction Summary
=======================================================================================
Install 2 Packages
Total download size: 766 k
Installed size: 2.8 M
Downloading Packages:
(1/2): libmetalink-0.1.3-7.el8.x86_64.rpm 132 kB/s | 32 kB 00:00
(2/2): wget-1.19.5-11.el8.x86_64.rpm 2.0 MB/s | 734 kB 00:00
---------------------------------------------------------------------------------------
Total 452 kB/s | 766 kB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libmetalink-0.1.3-7.el8.x86_64 1/2
Installing : wget-1.19.5-11.el8.x86_64 2/2
Running scriptlet: wget-1.19.5-11.el8.x86_64 2/2
Verifying : wget-1.19.5-11.el8.x86_64 1/2
Verifying : libmetalink-0.1.3-7.el8.x86_64 2/2
Installed:
libmetalink-0.1.3-7.el8.x86_64 wget-1.19.5-11.el8.x86_64
Complete!
[root@client src]# wget https://downloads.apache.org/apr/apr-1.7.0.tar.gz
--2022-12-25 19:32:50-- https://downloads.apache.org/apr/apr-1.7.0.tar.gz
Resolving downloads.apache.org (downloads.apache.org)... 135.181.214.104, 88.99.95.219, 2a01:4f9:3a:2c57::2, ...
Connecting to downloads.apache.org (downloads.apache.org)|135.181.214.104|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1093896 (1.0M) [application/x-gzip]
Saving to: ‘apr-1.7.0.tar.gz’
apr-1.7.0.tar.gz 100%[========================>] 1.04M 16.9KB/s in 56s
2022-12-25 19:33:48 (19.0 KB/s) - ‘apr-1.7.0.tar.gz’ saved [1093896/1093896]
[root@client src]# wget https://downloads.apache.org/apr/apr-util-1.6.1.tar.gz
--2022-12-25 19:33:58-- https://downloads.apache.org/apr/apr-util-1.6.1.tar.gz
Resolving downloads.apache.org (downloads.apache.org)... 135.181.214.104, 88.99.95.219, 2a01:4f9:3a:2c57::2, ...
Connecting to downloads.apache.org (downloads.apache.org)|135.181.214.104|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 554301 (541K) [application/x-gzip]
Saving to: ‘apr-util-1.6.1.tar.gz’
apr-util-1.6.1.tar.gz 100%[========================>] 541.31K 21.4KB/s in 22s
2022-12-25 19:34:21 (25.1 KB/s) - ‘apr-util-1.6.1.tar.gz’ saved [554301/554301]
[root@client src]# wget https://downloads.apache.org/httpd/httpd-2.4.54.tar.gz
--2022-12-25 19:38:40-- https://downloads.apache.org/httpd/httpd-2.4.54.tar.gz
Resolving downloads.apache.org (downloads.apache.org)... 88.99.95.219, 135.181.214.104, 2a01:4f8:10a:201a::2, ...
Connecting to downloads.apache.org (downloads.apache.org)|88.99.95.219|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9743277 (9.3M) [application/x-gzip]
Saving to: ‘httpd-2.4.54.tar.gz’
httpd-2.4.54.tar.gz 100%[========================>] 9.29M 10.1KB/s in 9m 45s
2022-12-25 19:48:26 (16.3 KB/s) - ‘httpd-2.4.54.tar.gz’ saved [9743277/9743277]
[root@client src]# ls
apr-1.7.0.tar.gz apr-util-1.6.1.tar.gz debug httpd-2.4.54.tar.gz kernels
[root@client apr-1.7.0]# yum -y install vim
Last metadata expiration check: 2:48:25 ago on Sun 25 Dec 2022 05:04:48 PM CST.
Dependencies resolved.
=======================================================================================
Package Architecture Version Repository Size
=======================================================================================
Installing:
vim-enhanced x86_64 2:8.0.1763-19.el8.4 appstream 1.4 M
Installing dependencies:
gpm-libs x86_64 1.20.7-17.el8 appstream 39 k
vim-common x86_64 2:8.0.1763-19.el8.4 appstream 6.3 M
vim-filesystem noarch 2:8.0.1763-19.el8.4 appstream 50 k
Transaction Summary
=======================================================================================
Install 4 Packages
Total download size: 7.8 M
Installed size: 30 M
Downloading Packages:
(1/4): gpm-libs-1.20.7-17.el8.x86_64.rpm 234 kB/s | 39 kB 00:00
(2/4): vim-filesystem-8.0.1763-19.el8.4.noarch.rpm 506 kB/s | 50 kB 00:00
(3/4): vim-enhanced-8.0.1763-19.el8.4.x86_64.rpm 1.8 MB/s | 1.4 MB 00:00
(4/4): vim-common-8.0.1763-19.el8.4.x86_64.rpm 2.0 MB/s | 6.3 MB 00:03
---------------------------------------------------------------------------------------
Total 2.1 MB/s | 7.8 MB 00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : vim-filesystem-2:8.0.1763-19.el8.4.noarch 1/4
Installing : vim-common-2:8.0.1763-19.el8.4.x86_64 2/4
Installing : gpm-libs-1.20.7-17.el8.x86_64 3/4
Running scriptlet: gpm-libs-1.20.7-17.el8.x86_64 3/4
Installing : vim-enhanced-2:8.0.1763-19.el8.4.x86_64 4/4
Running scriptlet: vim-enhanced-2:8.0.1763-19.el8.4.x86_64 4/4
Running scriptlet: vim-common-2:8.0.1763-19.el8.4.x86_64 4/4
Verifying : gpm-libs-1.20.7-17.el8.x86_64 1/4
Verifying : vim-common-2:8.0.1763-19.el8.4.x86_64 2/4
Verifying : vim-enhanced-2:8.0.1763-19.el8.4.x86_64 3/4
Verifying : vim-filesystem-2:8.0.1763-19.el8.4.noarch 4/4
Installed:
gpm-libs-1.20.7-17.el8.x86_64 vim-common-2:8.0.1763-19.el8.4.x86_64
vim-enhanced-2:8.0.1763-19.el8.4.x86_64 vim-filesystem-2:8.0.1763-19.el8.4.noarch
Complete!
[root@client apr-1.7.0]# yum -y install gcc gcc-c++ make
Last metadata expiration check: 3:00:40 ago on Sun 25 Dec 2022 05:04:48 PM CST.
Dependencies resolved.
=======================================================================================
Package Architecture Version Repository Size
=======================================================================================
Installing:
gcc x86_64 8.5.0-17.el8 baseos 23 M
gcc-c++ x86_64 8.5.0-17.el8 appstream 12 M
make x86_64 1:4.2.1-11.el8 baseos 498 k
Installing dependencies:
binutils x86_64 2.30-119.el8 baseos 5.8 M
cpp x86_64 8.5.0-17.el8 baseos 10 M
glibc-devel x86_64 2.28-220.el8 baseos 83 k
glibc-headers x86_64 2.28-220.el8 baseos 488 k
isl x86_64 0.16.1-6.el8 appstream 841 k
kernel-headers x86_64 4.18.0-408.el8 baseos 9.8 M
libmpc x86_64 1.1.0-9.1.el8 appstream 61 k
libpkgconf x86_64 1.4.2-1.el8 baseos 35 k
libstdc++-devel x86_64 8.5.0-17.el8 appstream 2.1 M
libxcrypt-devel x86_64 4.1.1-6.el8 baseos 25 k
pkgconf x86_64 1.4.2-1.el8 baseos 38 k
pkgconf-m4 noarch 1.4.2-1.el8 baseos 17 k
pkgconf-pkg-config x86_64 1.4.2-1.el8 baseos 15 k
Transaction Summary
=======================================================================================
Install 16 Packages
Total download size: 66 M
Installed size: 165 M
Downloading Packages:
(1/16): libmpc-1.1.0-9.1.el8.x86_64.rpm 368 kB/s | 61 kB 00:00
(2/16): isl-0.16.1-6.el8.x86_64.rpm 2.5 MB/s | 841 kB 00:00
(3/16): libstdc++-devel-8.5.0-17.el8.x86_64.rpm 4.1 MB/s | 2.1 MB 00:00
(4/16): gcc-c++-8.5.0-17.el8.x86_64.rpm 5.6 MB/s | 12 MB 00:02
(5/16): binutils-2.30-119.el8.x86_64.rpm 3.0 MB/s | 5.8 MB 00:01
(6/16): glibc-devel-2.28-220.el8.x86_64.rpm 1.1 MB/s | 83 kB 00:00
(7/16): glibc-headers-2.28-220.el8.x86_64.rpm 3.1 MB/s | 488 kB 00:00
(8/16): kernel-headers-4.18.0-408.el8.x86_64.rpm 4.0 MB/s | 9.8 MB 00:02
(9/16): libpkgconf-1.4.2-1.el8.x86_64.rpm 405 kB/s | 35 kB 00:00
(10/16): libxcrypt-devel-4.1.1-6.el8.x86_64.rpm 431 kB/s | 25 kB 00:00
(11/16): make-4.2.1-11.el8.x86_64.rpm 3.1 MB/s | 498 kB 00:00
(12/16): pkgconf-1.4.2-1.el8.x86_64.rpm 487 kB/s | 38 kB 00:00
(13/16): pkgconf-m4-1.4.2-1.el8.noarch.rpm 312 kB/s | 17 kB 00:00
(14/16): pkgconf-pkg-config-1.4.2-1.el8.x86_64.rpm 324 kB/s | 15 kB 00:00
(15/16): gcc-8.5.0-17.el8.x86_64.rpm 5.7 MB/s | 23 MB 00:04
(16/16): cpp-8.5.0-17.el8.x86_64.rpm 1.8 MB/s | 10 MB 00:05
---------------------------------------------------------------------------------------
Total 8.7 MB/s | 66 MB 00:07
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libmpc-1.1.0-9.1.el8.x86_64 1/16
Installing : cpp-8.5.0-17.el8.x86_64 2/16
Running scriptlet: cpp-8.5.0-17.el8.x86_64 2/16
Installing : pkgconf-m4-1.4.2-1.el8.noarch 3/16
Installing : libpkgconf-1.4.2-1.el8.x86_64 4/16
Installing : pkgconf-1.4.2-1.el8.x86_64 5/16
Installing : pkgconf-pkg-config-1.4.2-1.el8.x86_64 6/16
Installing : kernel-headers-4.18.0-408.el8.x86_64 7/16
Running scriptlet: glibc-headers-2.28-220.el8.x86_64 8/16
Installing : glibc-headers-2.28-220.el8.x86_64 8/16
Installing : libxcrypt-devel-4.1.1-6.el8.x86_64 9/16
Installing : glibc-devel-2.28-220.el8.x86_64 10/16
Running scriptlet: glibc-devel-2.28-220.el8.x86_64 10/16
Installing : binutils-2.30-119.el8.x86_64 11/16
Running scriptlet: binutils-2.30-119.el8.x86_64 11/16
Installing : libstdc++-devel-8.5.0-17.el8.x86_64 12/16
Installing : isl-0.16.1-6.el8.x86_64 13/16
Running scriptlet: isl-0.16.1-6.el8.x86_64 13/16
Installing : gcc-8.5.0-17.el8.x86_64 14/16
Running scriptlet: gcc-8.5.0-17.el8.x86_64 14/16
Installing : gcc-c++-8.5.0-17.el8.x86_64 15/16
Installing : make-1:4.2.1-11.el8.x86_64 16/16
Running scriptlet: make-1:4.2.1-11.el8.x86_64 16/16
Verifying : gcc-c++-8.5.0-17.el8.x86_64 1/16
Verifying : isl-0.16.1-6.el8.x86_64 2/16
Verifying : libmpc-1.1.0-9.1.el8.x86_64 3/16
Verifying : libstdc++-devel-8.5.0-17.el8.x86_64 4/16
Verifying : binutils-2.30-119.el8.x86_64 5/16
Verifying : cpp-8.5.0-17.el8.x86_64 6/16
Verifying : gcc-8.5.0-17.el8.x86_64 7/16
Verifying : glibc-devel-2.28-220.el8.x86_64 8/16
Verifying : glibc-headers-2.28-220.el8.x86_64 9/16
Verifying : kernel-headers-4.18.0-408.el8.x86_64 10/16
Verifying : libpkgconf-1.4.2-1.el8.x86_64 11/16
Verifying : libxcrypt-devel-4.1.1-6.el8.x86_64 12/16
Verifying : make-1:4.2.1-11.el8.x86_64 13/16
Verifying : pkgconf-1.4.2-1.el8.x86_64 14/16
Verifying : pkgconf-m4-1.4.2-1.el8.noarch 15/16
Verifying : pkgconf-pkg-config-1.4.2-1.el8.x86_64 16/16
Installed:
binutils-2.30-119.el8.x86_64 cpp-8.5.0-17.el8.x86_64
gcc-8.5.0-17.el8.x86_64 gcc-c++-8.5.0-17.el8.x86_64
glibc-devel-2.28-220.el8.x86_64 glibc-headers-2.28-220.el8.x86_64
isl-0.16.1-6.el8.x86_64 kernel-headers-4.18.0-408.el8.x86_64
libmpc-1.1.0-9.1.el8.x86_64 libpkgconf-1.4.2-1.el8.x86_64
libstdc++-devel-8.5.0-17.el8.x86_64 libxcrypt-devel-4.1.1-6.el8.x86_64
make-1:4.2.1-11.el8.x86_64 pkgconf-1.4.2-1.el8.x86_64
pkgconf-m4-1.4.2-1.el8.noarch pkgconf-pkg-config-1.4.2-1.el8.x86_64
Complete!
3.解压
[root@client src]# tar xf apr-1.7.0.tar.gz
[root@client src]# tar xf apr-util-1.6.1.tar.gz
[root@client src]# tar xf httpd-2.4.54.tar.gz
[root@client src]# ls
apr-1.7.0 apr-util-1.6.1 debug httpd-2.4.54.tar.gz
apr-1.7.0.tar.gz apr-util-1.6.1.tar.gz httpd-2.4.54 kernels
4.删除apr-1.6.5的configure文件里面的$RM "$cfgfile"这一行
[root@client apr-1.7.0]# vim configure
case $ac_file$ac_mode in
"libtool":C)
# See if we are running on zsh, and set the options that allow our
# commands through without removal of \ escapes.
if test -n "${ZSH_VERSION+set}"; then
setopt NO_GLOB_SUBST
fi
cfgfile=${ofile}T
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
cat <<_LT_EOF >> "$cfgfile"
#! $SHELL
5.安装依赖包
[root@client ~]# yum -y install openssl-devel pcre-devel expat-devel libtool
Last metadata expiration check: 0:42:28 ago on Sun 25 Dec 2022 08:39:35 PM CST.
Dependencies resolved.
=========================================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================================
Installing:
expat-devel x86_64 2.2.5-10.el8.1 baseos 57 k
libtool x86_64 2.4.6-25.el8 appstream 709 k
openssl-devel x86_64 1:1.1.1k-7.el8 baseos 2.3 M
pcre-devel x86_64 8.42-6.el8 baseos 551 k
Upgrading:
expat x86_64 2.2.5-10.el8.1 baseos 113 k
Installing dependencies:
autoconf noarch 2.69-29.el8 appstream 710 k
automake noarch 1.16.1-7.el8 appstream 713 k
binutils x86_64 2.30-119.el8 baseos 5.8 M
cpp x86_64 8.5.0-17.el8 baseos 10 M
emacs-filesystem noarch 1:26.1-7.el8 baseos 70 k
gcc x86_64 8.5.0-17.el8 baseos 23 M
glibc-devel x86_64 2.28-220.el8 baseos 83 k
glibc-headers x86_64 2.28-220.el8 baseos 488 k
isl x86_64 0.16.1-6.el8 appstream 841 k
kernel-headers x86_64 4.18.0-408.el8 baseos 9.8 M
keyutils-libs-devel x86_64 1.5.10-9.el8 baseos 48 k
krb5-devel x86_64 1.18.2-22.el8 baseos 561 k
libcom_err-devel x86_64 1.45.6-5.el8 baseos 39 k
libkadm5 x86_64 1.18.2-22.el8 baseos 187 k
libmpc x86_64 1.1.0-9.1.el8 appstream 61 k
libpkgconf x86_64 1.4.2-1.el8 baseos 35 k
libselinux-devel x86_64 2.9-6.el8 baseos 200 k
libsepol-devel x86_64 2.9-3.el8 baseos 87 k
libverto-devel x86_64 0.3.2-2.el8 baseos 18 k
libxcrypt-devel x86_64 4.1.1-6.el8 baseos 25 k
m4 x86_64 1.4.18-7.el8 baseos 223 k
pcre-cpp x86_64 8.42-6.el8 baseos 47 k
pcre-utf16 x86_64 8.42-6.el8 baseos 195 k
pcre-utf32 x86_64 8.42-6.el8 baseos 186 k
pcre2-devel x86_64 10.32-3.el8 baseos 605 k
pcre2-utf16 x86_64 10.32-3.el8 baseos 229 k
pcre2-utf32 x86_64 10.32-3.el8 baseos 220 k
perl-Carp noarch 1.42-396.el8 baseos 30 k
perl-Data-Dumper x86_64 2.167-399.el8 baseos 58 k
perl-Digest noarch 1.17-395.el8 appstream 27 k
perl-Digest-MD5 x86_64 2.55-396.el8 appstream 37 k
perl-Encode x86_64 4:2.97-3.el8 baseos 1.5 M
perl-Errno x86_64 1.28-421.el8 baseos 76 k
perl-Exporter noarch 5.72-396.el8 baseos 34 k
perl-File-Path noarch 2.15-2.el8 baseos 38 k
perl-File-Temp noarch 0.230.600-1.el8 baseos 63 k
perl-Getopt-Long noarch 1:2.50-4.el8 baseos 63 k
perl-HTTP-Tiny noarch 0.074-1.el8 baseos 58 k
perl-IO x86_64 1.38-421.el8 baseos 142 k
perl-MIME-Base64 x86_64 3.15-396.el8 baseos 31 k
perl-Net-SSLeay x86_64 1.88-1.module_el8.4.0+517+be1595ff appstream 379 k
perl-PathTools x86_64 3.74-1.el8 baseos 90 k
perl-Pod-Escapes noarch 1:1.07-395.el8 baseos 20 k
perl-Pod-Perldoc noarch 3.28-396.el8 baseos 86 k
perl-Pod-Simple noarch 1:3.35-395.el8 baseos 213 k
perl-Pod-Usage noarch 4:1.69-395.el8 baseos 34 k
perl-Scalar-List-Utils x86_64 3:1.49-2.el8 baseos 68 k
perl-Socket x86_64 4:2.027-3.el8 baseos 59 k
perl-Storable x86_64 1:3.11-3.el8 baseos 98 k
perl-Term-ANSIColor noarch 4.06-396.el8 baseos 46 k
perl-Term-Cap noarch 1.17-395.el8 baseos 23 k
perl-Text-ParseWords noarch 3.30-395.el8 baseos 18 k
perl-Text-Tabs+Wrap noarch 2013.0523-395.el8 baseos 24 k
perl-Thread-Queue noarch 3.13-1.el8 appstream 24 k
perl-Time-Local noarch 1:1.280-1.el8 baseos 34 k
perl-URI noarch 1.73-3.el8 appstream 116 k
perl-Unicode-Normalize x86_64 1.25-396.el8 baseos 82 k
perl-constant noarch 1.33-396.el8 baseos 25 k
perl-interpreter x86_64 4:5.26.3-421.el8 baseos 6.3 M
perl-libnet noarch 3.11-3.el8 appstream 121 k
perl-libs x86_64 4:5.26.3-421.el8 baseos 1.6 M
perl-macros x86_64 4:5.26.3-421.el8 baseos 72 k
perl-parent noarch 1:0.237-1.el8 baseos 20 k
perl-podlators noarch 4.11-1.el8 baseos 118 k
perl-threads x86_64 1:2.21-2.el8 baseos 61 k
perl-threads-shared x86_64 1.58-2.el8 baseos 48 k
pkgconf x86_64 1.4.2-1.el8 baseos 38 k
pkgconf-m4 noarch 1.4.2-1.el8 baseos 17 k
pkgconf-pkg-config x86_64 1.4.2-1.el8 baseos 15 k
zlib-devel x86_64 1.2.11-20.el8 baseos 58 k
Installing weak dependencies:
perl-IO-Socket-IP noarch 0.39-5.el8 appstream 47 k
perl-IO-Socket-SSL noarch 2.066-4.module_el8.4.0+517+be1595ff appstream 298 k
perl-Mozilla-CA noarch 20160104-7.module_el8.3.0+416+dee7bcef appstream 15 k
Enabling module streams:
perl 5.26
perl-IO-Socket-SSL 2.066
perl-libwww-perl 6.34
Transaction Summary
=========================================================================================================================================
Install 77 Packages
Upgrade 1 Package
Total download size: 71 M
Downloading Packages:
[MIRROR] autoconf-2.69-29.el8.noarch.rpm: Curl error (18): Transferred a partial file for http://mirrors.njupt.edu.cn/centos/8-stream/AppStream/x86_64/os/Packages/autoconf-2.69-29.el8.noarch.rpm [transfer closed with 498848 bytes remaining to read]
(1/78): autoconf-2.69-29.el8.noarch.rpm 33 kB/s | 710 kB 00:21
(2/78): libmpc-1.1.0-9.1.el8.x86_64.rpm 8.0 kB/s | 61 kB 00:07
(3/78): isl-0.16.1-6.el8.x86_64.rpm 23 kB/s | 841 kB 00:36
(4/78): perl-Digest-1.17-395.el8.noarch.rpm 23 kB/s | 27 kB 00:01
(5/78): perl-Digest-MD5-2.55-396.el8.x86_64.rpm 72 kB/s | 37 kB 00:00
(6/78): perl-IO-Socket-IP-0.39-5.el8.noarch.rpm 45 kB/s | 47 kB 00:01
(7/78): automake-1.16.1-7.el8.noarch.rpm 18 kB/s | 713 kB 00:39
(8/78): perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch.rpm 58 kB/s | 15 kB 00:00
(9/78): perl-Net-SSLeay-1.88-1.module_el8.4.0+517+be1595ff.x86_64.rpm 29 kB/s | 379 kB 00:13
(10/78): perl-Thread-Queue-3.13-1.el8.noarch.rpm 61 kB/s | 24 kB 00:00
(11/78): perl-URI-1.73-3.el8.noarch.rpm 18 kB/s | 116 kB 00:06
(12/78): perl-libnet-3.11-3.el8.noarch.rpm 37 kB/s | 121 kB 00:03
(13/78): binutils-2.30-119.el8.x86_64.rpm 5.4 MB/s | 5.8 MB 00:01
(14/78): cpp-8.5.0-17.el8.x86_64.rpm 9.5 MB/s | 10 MB 00:01
(15/78): emacs-filesystem-26.1-7.el8.noarch.rpm 856 kB/s | 70 kB 00:00
(16/78): expat-devel-2.2.5-10.el8.1.x86_64.rpm 452 kB/s | 57 kB 00:00
(17/78): gcc-8.5.0-17.el8.x86_64.rpm 9.1 MB/s | 23 MB 00:02
(18/78): glibc-devel-2.28-220.el8.x86_64.rpm 680 kB/s | 83 kB 00:00
(19/78): glibc-headers-2.28-220.el8.x86_64.rpm 2.4 MB/s | 488 kB 00:00
(20/78): kernel-headers-4.18.0-408.el8.x86_64.rpm 9.2 MB/s | 9.8 MB 00:01
(21/78): keyutils-libs-devel-1.5.10-9.el8.x86_64.rpm 695 kB/s | 48 kB 00:00
(22/78): krb5-devel-1.18.2-22.el8.x86_64.rpm 2.4 MB/s | 561 kB 00:00
(23/78): libcom_err-devel-1.45.6-5.el8.x86_64.rpm 336 kB/s | 39 kB 00:00
(24/78): libkadm5-1.18.2-22.el8.x86_64.rpm 1.3 MB/s | 187 kB 00:00
(25/78): libpkgconf-1.4.2-1.el8.x86_64.rpm 333 kB/s | 35 kB 00:00
(26/78): libselinux-devel-2.9-6.el8.x86_64.rpm 1.3 MB/s | 200 kB 00:00
(27/78): libsepol-devel-2.9-3.el8.x86_64.rpm 1.9 MB/s | 87 kB 00:00
(28/78): libverto-devel-0.3.2-2.el8.x86_64.rpm 210 kB/s | 18 kB 00:00
(29/78): libxcrypt-devel-4.1.1-6.el8.x86_64.rpm 279 kB/s | 25 kB 00:00
(30/78): m4-1.4.18-7.el8.x86_64.rpm 1.3 MB/s | 223 kB 00:00
(31/78): openssl-devel-1.1.1k-7.el8.x86_64.rpm 5.1 MB/s | 2.3 MB 00:00
(32/78): pcre-cpp-8.42-6.el8.x86_64.rpm 496 kB/s | 47 kB 00:00
(33/78): pcre-devel-8.42-6.el8.x86_64.rpm 3.0 MB/s | 551 kB 00:00
(34/78): pcre-utf16-8.42-6.el8.x86_64.rpm 1.3 MB/s | 195 kB 00:00
(35/78): pcre-utf32-8.42-6.el8.x86_64.rpm 1.4 MB/s | 186 kB 00:00
(36/78): pcre2-devel-10.32-3.el8.x86_64.rpm 2.5 MB/s | 605 kB 00:00
(37/78): pcre2-utf16-10.32-3.el8.x86_64.rpm 1.3 MB/s | 229 kB 00:00
(38/78): pcre2-utf32-10.32-3.el8.x86_64.rpm 1.2 MB/s | 220 kB 00:00
(39/78): perl-Carp-1.42-396.el8.noarch.rpm 329 kB/s | 30 kB 00:00
(40/78): perl-Data-Dumper-2.167-399.el8.x86_64.rpm 651 kB/s | 58 kB 00:00
(41/78): perl-Encode-2.97-3.el8.x86_64.rpm 4.1 MB/s | 1.5 MB 00:00
(42/78): perl-Errno-1.28-421.el8.x86_64.rpm 776 kB/s | 76 kB 00:00
(43/78): perl-Exporter-5.72-396.el8.noarch.rpm 387 kB/s | 34 kB 00:00
(44/78): perl-File-Path-2.15-2.el8.noarch.rpm 434 kB/s | 38 kB 00:00
(45/78): perl-File-Temp-0.230.600-1.el8.noarch.rpm 597 kB/s | 63 kB 00:00
(46/78): perl-Getopt-Long-2.50-4.el8.noarch.rpm 707 kB/s | 63 kB 00:00
(47/78): perl-HTTP-Tiny-0.074-1.el8.noarch.rpm 519 kB/s | 58 kB 00:00
(48/78): perl-IO-1.38-421.el8.x86_64.rpm 1.2 MB/s | 142 kB 00:00
(49/78): perl-MIME-Base64-3.15-396.el8.x86_64.rpm 299 kB/s | 31 kB 00:00
(50/78): perl-PathTools-3.74-1.el8.x86_64.rpm 694 kB/s | 90 kB 00:00
(51/78): perl-Pod-Escapes-1.07-395.el8.noarch.rpm 207 kB/s | 20 kB 00:00
(52/78): perl-Pod-Perldoc-3.28-396.el8.noarch.rpm 765 kB/s | 86 kB 00:00
(53/78): perl-Pod-Simple-3.35-395.el8.noarch.rpm 1.4 MB/s | 213 kB 00:00
(54/78): perl-Pod-Usage-1.69-395.el8.noarch.rpm 409 kB/s | 34 kB 00:00
(55/78): perl-Scalar-List-Utils-1.49-2.el8.x86_64.rpm 942 kB/s | 68 kB 00:00
(56/78): perl-Socket-2.027-3.el8.x86_64.rpm 485 kB/s | 59 kB 00:00
(57/78): perl-Storable-3.11-3.el8.x86_64.rpm 726 kB/s | 98 kB 00:00
(58/78): perl-Term-ANSIColor-4.06-396.el8.noarch.rpm 825 kB/s | 46 kB 00:00
(59/78): perl-Term-Cap-1.17-395.el8.noarch.rpm 298 kB/s | 23 kB 00:00
(60/78): perl-Text-ParseWords-3.30-395.el8.noarch.rpm 193 kB/s | 18 kB 00:00
(61/78): perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch.rpm 264 kB/s | 24 kB 00:00
(62/78): perl-Time-Local-1.280-1.el8.noarch.rpm 326 kB/s | 34 kB 00:00
(63/78): perl-Unicode-Normalize-1.25-396.el8.x86_64.rpm 722 kB/s | 82 kB 00:00
(64/78): perl-constant-1.33-396.el8.noarch.rpm 369 kB/s | 25 kB 00:00
(65/78): perl-interpreter-5.26.3-421.el8.x86_64.rpm 6.4 MB/s | 6.3 MB 00:00
[MIRROR] libtool-2.4.6-25.el8.x86_64.rpm: Curl error (28): Timeout was reached for http://mirrors.njupt.edu.cn/centos/8-stream/AppStream/x86_64/os/Packages/libtool-2.4.6-25.el8.x86_64.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
(66/78): perl-libs-5.26.3-421.el8.x86_64.rpm 5.5 MB/s | 1.6 MB 00:00
(67/78): perl-macros-5.26.3-421.el8.x86_64.rpm 820 kB/s | 72 kB 00:00
(68/78): libtool-2.4.6-25.el8.x86_64.rpm 15 kB/s | 709 kB 00:47
(69/78): perl-parent-0.237-1.el8.noarch.rpm 543 kB/s | 20 kB 00:00
(70/78): perl-threads-2.21-2.el8.x86_64.rpm 846 kB/s | 61 kB 00:00
(71/78): perl-podlators-4.11-1.el8.noarch.rpm 801 kB/s | 118 kB 00:00
(72/78): perl-threads-shared-1.58-2.el8.x86_64.rpm 647 kB/s | 48 kB 00:00
(73/78): pkgconf-1.4.2-1.el8.x86_64.rpm 683 kB/s | 38 kB 00:00
(74/78): pkgconf-m4-1.4.2-1.el8.noarch.rpm 344 kB/s | 17 kB 00:00
(75/78): zlib-devel-1.2.11-20.el8.x86_64.rpm 743 kB/s | 58 kB 00:00
(76/78): pkgconf-pkg-config-1.4.2-1.el8.x86_64.rpm 188 kB/s | 15 kB 00:00
(77/78): expat-2.2.5-10.el8.1.x86_64.rpm 1.4 MB/s | 113 kB 00:00
[MIRROR] perl-IO-Socket-SSL-2.066-4.module_el8.4.0+517+be1595ff.noarch.rpm: Curl error (28): Timeout was reached for http://mirrors.njupt.edu.cn/centos/8-stream/AppStream/x86_64/os/Packages/perl-IO-Socket-SSL-2.066-4.module_el8.4.0%2b517%2bbe1595ff.noarch.rpm [Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds]
(78/78): perl-IO-Socket-SSL-2.066-4.module_el8.4.0+517+be1595ff.noarch.rpm 6.0 kB/s | 298 kB 00:49
-----------------------------------------------------------------------------------------------------------------------------------------
Total 806 kB/s | 71 MB 01:30
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libmpc-1.1.0-9.1.el8.x86_64 1/79
Installing : cpp-8.5.0-17.el8.x86_64 2/79
Running scriptlet: cpp-8.5.0-17.el8.x86_64 2/79
Installing : perl-Digest-1.17-395.el8.noarch 3/79
Installing : perl-Digest-MD5-2.55-396.el8.x86_64 4/79
Installing : perl-Data-Dumper-2.167-399.el8.x86_64 5/79
Installing : perl-libnet-3.11-3.el8.noarch 6/79
Installing : perl-Net-SSLeay-1.88-1.module_el8.4.0+517+be1595ff.x86_64 7/79
Installing : perl-URI-1.73-3.el8.noarch 8/79
Installing : perl-Pod-Escapes-1:1.07-395.el8.noarch 9/79
Installing : perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch 10/79
Installing : perl-IO-Socket-IP-0.39-5.el8.noarch 11/79
Installing : perl-Time-Local-1:1.280-1.el8.noarch 12/79
Installing : perl-IO-Socket-SSL-2.066-4.module_el8.4.0+517+be1595ff.noarch 13/79
Installing : perl-Term-ANSIColor-4.06-396.el8.noarch 14/79
Installing : perl-Term-Cap-1.17-395.el8.noarch 15/79
Installing : perl-File-Temp-0.230.600-1.el8.noarch 16/79
Installing : perl-Pod-Simple-1:3.35-395.el8.noarch 17/79
Installing : perl-HTTP-Tiny-0.074-1.el8.noarch 18/79
Installing : perl-podlators-4.11-1.el8.noarch 19/79
Installing : perl-Pod-Perldoc-3.28-396.el8.noarch 20/79
Installing : perl-Text-ParseWords-3.30-395.el8.noarch 21/79
Installing : perl-Pod-Usage-4:1.69-395.el8.noarch 22/79
Installing : perl-MIME-Base64-3.15-396.el8.x86_64 23/79
Installing : perl-Storable-1:3.11-3.el8.x86_64 24/79
Installing : perl-Getopt-Long-1:2.50-4.el8.noarch 25/79
Installing : perl-Errno-1.28-421.el8.x86_64 26/79
Installing : perl-Socket-4:2.027-3.el8.x86_64 27/79
Installing : perl-Encode-4:2.97-3.el8.x86_64 28/79
Installing : perl-Carp-1.42-396.el8.noarch 29/79
Installing : perl-Exporter-5.72-396.el8.noarch 30/79
Installing : perl-libs-4:5.26.3-421.el8.x86_64 31/79
Installing : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64 32/79
Installing : perl-parent-1:0.237-1.el8.noarch 33/79
Installing : perl-macros-4:5.26.3-421.el8.x86_64 34/79
Installing : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch 35/79
Installing : perl-Unicode-Normalize-1.25-396.el8.x86_64 36/79
Installing : perl-File-Path-2.15-2.el8.noarch 37/79
Installing : perl-IO-1.38-421.el8.x86_64 38/79
Installing : perl-PathTools-3.74-1.el8.x86_64 39/79
Installing : perl-constant-1.33-396.el8.noarch 40/79
Installing : perl-threads-1:2.21-2.el8.x86_64 41/79
Installing : perl-threads-shared-1.58-2.el8.x86_64 42/79
Installing : perl-interpreter-4:5.26.3-421.el8.x86_64 43/79
Installing : perl-Thread-Queue-3.13-1.el8.noarch 44/79
Upgrading : expat-2.2.5-10.el8.1.x86_64 45/79
Installing : pkgconf-m4-1.4.2-1.el8.noarch 46/79
Installing : pcre2-utf32-10.32-3.el8.x86_64 47/79
Installing : pcre2-utf16-10.32-3.el8.x86_64 48/79
Installing : pcre-utf32-8.42-6.el8.x86_64 49/79
Installing : pcre-utf16-8.42-6.el8.x86_64 50/79
Installing : pcre-cpp-8.42-6.el8.x86_64 51/79
Installing : m4-1.4.18-7.el8.x86_64 52/79
Running scriptlet: m4-1.4.18-7.el8.x86_64 52/79
Installing : libpkgconf-1.4.2-1.el8.x86_64 53/79
Installing : pkgconf-1.4.2-1.el8.x86_64 54/79
Installing : pkgconf-pkg-config-1.4.2-1.el8.x86_64 55/79
Installing : libcom_err-devel-1.45.6-5.el8.x86_64 56/79
Installing : libsepol-devel-2.9-3.el8.x86_64 57/79
Installing : libverto-devel-0.3.2-2.el8.x86_64 58/79
Installing : pcre2-devel-10.32-3.el8.x86_64 59/79
Installing : libselinux-devel-2.9-6.el8.x86_64 60/79
Installing : zlib-devel-1.2.11-20.el8.x86_64 61/79
Installing : libkadm5-1.18.2-22.el8.x86_64 62/79
Installing : keyutils-libs-devel-1.5.10-9.el8.x86_64 63/79
Installing : krb5-devel-1.18.2-22.el8.x86_64 64/79
Installing : kernel-headers-4.18.0-408.el8.x86_64 65/79
Running scriptlet: glibc-headers-2.28-220.el8.x86_64 66/79
Installing : glibc-headers-2.28-220.el8.x86_64 66/79
Installing : libxcrypt-devel-4.1.1-6.el8.x86_64 67/79
Installing : glibc-devel-2.28-220.el8.x86_64 68/79
Running scriptlet: glibc-devel-2.28-220.el8.x86_64 68/79
Installing : emacs-filesystem-1:26.1-7.el8.noarch 69/79
Installing : autoconf-2.69-29.el8.noarch 70/79
Running scriptlet: autoconf-2.69-29.el8.noarch 70/79
Installing : automake-1.16.1-7.el8.noarch 71/79
Installing : binutils-2.30-119.el8.x86_64 72/79
Running scriptlet: binutils-2.30-119.el8.x86_64 72/79
Installing : isl-0.16.1-6.el8.x86_64 73/79
Running scriptlet: isl-0.16.1-6.el8.x86_64 73/79
Installing : gcc-8.5.0-17.el8.x86_64 74/79
Running scriptlet: gcc-8.5.0-17.el8.x86_64 74/79
Installing : libtool-2.4.6-25.el8.x86_64 75/79
Running scriptlet: libtool-2.4.6-25.el8.x86_64 75/79
Installing : openssl-devel-1:1.1.1k-7.el8.x86_64 76/79
Installing : expat-devel-2.2.5-10.el8.1.x86_64 77/79
Installing : pcre-devel-8.42-6.el8.x86_64 78/79
Cleanup : expat-2.2.5-10.el8.x86_64 79/79
Running scriptlet: expat-2.2.5-10.el8.x86_64 79/79
Verifying : autoconf-2.69-29.el8.noarch 1/79
Verifying : automake-1.16.1-7.el8.noarch 2/79
Verifying : isl-0.16.1-6.el8.x86_64 3/79
Verifying : libmpc-1.1.0-9.1.el8.x86_64 4/79
Verifying : libtool-2.4.6-25.el8.x86_64 5/79
Verifying : perl-Digest-1.17-395.el8.noarch 6/79
Verifying : perl-Digest-MD5-2.55-396.el8.x86_64 7/79
Verifying : perl-IO-Socket-IP-0.39-5.el8.noarch 8/79
Verifying : perl-IO-Socket-SSL-2.066-4.module_el8.4.0+517+be1595ff.noarch 9/79
Verifying : perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch 10/79
Verifying : perl-Net-SSLeay-1.88-1.module_el8.4.0+517+be1595ff.x86_64 11/79
Verifying : perl-Thread-Queue-3.13-1.el8.noarch 12/79
Verifying : perl-URI-1.73-3.el8.noarch 13/79
Verifying : perl-libnet-3.11-3.el8.noarch 14/79
Verifying : binutils-2.30-119.el8.x86_64 15/79
Verifying : cpp-8.5.0-17.el8.x86_64 16/79
Verifying : emacs-filesystem-1:26.1-7.el8.noarch 17/79
Verifying : expat-devel-2.2.5-10.el8.1.x86_64 18/79
Verifying : gcc-8.5.0-17.el8.x86_64 19/79
Verifying : glibc-devel-2.28-220.el8.x86_64 20/79
Verifying : glibc-headers-2.28-220.el8.x86_64 21/79
Verifying : kernel-headers-4.18.0-408.el8.x86_64 22/79
Verifying : keyutils-libs-devel-1.5.10-9.el8.x86_64 23/79
Verifying : krb5-devel-1.18.2-22.el8.x86_64 24/79
Verifying : libcom_err-devel-1.45.6-5.el8.x86_64 25/79
Verifying : libkadm5-1.18.2-22.el8.x86_64 26/79
Verifying : libpkgconf-1.4.2-1.el8.x86_64 27/79
Verifying : libselinux-devel-2.9-6.el8.x86_64 28/79
Verifying : libsepol-devel-2.9-3.el8.x86_64 29/79
Verifying : libverto-devel-0.3.2-2.el8.x86_64 30/79
Verifying : libxcrypt-devel-4.1.1-6.el8.x86_64 31/79
Verifying : m4-1.4.18-7.el8.x86_64 32/79
Verifying : openssl-devel-1:1.1.1k-7.el8.x86_64 33/79
Verifying : pcre-cpp-8.42-6.el8.x86_64 34/79
Verifying : pcre-devel-8.42-6.el8.x86_64 35/79
Verifying : pcre-utf16-8.42-6.el8.x86_64 36/79
Verifying : pcre-utf32-8.42-6.el8.x86_64 37/79
Verifying : pcre2-devel-10.32-3.el8.x86_64 38/79
Verifying : pcre2-utf16-10.32-3.el8.x86_64 39/79
Verifying : pcre2-utf32-10.32-3.el8.x86_64 40/79
Verifying : perl-Carp-1.42-396.el8.noarch 41/79
Verifying : perl-Data-Dumper-2.167-399.el8.x86_64 42/79
Verifying : perl-Encode-4:2.97-3.el8.x86_64 43/79
Verifying : perl-Errno-1.28-421.el8.x86_64 44/79
Verifying : perl-Exporter-5.72-396.el8.noarch 45/79
Verifying : perl-File-Path-2.15-2.el8.noarch 46/79
Verifying : perl-File-Temp-0.230.600-1.el8.noarch 47/79
Verifying : perl-Getopt-Long-1:2.50-4.el8.noarch 48/79
Verifying : perl-HTTP-Tiny-0.074-1.el8.noarch 49/79
Verifying : perl-IO-1.38-421.el8.x86_64 50/79
Verifying : perl-MIME-Base64-3.15-396.el8.x86_64 51/79
Verifying : perl-PathTools-3.74-1.el8.x86_64 52/79
Verifying : perl-Pod-Escapes-1:1.07-395.el8.noarch 53/79
Verifying : perl-Pod-Perldoc-3.28-396.el8.noarch 54/79
Verifying : perl-Pod-Simple-1:3.35-395.el8.noarch 55/79
Verifying : perl-Pod-Usage-4:1.69-395.el8.noarch 56/79
Verifying : perl-Scalar-List-Utils-3:1.49-2.el8.x86_64 57/79
Verifying : perl-Socket-4:2.027-3.el8.x86_64 58/79
Verifying : perl-Storable-1:3.11-3.el8.x86_64 59/79
Verifying : perl-Term-ANSIColor-4.06-396.el8.noarch 60/79
Verifying : perl-Term-Cap-1.17-395.el8.noarch 61/79
Verifying : perl-Text-ParseWords-3.30-395.el8.noarch 62/79
Verifying : perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch 63/79
Verifying : perl-Time-Local-1:1.280-1.el8.noarch 64/79
Verifying : perl-Unicode-Normalize-1.25-396.el8.x86_64 65/79
Verifying : perl-constant-1.33-396.el8.noarch 66/79
Verifying : perl-interpreter-4:5.26.3-421.el8.x86_64 67/79
Verifying : perl-libs-4:5.26.3-421.el8.x86_64 68/79
Verifying : perl-macros-4:5.26.3-421.el8.x86_64 69/79
Verifying : perl-parent-1:0.237-1.el8.noarch 70/79
Verifying : perl-podlators-4.11-1.el8.noarch 71/79
Verifying : perl-threads-1:2.21-2.el8.x86_64 72/79
Verifying : perl-threads-shared-1.58-2.el8.x86_64 73/79
Verifying : pkgconf-1.4.2-1.el8.x86_64 74/79
Verifying : pkgconf-m4-1.4.2-1.el8.noarch 75/79
Verifying : pkgconf-pkg-config-1.4.2-1.el8.x86_64 76/79
Verifying : zlib-devel-1.2.11-20.el8.x86_64 77/79
Verifying : expat-2.2.5-10.el8.1.x86_64 78/79
Verifying : expat-2.2.5-10.el8.x86_64 79/79
Upgraded:
expat-2.2.5-10.el8.1.x86_64
Installed:
autoconf-2.69-29.el8.noarch automake-1.16.1-7.el8.noarch
binutils-2.30-119.el8.x86_64 cpp-8.5.0-17.el8.x86_64
emacs-filesystem-1:26.1-7.el8.noarch expat-devel-2.2.5-10.el8.1.x86_64
gcc-8.5.0-17.el8.x86_64 glibc-devel-2.28-220.el8.x86_64
glibc-headers-2.28-220.el8.x86_64 isl-0.16.1-6.el8.x86_64
kernel-headers-4.18.0-408.el8.x86_64 keyutils-libs-devel-1.5.10-9.el8.x86_64
krb5-devel-1.18.2-22.el8.x86_64 libcom_err-devel-1.45.6-5.el8.x86_64
libkadm5-1.18.2-22.el8.x86_64 libmpc-1.1.0-9.1.el8.x86_64
libpkgconf-1.4.2-1.el8.x86_64 libselinux-devel-2.9-6.el8.x86_64
libsepol-devel-2.9-3.el8.x86_64 libtool-2.4.6-25.el8.x86_64
libverto-devel-0.3.2-2.el8.x86_64 libxcrypt-devel-4.1.1-6.el8.x86_64
m4-1.4.18-7.el8.x86_64 openssl-devel-1:1.1.1k-7.el8.x86_64
pcre-cpp-8.42-6.el8.x86_64 pcre-devel-8.42-6.el8.x86_64
pcre-utf16-8.42-6.el8.x86_64 pcre-utf32-8.42-6.el8.x86_64
pcre2-devel-10.32-3.el8.x86_64 pcre2-utf16-10.32-3.el8.x86_64
pcre2-utf32-10.32-3.el8.x86_64 perl-Carp-1.42-396.el8.noarch
perl-Data-Dumper-2.167-399.el8.x86_64 perl-Digest-1.17-395.el8.noarch
perl-Digest-MD5-2.55-396.el8.x86_64 perl-Encode-4:2.97-3.el8.x86_64
perl-Errno-1.28-421.el8.x86_64 perl-Exporter-5.72-396.el8.noarch
perl-File-Path-2.15-2.el8.noarch perl-File-Temp-0.230.600-1.el8.noarch
perl-Getopt-Long-1:2.50-4.el8.noarch perl-HTTP-Tiny-0.074-1.el8.noarch
perl-IO-1.38-421.el8.x86_64 perl-IO-Socket-IP-0.39-5.el8.noarch
perl-IO-Socket-SSL-2.066-4.module_el8.4.0+517+be1595ff.noarch perl-MIME-Base64-3.15-396.el8.x86_64
perl-Mozilla-CA-20160104-7.module_el8.3.0+416+dee7bcef.noarch perl-Net-SSLeay-1.88-1.module_el8.4.0+517+be1595ff.x86_64
perl-PathTools-3.74-1.el8.x86_64 perl-Pod-Escapes-1:1.07-395.el8.noarch
perl-Pod-Perldoc-3.28-396.el8.noarch perl-Pod-Simple-1:3.35-395.el8.noarch
perl-Pod-Usage-4:1.69-395.el8.noarch perl-Scalar-List-Utils-3:1.49-2.el8.x86_64
perl-Socket-4:2.027-3.el8.x86_64 perl-Storable-1:3.11-3.el8.x86_64
perl-Term-ANSIColor-4.06-396.el8.noarch perl-Term-Cap-1.17-395.el8.noarch
perl-Text-ParseWords-3.30-395.el8.noarch perl-Text-Tabs+Wrap-2013.0523-395.el8.noarch
perl-Thread-Queue-3.13-1.el8.noarch perl-Time-Local-1:1.280-1.el8.noarch
perl-URI-1.73-3.el8.noarch perl-Unicode-Normalize-1.25-396.el8.x86_64
perl-constant-1.33-396.el8.noarch perl-interpreter-4:5.26.3-421.el8.x86_64
perl-libnet-3.11-3.el8.noarch perl-libs-4:5.26.3-421.el8.x86_64
perl-macros-4:5.26.3-421.el8.x86_64 perl-parent-1:0.237-1.el8.noarch
perl-podlators-4.11-1.el8.noarch perl-threads-1:2.21-2.el8.x86_64
perl-threads-shared-1.58-2.el8.x86_64 pkgconf-1.4.2-1.el8.x86_64
pkgconf-m4-1.4.2-1.el8.noarch pkgconf-pkg-config-1.4.2-1.el8.x86_64
zlib-devel-1.2.11-20.el8.x86_64
Complete!
6.编译安装
[root@client apr-1.7.0]# ./configure --prefix=/usr/local/apr
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
Configuring APR library
Platform: x86_64-pc-linux-gnu
checking for working mkdir -p... yes
......
Restore user-defined environment settings...
restoring CPPFLAGS to ""
setting EXTRA_CPPFLAGS to "-DLINUX -D_REENTRANT -D_GNU_SOURCE"
restoring CFLAGS to ""
setting EXTRA_CFLAGS to "-g -O2 -pthread"
restoring LDFLAGS to ""
setting EXTRA_LDFLAGS to ""
restoring LIBS to ""
setting EXTRA_LIBS to "-lrt -lcrypt -lpthread -ldl"
restoring INCLUDES to ""
setting EXTRA_INCLUDES to ""
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/apr.h
config.status: creating build/apr_rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating apr-1-config
config.status: creating apr.pc
config.status: creating test/Makefile
config.status: creating test/internal/Makefile
config.status: creating include/arch/unix/apr_private.h
config.status: executing libtool commands
config.status: executing default commands
config.status: include/apr.h is unchanged
config.status: include/arch/unix/apr_private.h is unchanged
[root@client apr-1.7.0]# make
make[1]: Entering directory '/usr/src/apr-1.7.0'
/bin/sh /usr/src/apr-1.7.0/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/usr/src/apr-1.7.0/include/arch/unix -I./include/arch/unix -I/usr/src/apr-1.7.0/include/arch/unix -I/usr/src/apr-1.7.0/include -I/usr/src/apr-1.7.0/include/private -I/usr/src/apr-1.7.0/include/private -o encoding/apr_encode.lo -c encoding/apr_encode.c && touch
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
......
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 apr.exp /usr/local/apr/lib/apr.exp
/usr/bin/install -c -m 644 apr.pc /usr/local/apr/lib/pkgconfig/apr-1.pc
for f in libtool shlibtool; do \
if test -f ${f}; then /usr/bin/install -c -m 755 ${f} /usr/local/apr/build-1; fi; \
done
/usr/bin/install -c -m 755 /usr/src/apr-1.7.0/build/mkdir.sh /usr/local/apr/build-1
for f in make_exports.awk make_var_export.awk; do \
/usr/bin/install -c -m 644 /usr/src/apr-1.7.0/build/${f} /usr/local/apr/build-1; \
done
/usr/bin/install -c -m 644 build/apr_rules.out /usr/local/apr/build-1/apr_rules.mk
/usr/bin/install -c -m 755 apr-config.out /usr/local/apr/bin/apr-1-config
[root@client apr-1.7.0]# cd ../apr-util-1.6.1
[root@client apr-util-1.6.1]# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.6.1
checking for chosen layout... apr-util
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
......
configure: creating ./config.status
config.status: creating Makefile
config.status: creating export_vars.sh
config.status: creating build/pkg/pkginfo
config.status: creating apr-util.pc
config.status: creating apu-1-config
config.status: creating include/private/apu_select_dbm.h
config.status: creating include/apr_ldap.h
config.status: creating include/apu.h
config.status: creating include/apu_want.h
config.status: creating test/Makefile
config.status: creating include/private/apu_config.h
config.status: executing default commands
[root@client apr-util-1.6.1]# make
make[1]: Entering directory '/usr/src/apr-util-1.6.1'
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/src/apr-util-1.6.1/include -I/usr/src/apr-util-1.6.1/include/private -I/usr/local/apr/include/apr-1 -o buckets/apr_brigade.lo -c buckets/apr_brigade.c && touch buckets/apr_brigade.lo
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/src/apr-util-1.6.1/include -I/usr/src/apr-util-1.6.1/include/private -I/usr/local/apr/include/apr-1 -o
......
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 aprutil.exp /usr/local/apr-util/lib
/usr/bin/install -c -m 755 apu-config.out /usr/local/apr-util/bin/apu-1-config
[root@client httpd-2.4.54]# ./configure --prefix=/usr/local/apache \
> --enable-so \
> --enable-ssl \
> --enable-cgi \
> --enable-rewrite \
> --with-zlib \
> --with-pcre \
> --with-apr=/usr/local/apr \
> --with-apr-util=/usr/local/apr-util/ \
> --enable-modules=most \
> --enable-mpms-shared=all \
> --with-mpm=prefork
......
creating server/mpm/Makefile
creating server/mpm/event/Makefile
creating server/mpm/prefork/Makefile
creating server/mpm/worker/Makefile
creating modules/arch/unix/Makefile
creating modules/cluster/Makefile
creating modules/dav/main/Makefile
creating modules/generators/Makefile
creating modules/dav/fs/Makefile
creating modules/dav/lock/Makefile
creating modules/mappers/Makefile
creating Makefile
creating modules/Makefile
creating srclib/Makefile
creating os/Makefile
creating server/Makefile
creating support/Makefile
creating test/Makefile
creating test/Makefile
config.status: creating test/pyhttpd/config.ini
config.status: creating docs/conf/httpd.conf
config.status: creating docs/conf/extra/httpd-autoindex.conf
config.status: creating docs/conf/extra/httpd-dav.conf
config.status: creating docs/conf/extra/httpd-default.conf
config.status: creating docs/conf/extra/httpd-info.conf
config.status: creating docs/conf/extra/httpd-languages.conf
config.status: creating docs/conf/extra/httpd-manual.conf
config.status: creating docs/conf/extra/httpd-mpm.conf
config.status: creating docs/conf/extra/httpd-multilang-errordoc.conf
config.status: creating docs/conf/extra/httpd-ssl.conf
config.status: creating docs/conf/extra/httpd-userdir.conf
config.status: creating docs/conf/extra/httpd-vhosts.conf
config.status: creating docs/conf/extra/proxy-html.conf
config.status: creating include/ap_config_layout.h
config.status: creating support/apxs
config.status: creating support/apachectl
config.status: creating support/dbmmanage
config.status: creating support/envvars-std
config.status: creating support/log_server_status
config.status: creating support/logresolve.pl
config.status: creating support/phf_abuse_log.cgi
config.status: creating support/split-logfile
config.status: creating build/rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating build/config_vars.sh
config.status: creating include/ap_config_auto.h
config.status: executing default commands
configure: summary of build options:
Server Version: 2.4.54
Install prefix: /usr/local/apache
C compiler: gcc
CFLAGS: -g -O2 -pthread
CPPFLAGS: -DLINUX -D_REENTRANT -D_GNU_SOURCE
LDFLAGS:
LIBS:
C preprocessor: gcc -E
[root@client httpd-2.4.54]# make
......
httpd-2.4.54/modules/http2 -I/usr/src/httpd-2.4.54/modules/session -I/usr/src/httpd-2.4.54/modules/ssl -I/usr/src/httpd-2.4.54/modules/test -I/usr/src/httpd-2.4.54/server -I/usr/src/httpd-2.4.54/modules/md -I/usr/src/httpd-2.4.54/modules/arch/unix -I/usr/src/httpd-2.4.54/modules/dav/main -I/usr/src/httpd-2.4.54/modules/generators -I/usr/src/httpd-2.4.54/modules/mappers -prefer-pic -c mod_rewrite.c && touch mod_rewrite.slo
/usr/local/apr/build-1/libtool --silent --mode=link gcc -g -O2 -pthread -o mod_rewrite.la -rpath /usr/local/apache/modules -module -avoid-version mod_rewrite.lo
make[4]: Leaving directory '/usr/src/httpd-2.4.54/modules/mappers'
make[3]: Leaving directory '/usr/src/httpd-2.4.54/modules/mappers'
make[2]: Leaving directory '/usr/src/httpd-2.4.54/modules'
make[2]: Entering directory '/usr/src/httpd-2.4.54/support'
make[2]: Leaving directory '/usr/src/httpd-2.4.54/support'
make[1]: Leaving directory '/usr/src/httpd-2.4.54'
[root@client httpd-2.4.54]# make install
......
Installing icons
mkdir /usr/local/apache/icons
mkdir /usr/local/apache/logs
Installing CGIs
mkdir /usr/local/apache/cgi-bin
Installing header files
mkdir /usr/local/apache/include
Installing build system files
mkdir /usr/local/apache/build
Installing man pages and online manual
mkdir /usr/local/apache/man
mkdir /usr/local/apache/man/man1
mkdir /usr/local/apache/man/man8
mkdir /usr/local/apache/manual
make[1]: Leaving directory '/usr/src/httpd-2.4.54'
7.设置环境变量
[root@client ~]# vim /etc/profile.d/apache.sh
export PATH=/usr/local/apache/bin:$PATH
[root@client ~]# source /etc/profile.d/apache.sh
[root@client ~]# which httpd
/usr/local/apache/bin/httpd
[root@client ~]# ln -s /usr/local/apache/include /usr/include/apache
[root@client ~]# ll /usr/include/
total 1760
-rw-r--r--. 1 root root 7456 Nov 16 03:10 aio.h
-rw-r--r--. 1 root root 2031 Nov 16 03:10 aliases.h
-rw-r--r--. 1 root root 1203 Nov 16 03:09 alloca.h
-rw-r--r--. 1 root root 4350 Nov 16 03:09 a.out.h
lrwxrwxrwx. 1 root root 25 Dec 25 20:55 apache -> /usr/local/apache/include
-rw-r--r--. 1 root root 25414 Nov 16 03:10 argp.h
-rw-r--r--. 1 root root 6050 Nov 16 03:09 argz.h
-rw-r--r--. 1 root root 1730 Nov 16 03:09 ar.h
drwxr-xr-x. 2 root root 104 Dec 25 20:05 arpa
drwxr-xr-x. 2 root root 4096 Dec 25 20:05 asm
drwxr-xr-x. 2 root root 4096 Dec 25 20:05 asm-generic
-rw-r--r--. 1 root root 4561 Nov 16 03:09 assert.h
[root@client ~]# vim /etc/man_db.conf
# every automatically generated MANPATH includes these fields
#
#MANDATORY_MANPATH /usr/src/pvm3/man
#
MANDATORY_MANPATH /usr/man
MANDATORY_MANPATH /usr/share/man
MANDATORY_MANPATH /usr/local/share/man
MANDATORY_MANPATH /usr/local/apache/man
#---------------------------------------------------------
8.关闭防火墙和selinux
[root@client ~]# systemctl disable --now firewalld
Removed /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@client ~]# vim /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
[root@client ~]# setenforce 0
[root@client ~]# getenforce
Permissive
9.启动服务器
[root@client ~]# apachectl start
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::20c:29ff:fe9a:4754%ens160. Set the 'ServerName' directive globally to suppress this message
10.网站访问
出现的问题
[root@client apr-1.7.0]# ./configure --prefix=/usr/local/apr
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
Configuring APR library
Platform: x86_64-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.7.0
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/src/apr-1.7.0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
解决办法
[root@client apr-1.7.0]# yum -y install gcc gcc-c++ make
Last metadata expiration check: 3:00:40 ago on Sun 25 Dec 2022 05:04:48 PM CST.
Dependencies resolved.
=======================================================================================
Package Architecture Version Repository Size
=======================================================================================
Installing:
gcc x86_64 8.5.0-17.el8 baseos 23 M
gcc-c++ x86_64 8.5.0-17.el8 appstream 12 M
make x86_64 1:4.2.1-11.el8 baseos 498 k
Installing dependencies:
binutils x86_64 2.30-119.el8 baseos 5.8 M
cpp x86_64 8.5.0-17.el8 baseos 10 M
glibc-devel x86_64 2.28-220.el8 baseos 83 k
glibc-headers x86_64 2.28-220.el8 baseos 488 k
isl x86_64 0.16.1-6.el8 appstream 841 k
kernel-headers x86_64 4.18.0-408.el8 baseos 9.8 M
libmpc x86_64 1.1.0-9.1.el8 appstream 61 k
libpkgconf x86_64 1.4.2-1.el8 baseos 35 k
libstdc++-devel x86_64 8.5.0-17.el8 appstream 2.1 M
libxcrypt-devel x86_64 4.1.1-6.el8 baseos 25 k
pkgconf x86_64 1.4.2-1.el8 baseos 38 k
pkgconf-m4 noarch 1.4.2-1.el8 baseos 17 k
pkgconf-pkg-config x86_64 1.4.2-1.el8 baseos 15 k
Transaction Summary
=======================================================================================
Install 16 Packages
Total download size: 66 M
Installed size: 165 M
Downloading Packages:
(1/16): libmpc-1.1.0-9.1.el8.x86_64.rpm 368 kB/s | 61 kB 00:00
(2/16): isl-0.16.1-6.el8.x86_64.rpm 2.5 MB/s | 841 kB 00:00
(3/16): libstdc++-devel-8.5.0-17.el8.x86_64.rpm 4.1 MB/s | 2.1 MB 00:00
(4/16): gcc-c++-8.5.0-17.el8.x86_64.rpm 5.6 MB/s | 12 MB 00:02
(5/16): binutils-2.30-119.el8.x86_64.rpm 3.0 MB/s | 5.8 MB 00:01
(6/16): glibc-devel-2.28-220.el8.x86_64.rpm 1.1 MB/s | 83 kB 00:00
(7/16): glibc-headers-2.28-220.el8.x86_64.rpm 3.1 MB/s | 488 kB 00:00
(8/16): kernel-headers-4.18.0-408.el8.x86_64.rpm 4.0 MB/s | 9.8 MB 00:02
(9/16): libpkgconf-1.4.2-1.el8.x86_64.rpm 405 kB/s | 35 kB 00:00
(10/16): libxcrypt-devel-4.1.1-6.el8.x86_64.rpm 431 kB/s | 25 kB 00:00
(11/16): make-4.2.1-11.el8.x86_64.rpm 3.1 MB/s | 498 kB 00:00
(12/16): pkgconf-1.4.2-1.el8.x86_64.rpm 487 kB/s | 38 kB 00:00
(13/16): pkgconf-m4-1.4.2-1.el8.noarch.rpm 312 kB/s | 17 kB 00:00
(14/16): pkgconf-pkg-config-1.4.2-1.el8.x86_64.rpm 324 kB/s | 15 kB 00:00
(15/16): gcc-8.5.0-17.el8.x86_64.rpm 5.7 MB/s | 23 MB 00:04
(16/16): cpp-8.5.0-17.el8.x86_64.rpm 1.8 MB/s | 10 MB 00:05
---------------------------------------------------------------------------------------
Total 8.7 MB/s | 66 MB 00:07
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : libmpc-1.1.0-9.1.el8.x86_64 1/16
Installing : cpp-8.5.0-17.el8.x86_64 2/16
Running scriptlet: cpp-8.5.0-17.el8.x86_64 2/16
Installing : pkgconf-m4-1.4.2-1.el8.noarch 3/16
Installing : libpkgconf-1.4.2-1.el8.x86_64 4/16
Installing : pkgconf-1.4.2-1.el8.x86_64 5/16
Installing : pkgconf-pkg-config-1.4.2-1.el8.x86_64 6/16
Installing : kernel-headers-4.18.0-408.el8.x86_64 7/16
Running scriptlet: glibc-headers-2.28-220.el8.x86_64 8/16
Installing : glibc-headers-2.28-220.el8.x86_64 8/16
Installing : libxcrypt-devel-4.1.1-6.el8.x86_64 9/16
Installing : glibc-devel-2.28-220.el8.x86_64 10/16
Running scriptlet: glibc-devel-2.28-220.el8.x86_64 10/16
Installing : binutils-2.30-119.el8.x86_64 11/16
Running scriptlet: binutils-2.30-119.el8.x86_64 11/16
Installing : libstdc++-devel-8.5.0-17.el8.x86_64 12/16
Installing : isl-0.16.1-6.el8.x86_64 13/16
Running scriptlet: isl-0.16.1-6.el8.x86_64 13/16
Installing : gcc-8.5.0-17.el8.x86_64 14/16
Running scriptlet: gcc-8.5.0-17.el8.x86_64 14/16
Installing : gcc-c++-8.5.0-17.el8.x86_64 15/16
Installing : make-1:4.2.1-11.el8.x86_64 16/16
Running scriptlet: make-1:4.2.1-11.el8.x86_64 16/16
Verifying : gcc-c++-8.5.0-17.el8.x86_64 1/16
Verifying : isl-0.16.1-6.el8.x86_64 2/16
Verifying : libmpc-1.1.0-9.1.el8.x86_64 3/16
Verifying : libstdc++-devel-8.5.0-17.el8.x86_64 4/16
Verifying : binutils-2.30-119.el8.x86_64 5/16
Verifying : cpp-8.5.0-17.el8.x86_64 6/16
Verifying : gcc-8.5.0-17.el8.x86_64 7/16
Verifying : glibc-devel-2.28-220.el8.x86_64 8/16
Verifying : glibc-headers-2.28-220.el8.x86_64 9/16
Verifying : kernel-headers-4.18.0-408.el8.x86_64 10/16
Verifying : libpkgconf-1.4.2-1.el8.x86_64 11/16
Verifying : libxcrypt-devel-4.1.1-6.el8.x86_64 12/16
Verifying : make-1:4.2.1-11.el8.x86_64 13/16
Verifying : pkgconf-1.4.2-1.el8.x86_64 14/16
Verifying : pkgconf-m4-1.4.2-1.el8.noarch 15/16
Verifying : pkgconf-pkg-config-1.4.2-1.el8.x86_64 16/16
Installed:
binutils-2.30-119.el8.x86_64 cpp-8.5.0-17.el8.x86_64
gcc-8.5.0-17.el8.x86_64 gcc-c++-8.5.0-17.el8.x86_64
glibc-devel-2.28-220.el8.x86_64 glibc-headers-2.28-220.el8.x86_64
isl-0.16.1-6.el8.x86_64 kernel-headers-4.18.0-408.el8.x86_64
libmpc-1.1.0-9.1.el8.x86_64 libpkgconf-1.4.2-1.el8.x86_64
libstdc++-devel-8.5.0-17.el8.x86_64 libxcrypt-devel-4.1.1-6.el8.x86_64
make-1:4.2.1-11.el8.x86_64 pkgconf-1.4.2-1.el8.x86_64
pkgconf-m4-1.4.2-1.el8.noarch pkgconf-pkg-config-1.4.2-1.el8.x86_64
Complete!