YUM仓库和文件系统

  • 1、自建yum仓库,分别为网络源和本地源
  • 2、编译安装http2.4,实现可以正常访问,并将编译步骤和结果提交。
    • 第一步,解包
    • 第二步,开始编译
    • 第三步:根据Makefile文件,构建应用程序
    • 第四步:复制文件到相应路径
    • 第五步 把程序目录导入至PATH环境变量中
    • 第六步 启动程序
  • 3、创建一个2G的文件系统,块大小为2048byte,预留1%可用空间,文件系统 ext4,卷标为TEST,要求此分区开机后自动挂载至/test目录,且默认有acl挂载选项
  • 4、创建一个至少有两个PV组成的大小为20G的名为testvg的VG;要求PE大小 为16MB, 而后在卷组中创建大小为5G的逻辑卷testlv;挂载至/users目录

1、自建yum仓库,分别为网络源和本地源

[epel]
name=EPEL
baseurl=https://mirrors.aliyun.com/epel/$releasever/$basearch
enabled=1
gpgcheck=0阿里源的yum仓库
[base]
name=CentOS
baseurl=file:///mnt/cdrom
enabled=1
gpgcheck=1
gpgkey=file://mnt/cdrom/PM-GPG-KEY-CentOS-7本地源的yum仓库

2、编译安装http2.4,实现可以正常访问,并将编译步骤和结果提交。

第一步,解包

tar xvf httpd-2.4.43.tar.bz2

第二步,开始编译

./configure --prefix=/apps/httpd43  --enable-so
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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
configure: 
configure: Configuring Apache Portable Runtime library...
configure: 
checking for APR... no
configure: error: APR not found.  Please read the documentation.
提示缺少APR
yum search apr-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
========================================= N/S matched: apr-devel ==========================================
apr-devel.i686 : APR library development kit
apr-devel.x86_64 : APR library development kitName and summary matches only, use "search all" for everything.
找到缺失的APR文件
yum install apr-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package apr-devel.x86_64 0:1.4.8-5.el7 will be installed
--> Finished Dependency ResolutionDependencies Resolved===========================================================================================================Package                   Arch                   Version                       Repository            Size
===========================================================================================================
Installing:apr-devel                 x86_64                 1.4.8-5.el7                   base                 188 kTransaction Summary
===========================================================================================================
Install  1 PackageTotal download size: 188 k
Installed size: 771 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transactionInstalling : apr-devel-1.4.8-5.el7.x86_64                                                            1/1 Verifying  : apr-devel-1.4.8-5.el7.x86_64                                                            1/1 Installed:apr-devel.x86_64 0:1.4.8-5.el7                                                                           Complete!
安装APR-devel
./configure --prefix=/apps/httpd43  --enable-so
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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
configure: 
configure: Configuring Apache Portable Runtime library...
configure: 
checking for APR... yessetting CC to "gcc"setting CPP to "gcc -E"setting CFLAGS to "  -pthread"setting CPPFLAGS to " -DLINUX -D_REENTRANT -D_GNU_SOURCE"setting LDFLAGS to " "
configure: 
configure: Configuring Apache Portable Runtime Utility library...
configure: 
checking for APR-util... no
configure: error: APR-util not found.  Please read the documentation.
再次执行,发现缺失APR-util文件
yum install apr-util-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile* base: mirrors.aliyun.com* extras: mirrors.aliyun.com* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package apr-util-devel.x86_64 0:1.5.2-6.el7 will be installed
--> Processing Dependency: openldap-devel(x86-64) for package: apr-util-devel-1.5.2-6.el7.x86_64
--> Processing Dependency: libdb-devel(x86-64) for package: apr-util-devel-1.5.2-6.el7.x86_64
--> Processing Dependency: expat-devel(x86-64) for package: apr-util-devel-1.5.2-6.el7.x86_64
--> Running transaction check
---> Package expat-devel.x86_64 0:2.1.0-11.el7 will be installed
--> Processing Dependency: expat = 2.1.0-11.el7 for package: expat-devel-2.1.0-11.el7.x86_64
---> Package libdb-devel.x86_64 0:5.3.21-25.el7 will be installed
---> Package openldap-devel.x86_64 0:2.4.44-21.el7_6 will be installed
--> Processing Dependency: cyrus-sasl-devel(x86-64) for package: openldap-devel-2.4.44-21.el7_6.x86_64
--> Running transaction check
---> Package cyrus-sasl-devel.x86_64 0:2.1.26-23.el7 will be installed
---> Package expat.x86_64 0:2.1.0-10.el7_3 will be updated
---> Package expat.x86_64 0:2.1.0-11.el7 will be an update
--> Finished Dependency ResolutionDependencies Resolved===========================================================================================================Package                       Arch                Version                         Repository         Size
===========================================================================================================
Installing:apr-util-devel                x86_64              1.5.2-6.el7                     base               76 k
Installing for dependencies:cyrus-sasl-devel              x86_64              2.1.26-23.el7                   base              310 kexpat-devel                   x86_64              2.1.0-11.el7                    base               57 klibdb-devel                   x86_64              5.3.21-25.el7                   base               39 kopenldap-devel                x86_64              2.4.44-21.el7_6                 base              804 k
Updating for dependencies:expat                         x86_64              2.1.0-11.el7                    base               81 kTransaction Summary
===========================================================================================================
Install  1 Package  (+4 Dependent packages)
Upgrade             ( 1 Dependent package)Total download size: 1.3 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for base
(1/6): apr-util-devel-1.5.2-6.el7.x86_64.rpm                                        |  76 kB  00:00:00     
(2/6): cyrus-sasl-devel-2.1.26-23.el7.x86_64.rpm                                    | 310 kB  00:00:00     
(3/6): expat-2.1.0-11.el7.x86_64.rpm                                                |  81 kB  00:00:00     
(4/6): expat-devel-2.1.0-11.el7.x86_64.rpm                                          |  57 kB  00:00:00     
(5/6): libdb-devel-5.3.21-25.el7.x86_64.rpm                                         |  39 kB  00:00:00     
(6/6): openldap-devel-2.4.44-21.el7_6.x86_64.rpm                                    | 804 kB  00:00:00     
-----------------------------------------------------------------------------------------------------------
Total                                                                      1.9 MB/s | 1.3 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transactionInstalling : cyrus-sasl-devel-2.1.26-23.el7.x86_64                                                   1/7 Installing : openldap-devel-2.4.44-21.el7_6.x86_64                                                   2/7 Installing : libdb-devel-5.3.21-25.el7.x86_64                                                        3/7 Updating   : expat-2.1.0-11.el7.x86_64                                                               4/7 Installing : expat-devel-2.1.0-11.el7.x86_64                                                         5/7 Installing : apr-util-devel-1.5.2-6.el7.x86_64                                                       6/7 Cleanup    : expat-2.1.0-10.el7_3.x86_64                                                             7/7 Verifying  : apr-util-devel-1.5.2-6.el7.x86_64                                                       1/7 Verifying  : expat-2.1.0-11.el7.x86_64                                                               2/7 Verifying  : libdb-devel-5.3.21-25.el7.x86_64                                                        3/7 Verifying  : expat-devel-2.1.0-11.el7.x86_64                                                         4/7 Verifying  : openldap-devel-2.4.44-21.el7_6.x86_64                                                   5/7 Verifying  : cyrus-sasl-devel-2.1.26-23.el7.x86_64                                                   6/7 Verifying  : expat-2.1.0-10.el7_3.x86_64                                                             7/7 Installed:apr-util-devel.x86_64 0:1.5.2-6.el7                                                                      Dependency Installed:cyrus-sasl-devel.x86_64 0:2.1.26-23.el7              expat-devel.x86_64 0:2.1.0-11.el7                   libdb-devel.x86_64 0:5.3.21-25.el7                   openldap-devel.x86_64 0:2.4.44-21.el7_6             Dependency Updated:expat.x86_64 0:2.1.0-11.el7                                                                              Complete!安装apr-util-devel
./configure --prefix=/apps/httpd43  --enable-so
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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
configure: 
configure: Configuring Apache Portable Runtime library...
configure: 
checking for APR... yessetting CC to "gcc"setting CPP to "gcc -E"setting CFLAGS to "  -pthread"setting CPPFLAGS to " -DLINUX -D_REENTRANT -D_GNU_SOURCE"setting LDFLAGS to " "
configure: 
configure: Configuring Apache Portable Runtime Utility library...
configure: 
checking for APR-util... yes
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
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C99... -std=gnu99
checking for pcre-config... false
configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/
再次执行,发现缺失pcre文件
yum install pcre-devel
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile* base: mirrors.aliyun.com* extras: mirrors.aliyun.com* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package pcre-devel.x86_64 0:8.32-17.el7 will be installed
--> Finished Dependency ResolutionDependencies Resolved===========================================================================================================Package                    Arch                   Version                      Repository            Size
===========================================================================================================
Installing:pcre-devel                 x86_64                 8.32-17.el7                  base                 480 kTransaction Summary
===========================================================================================================
Install  1 PackageTotal download size: 480 k
Installed size: 1.4 M
Is this ok [y/d/N]: y
Downloading packages:
pcre-devel-8.32-17.el7.x86_64.rpm                                                   | 480 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.Installing : pcre-devel-8.32-17.el7.x86_64                                                           1/1 Verifying  : pcre-devel-8.32-17.el7.x86_64                                                           1/1 Installed:pcre-devel.x86_64 0:8.32-17.el7                                                                          Complete!
安装pcre-devel
 ./configure --prefix=/apps/httpd43  --enable-so
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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
configure: 
configure: Configuring Apache Portable Runtime library...
configure: 
checking for APR... yessetting CC to "gcc"setting CPP to "gcc -E"setting CFLAGS to "  -pthread"setting CPPFLAGS to " -DLINUX -D_REENTRANT -D_GNU_SOURCE"setting LDFLAGS to " "
configure: 
configure: Configuring Apache Portable Runtime Utility library...
configure: 
checking for APR-util... yes
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
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C99... -std=gnu99
checking for pcre-config... /usr/bin/pcre-config
configure: Using external PCRE library from /usr/bin/pcre-configsetting PCRE_INCLUDES to ""setting PCRE_LIBS to "-lpcre"
configure: 
configure: Configuring Apache httpd...
configure: setting INCLUDES to "-I."adding "-I$(top_srcdir)/os/$(OS_DIR)" to INCLUDESadding "-I$(top_srcdir)/include" to INCLUDESadding "-I/usr/include/apr-1" to INCLUDES
configure: 
configure: Applying OS-specific hints for httpd...
configure: forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to "1"forcing AP_NONBLOCK_WHEN_MULTI_LISTEN to "1"
checking for rm... /usr/bin/rm
checking for pkg-config... /usr/bin/pkg-config
checking for rsync... /usr/bin/rsync
checking for gawk... gawk
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for lynx... no
checking for links... no
checking for elinks... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for APR version 1.3.0 or later... yes
checking for APR-util version 1.3.0 or later... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for strings.h... (cached) yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/processor.h usability... no
checking sys/processor.h presence... no
checking for sys/processor.h... no
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/sdt.h usability... no
checking sys/sdt.h presence... no
checking for sys/sdt.h... no
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... yes
checking for library containing sqrt... -lm
checking for library containing crypt... -lcrypt
checking for getpwnam... yes
checking for getgrnam... yes
checking for initgroups... yes
checking for bindprocessor... no
checking for prctl... yes
checking for timegm... yes
checking for getpgid... yes
checking for fopen64... yes
checking for getloadavg... yes
checking for void pointer length... no
checking for gettid()... yes
checking for tm_gmtoff in struct tm... yes
checking for sd_notify in -lsystemd-daemon... no
checking whether to enable mod_authn_file... shared
checking whether to enable mod_authn_dbm... shared (most)
checking whether to enable mod_authn_anon... shared (most)
checking whether to enable mod_authn_dbd... shared (most)
checking whether to enable mod_authn_socache... shared (most)
checking whether to enable mod_authn_core... shared
checking whether to enable mod_authz_host... shared
checking whether to enable mod_authz_groupfile... shared
checking whether to enable mod_authz_user... shared
checking whether to enable mod_authz_dbm... shared (most)
checking whether to enable mod_authz_owner... shared (most)
checking whether to enable mod_authz_dbd... shared (most)
checking whether to enable mod_authz_core... shared
checking whether to enable mod_authnz_ldap... checking dependencies
checking for ldap support in apr/apr-util... yessetting MOD_AUTHNZ_LDAP_LDADD to " -lldap_r  -llber"
checking whether to enable mod_authnz_ldap... shared (most)
checking whether to enable mod_authnz_fcgi... no
checking whether to enable mod_access_compat... shared
checking whether to enable mod_auth_basic... shared
checking whether to enable mod_auth_form... shared (most)
checking whether to enable mod_auth_digest... checking dependencies
checking whether to enable mod_auth_digest... shared (most)
checking whether to enable mod_allowmethods... shared (most)adding "-I$(top_srcdir)/modules/aaa" to INCLUDES
checking whether to enable mod_isapi... no
checking whether to enable mod_file_cache... shared (most)
checking whether to enable mod_cache... shared (most)
checking whether to enable mod_cache_disk... checking dependencies
checking whether to enable mod_cache_disk... shared (most)
checking whether to enable mod_cache_socache... shared (most)
checking whether to enable mod_socache_shmcb... shared (most)
checking whether to enable mod_socache_dbm... shared (most)
checking whether to enable mod_socache_memcache... shared (most)
checking whether to enable mod_socache_redis... shared (most)
checking whether to enable mod_socache_dc... noadding "-I$(top_srcdir)/modules/cache" to INCLUDESsetting HTTPD_LDFLAGS to "-export-dynamic"
checking whether to enable mod_so... staticsetting AP_LIBS to "$(MOD_SO_LDADD)"
checking whether to enable mod_watchdog... checking dependencies
checking whether to enable mod_watchdog... shared (most)
checking whether to enable mod_macro... shared (most)adding "-I$(top_srcdir)/modules/core" to INCLUDES
checking whether to enable mod_dbd... shared (most)adding "-I$(top_srcdir)/modules/database" to INCLUDES
checking whether to enable mod_bucketeer... no
checking whether to enable mod_dumpio... shared (most)
checking whether to enable mod_echo... no
checking whether to enable mod_example_hooks... no
checking whether to enable mod_case_filter... no
checking whether to enable mod_case_filter_in... no
checking whether to enable mod_example_ipc... no
checking whether to enable mod_buffer... shared (most)
checking whether to enable mod_data... no
checking whether to enable mod_ratelimit... shared (most)
checking whether to enable mod_reqtimeout... shared
checking whether to enable mod_ext_filter... shared (most)
checking whether to enable mod_request... shared (most)
checking whether to enable mod_include... shared (most)
checking whether to enable mod_filter... shared
checking whether to enable mod_reflector... no
checking whether to enable mod_substitute... shared (most)
checking whether to enable mod_sed... checking dependenciessetting MOD_SED_LDADD to "-export-symbols-regex sed_module"
checking whether to enable mod_sed... shared (most)
checking whether to enable mod_charset_lite... no
checking whether to enable mod_deflate... checking dependencies
checking for zlib location... not found
checking whether to enable mod_deflate... no (disabled)
checking whether to enable mod_xml2enc... no
checking whether to enable mod_proxy_html... no
checking whether to enable mod_brotli... checking dependencies
checking for Brotli library >= 0.6.0 via pkg-config... no
checking whether to enable mod_brotli... no (disabled)adding "-I$(top_srcdir)/modules/filters" to INCLUDES
checking whether to enable mod_http... staticadding "$(MOD_HTTP_LDADD)" to AP_LIBS
checking whether to enable mod_mime... shared
checking whether to enable mod_ldap... checking dependencies
checking for ldap support in apr/apr-util... (cached) yessetting MOD_LDAP_LDADD to " -lldap_r  -llber"
checking whether to enable mod_ldap... shared (most)adding "-I$(top_srcdir)/modules/ldap" to INCLUDES
checking whether to enable mod_log_config... shared
checking whether to enable mod_log_debug... shared (most)
checking whether to enable mod_log_forensic... no
checking whether to enable mod_logio... shared (most)adding "-I$(top_srcdir)/modules/loggers" to INCLUDES
checking whether to enable mod_lua... noadding "-I$(top_srcdir)/modules/lua" to INCLUDES
checking whether to enable mod_env... shared
checking whether to enable mod_mime_magic... no
checking whether to enable mod_cern_meta... no
checking whether to enable mod_expires... shared (most)
checking whether to enable mod_headers... shared
checking whether to enable mod_ident... no
checking whether to enable mod_usertrack... no
checking whether to enable mod_unique_id... shared (most)
checking whether to enable mod_setenvif... shared
checking whether to enable mod_version... shared
checking whether to enable mod_remoteip... shared (most)
checking whether to enable mod_proxy... shared (most)
checking whether to enable mod_proxy_connect... checking dependencies
checking whether to enable mod_proxy_connect... shared (most)
checking whether to enable mod_proxy_ftp... checking dependencies
checking whether to enable mod_proxy_ftp... shared (most)
checking whether to enable mod_proxy_http... checking dependencies
checking whether to enable mod_proxy_http... shared (most)
checking whether to enable mod_proxy_fcgi... checking dependencies
checking whether to enable mod_proxy_fcgi... shared (most)
checking whether to enable mod_proxy_scgi... checking dependencies
checking whether to enable mod_proxy_scgi... shared (most)
checking whether to enable mod_proxy_uwsgi... checking dependencies
checking whether to enable mod_proxy_uwsgi... shared (most)
checking whether to enable mod_proxy_fdpass... checking dependencies
checking whether CMSG_DATA is declared... yes
checking whether to enable mod_proxy_fdpass... shared (most)
checking whether to enable mod_proxy_wstunnel... checking dependencies
checking whether to enable mod_proxy_wstunnel... shared (most)
checking whether to enable mod_proxy_ajp... checking dependencies
checking whether to enable mod_proxy_ajp... shared (most)
checking whether to enable mod_proxy_balancer... checking dependencies
checking whether to enable mod_proxy_balancer... shared (most)
checking whether to enable mod_proxy_express... checking dependencies
checking whether to enable mod_proxy_express... shared (most)
checking whether to enable mod_proxy_hcheck... checking dependencies
checking whether to enable mod_proxy_hcheck... shared (most)adding "-I$(top_srcdir)/modules/proxy" to INCLUDESadding "-I$(top_srcdir)/modules/http2" to INCLUDES
checking whether to enable mod_session... shared (most)
checking whether to enable mod_session_cookie... checking dependencies
checking whether to enable mod_session_cookie... shared (most)
checking whether to enable mod_session_crypto... checking dependencies
checking whether to enable mod_session_crypto... shared (most)
checking whether to enable mod_session_dbd... checking dependencies
checking whether to enable mod_session_dbd... shared (most)adding "-I$(top_srcdir)/modules/session" to INCLUDES
checking whether to enable mod_slotmem_shm... shared (most)
checking whether to enable mod_slotmem_plain... no
checking whether to enable mod_ssl... checking dependencies
checking for OpenSSL... checking for user-provided OpenSSL base directory... none
checking for OpenSSL version >= 0.9.8a... FAILED
configure: WARNING: OpenSSL version is too old
no
checking whether to enable mod_ssl... no (disabled)adding "-I$(top_srcdir)/modules/ssl" to INCLUDES
checking whether to enable mod_optional_hook_export... no
checking whether to enable mod_optional_hook_import... no
checking whether to enable mod_optional_fn_import... no
checking whether to enable mod_optional_fn_export... no
checking whether to enable mod_dialup... noadding "-I$(top_srcdir)/modules/test" to INCLUDES
checking for target platform... unix
checking for rlim_t... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/sem.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for setsid... yes
checking for killpg... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking for unistd.h... (cached) yes
checking for syslog... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for times... yesadding "-I$(top_srcdir)/server" to INCLUDES
checking whether APR supports thread-safe pollsets... checking for kqueue... no
checking for port_create... no
checking for epoll_create... yes
yes
checking if event MPM supports this platform... no - APR skiplist is not available
checking if mpmt_os2 MPM supports this platform... no
checking if prefork MPM supports this platform... yes
checking if WinNT MPM supports this platform... no
checking if worker MPM supports this platform... yes
checking whether to enable mod_http2... checking dependencies
checking for OpenSSL... (cached) no
checking for nghttp2... checking for user-provided nghttp2 base directory... none
checking for pkg-config along ... checking for nghttp2 version >= 1.2.1... FAILED
configure: WARNING: nghttp2 version is too old
no
checking whether to enable mod_http2... no (disabled)
checking whether to enable mod_proxy_http2... noadding "-I$(top_srcdir)/modules/md" to INCLUDES
checking whether to enable mod_md... checking dependencies
checking for OpenSSL... (cached) no
configure: WARNING: libssl (or compatible) not found
checking for jansson... checking for user-provided jansson base directory... none
checking for pkg-config along ... FAILED
no
configure: WARNING: libjansson not found
checking for curl... checking for user-provided curl base directory... none
checking for pkg-config along ... checking curl/curl.h usability... no
checking curl/curl.h presence... no
checking for curl/curl.h... no
checking for curl version >= 7.50... FAILED
no
configure: WARNING: libcurl not found
checking for arc4random_buf... no
checking whether to enable mod_md... no (disabled)
checking whether to enable mod_lbmethod_byrequests... checking dependencies
checking whether to enable mod_lbmethod_byrequests... shared
checking whether to enable mod_lbmethod_bytraffic... checking dependencies
checking whether to enable mod_lbmethod_bytraffic... shared
checking whether to enable mod_lbmethod_bybusyness... checking dependencies
checking whether to enable mod_lbmethod_bybusyness... shared
checking whether to enable mod_lbmethod_heartbeat... checking dependencies
checking whether to enable mod_lbmethod_heartbeat... shared
checking which MPM to use by default... worker - event is not supported
checking for pthread_kill... yes
checking whether to enable mod_unixd... shared
checking whether to enable mod_privileges... no
checking whether to enable mod_systemd... noadding "-I$(top_srcdir)/modules/arch/unix" to INCLUDES
checking whether to enable mod_heartbeat... no
checking whether to enable mod_heartmonitor... no
checking whether to enable mod_dav... shared (most)adding "-I$(top_srcdir)/modules/dav/main" to INCLUDES
checking whether to enable mod_status... shared
checking whether to enable mod_autoindex... shared
checking whether to enable mod_asis... no
checking whether to enable mod_info... shared (most)
checking whether to enable mod_suexec... no
checking whether to enable mod_cgid... checking dependencies
checking whether to enable mod_cgid... shared (most)
checking whether to enable mod_cgi... noadding "-I$(top_srcdir)/modules/generators" to INCLUDES
checking whether to enable mod_dav_fs... checking dependencies
checking whether to enable mod_dav_fs... shared
checking whether to enable mod_dav_lock... no
checking for extra modules... none
checking whether to enable mod_vhost_alias... shared (most)
checking whether to enable mod_negotiation... shared (most)
checking whether to enable mod_dir... shared
checking whether to enable mod_imagemap... no
checking whether to enable mod_actions... shared (most)
checking whether to enable mod_speling... shared (most)
checking whether to enable mod_userdir... shared (most)
checking whether to enable mod_alias... shared
checking whether to enable mod_rewrite... shared (most)adding "-I$(top_srcdir)/modules/mappers" to INCLUDES
configure: 
configure: Restore user-defined environment settings...
configure: restoring CPPFLAGS to ""setting EXTRA_CPPFLAGS to " -DLINUX -D_REENTRANT -D_GNU_SOURCE"restoring CFLAGS to ""setting EXTRA_CFLAGS to "  -pthread"restoring CXXFLAGS to ""setting EXTRA_CXXFLAGS to ""restoring LDFLAGS to ""setting EXTRA_LDFLAGS to " "restoring LIBS to ""setting EXTRA_LIBS to ""restoring INCLUDES to ""setting EXTRA_INCLUDES to "-I. -I$(top_srcdir)/os/$(OS_DIR) -I$(top_srcdir)/include -I/usr/include/apr-1 -I$(top_srcdir)/modules/aaa -I$(top_srcdir)/modules/cache -I$(top_srcdir)/modules/core -I$(top_srcdir)/modules/database -I$(top_srcdir)/modules/filters -I$(top_srcdir)/modules/ldap -I$(top_srcdir)/modules/loggers -I$(top_srcdir)/modules/lua -I$(top_srcdir)/modules/proxy -I$(top_srcdir)/modules/http2 -I$(top_srcdir)/modules/session -I$(top_srcdir)/modules/ssl -I$(top_srcdir)/modules/test -I$(top_srcdir)/server -I$(top_srcdir)/modules/md -I$(top_srcdir)/modules/arch/unix -I$(top_srcdir)/modules/dav/main -I$(top_srcdir)/modules/generators -I$(top_srcdir)/modules/mappers"
configure: 
configure: Construct makefiles and header files...
configure: 
configure: creating config_vars.mk
configure: creating ./config.status
creating modules/aaa/Makefile
creating modules/arch/win32/Makefile
creating modules/cache/Makefile
creating modules/core/Makefile
creating modules/database/Makefile
creating modules/debugging/Makefile
creating modules/echo/Makefile
creating modules/examples/Makefile
creating modules/experimental/Makefile
creating modules/filters/Makefile
creating modules/http/Makefile
creating modules/ldap/Makefile
creating modules/loggers/Makefile
creating modules/lua/Makefile
creating modules/metadata/Makefile
creating modules/proxy/Makefile
creating modules/session/Makefile
creating modules/slotmem/Makefile
creating modules/ssl/Makefile
creating modules/test/Makefile
creating os/unix/Makefile
creating modules/http2/Makefile
creating modules/md/Makefile
creating modules/proxy/balancers/Makefile
creating server/mpm/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
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: include/ap_config_auto.h is unchanged
config.status: executing default commands
configure: summary of build options:Server Version: 2.4.43Install prefix: /apps/httpd43C compiler:     gcc -std=gnu99CFLAGS:           -pthread  CPPFLAGS:        -DLINUX -D_REENTRANT -D_GNU_SOURCE  LDFLAGS:           LIBS:             C preprocessor: gcc -E
编译成功

第三步:根据Makefile文件,构建应用程序

make

第四步:复制文件到相应路径

make install
Making install in srclib
make[1]: Entering directory `/data/httpd-2.4.43/srclib'
make[2]: Entering directory `/data/httpd-2.4.43/srclib'
make[2]: Leaving directory `/data/httpd-2.4.43/srclib'
make[1]: Leaving directory `/data/httpd-2.4.43/srclib'
Making install in os
make[1]: Entering directory `/data/httpd-2.4.43/os'
Making install in unix
make[2]: Entering directory `/data/httpd-2.4.43/os/unix'
make[3]: Entering directory `/data/httpd-2.4.43/os/unix'
make[3]: Leaving directory `/data/httpd-2.4.43/os/unix'
make[2]: Leaving directory `/data/httpd-2.4.43/os/unix'
make[2]: Entering directory `/data/httpd-2.4.43/os'
make[2]: Leaving directory `/data/httpd-2.4.43/os'
make[1]: Leaving directory `/data/httpd-2.4.43/os'
Making install in server
make[1]: Entering directory `/data/httpd-2.4.43/server'
Making install in mpm
make[2]: Entering directory `/data/httpd-2.4.43/server/mpm'
Making install in worker
make[3]: Entering directory `/data/httpd-2.4.43/server/mpm/worker'
make[4]: Entering directory `/data/httpd-2.4.43/server/mpm/worker'
mkdir /apps
mkdir /apps/httpd43
mkdir /apps/httpd43/modules
make[4]: Leaving directory `/data/httpd-2.4.43/server/mpm/worker'
make[3]: Leaving directory `/data/httpd-2.4.43/server/mpm/worker'
make[3]: Entering directory `/data/httpd-2.4.43/server/mpm'
make[3]: Leaving directory `/data/httpd-2.4.43/server/mpm'
make[2]: Leaving directory `/data/httpd-2.4.43/server/mpm'
make[2]: Entering directory `/data/httpd-2.4.43/server'
make[2]: Leaving directory `/data/httpd-2.4.43/server'
make[1]: Leaving directory `/data/httpd-2.4.43/server'
Making install in modules
make[1]: Entering directory `/data/httpd-2.4.43/modules'
Making install in aaa
make[2]: Entering directory `/data/httpd-2.4.43/modules/aaa'
make[3]: Entering directory `/data/httpd-2.4.43/modules/aaa'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_authn_file.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_authn_dbm.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_authn_anon.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_authn_dbd.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_authn_socache.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_authn_core.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_authz_host.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_authz_groupfile.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_authz_user.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_authz_dbm.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_authz_owner.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_authz_dbd.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_authz_core.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_authnz_ldap.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_access_compat.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_auth_basic.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_auth_form.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_auth_digest.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_allowmethods.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/aaa'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/aaa'
Making install in cache
make[2]: Entering directory `/data/httpd-2.4.43/modules/cache'
make[3]: Entering directory `/data/httpd-2.4.43/modules/cache'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_file_cache.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_cache.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_cache_disk.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_cache_socache.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_socache_shmcb.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_socache_dbm.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_socache_memcache.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_socache_redis.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/cache'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/cache'
Making install in core
make[2]: Entering directory `/data/httpd-2.4.43/modules/core'
make[3]: Entering directory `/data/httpd-2.4.43/modules/core'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_watchdog.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_macro.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/core'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/core'
Making install in database
make[2]: Entering directory `/data/httpd-2.4.43/modules/database'
make[3]: Entering directory `/data/httpd-2.4.43/modules/database'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_dbd.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/database'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/database'
Making install in debugging
make[2]: Entering directory `/data/httpd-2.4.43/modules/debugging'
make[3]: Entering directory `/data/httpd-2.4.43/modules/debugging'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_dumpio.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/debugging'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/debugging'
Making install in filters
make[2]: Entering directory `/data/httpd-2.4.43/modules/filters'
make[3]: Entering directory `/data/httpd-2.4.43/modules/filters'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_buffer.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_ratelimit.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_reqtimeout.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_ext_filter.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_request.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_include.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_filter.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_substitute.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_sed.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/filters'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/filters'
Making install in http
make[2]: Entering directory `/data/httpd-2.4.43/modules/http'
make[3]: Entering directory `/data/httpd-2.4.43/modules/http'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_mime.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/http'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/http'
Making install in ldap
make[2]: Entering directory `/data/httpd-2.4.43/modules/ldap'
make[3]: Entering directory `/data/httpd-2.4.43/modules/ldap'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_ldap.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/ldap'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/ldap'
Making install in loggers
make[2]: Entering directory `/data/httpd-2.4.43/modules/loggers'
make[3]: Entering directory `/data/httpd-2.4.43/modules/loggers'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_log_config.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_log_debug.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_logio.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/loggers'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/loggers'
Making install in metadata
make[2]: Entering directory `/data/httpd-2.4.43/modules/metadata'
make[3]: Entering directory `/data/httpd-2.4.43/modules/metadata'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_env.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_expires.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_headers.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_unique_id.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_setenvif.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_version.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_remoteip.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/metadata'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/metadata'
Making install in proxy
make[2]: Entering directory `/data/httpd-2.4.43/modules/proxy'
make[3]: Entering directory `/data/httpd-2.4.43/modules/proxy'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy_connect.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy_ftp.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy_http.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy_fcgi.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy_scgi.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy_uwsgi.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy_fdpass.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy_wstunnel.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy_ajp.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy_balancer.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy_express.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_proxy_hcheck.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/proxy'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/proxy'
Making install in session
make[2]: Entering directory `/data/httpd-2.4.43/modules/session'
make[3]: Entering directory `/data/httpd-2.4.43/modules/session'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_session.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_session_cookie.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_session_crypto.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_session_dbd.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/session'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/session'
Making install in slotmem
make[2]: Entering directory `/data/httpd-2.4.43/modules/slotmem'
make[3]: Entering directory `/data/httpd-2.4.43/modules/slotmem'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_slotmem_shm.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/slotmem'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/slotmem'
Making install in proxy/balancers
make[2]: Entering directory `/data/httpd-2.4.43/modules/proxy/balancers'
make[3]: Entering directory `/data/httpd-2.4.43/modules/proxy/balancers'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_lbmethod_byrequests.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_lbmethod_bytraffic.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_lbmethod_bybusyness.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_lbmethod_heartbeat.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/proxy/balancers'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/proxy/balancers'
Making install in arch/unix
make[2]: Entering directory `/data/httpd-2.4.43/modules/arch/unix'
make[3]: Entering directory `/data/httpd-2.4.43/modules/arch/unix'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_unixd.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/arch/unix'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/arch/unix'
Making install in dav/main
make[2]: Entering directory `/data/httpd-2.4.43/modules/dav/main'
make[3]: Entering directory `/data/httpd-2.4.43/modules/dav/main'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_dav.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/dav/main'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/dav/main'
Making install in generators
make[2]: Entering directory `/data/httpd-2.4.43/modules/generators'
make[3]: Entering directory `/data/httpd-2.4.43/modules/generators'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_status.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_autoindex.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_info.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_cgid.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/generators'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/generators'
Making install in dav/fs
make[2]: Entering directory `/data/httpd-2.4.43/modules/dav/fs'
make[3]: Entering directory `/data/httpd-2.4.43/modules/dav/fs'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_dav_fs.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/dav/fs'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/dav/fs'
Making install in mappers
make[2]: Entering directory `/data/httpd-2.4.43/modules/mappers'
make[3]: Entering directory `/data/httpd-2.4.43/modules/mappers'
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_vhost_alias.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_negotiation.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_dir.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_actions.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_speling.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_userdir.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_alias.la /apps/httpd43/modules/
/usr/lib64/apr-1/build/libtool --silent --mode=install install mod_rewrite.la /apps/httpd43/modules/
make[3]: Leaving directory `/data/httpd-2.4.43/modules/mappers'
make[2]: Leaving directory `/data/httpd-2.4.43/modules/mappers'
make[2]: Entering directory `/data/httpd-2.4.43/modules'
make[2]: Leaving directory `/data/httpd-2.4.43/modules'
make[1]: Leaving directory `/data/httpd-2.4.43/modules'
Making install in support
make[1]: Entering directory `/data/httpd-2.4.43/support'
make[2]: Entering directory `/data/httpd-2.4.43/support'
mkdir /apps/httpd43/bin
make[2]: Leaving directory `/data/httpd-2.4.43/support'
make[1]: Leaving directory `/data/httpd-2.4.43/support'
make[1]: Entering directory `/data/httpd-2.4.43'make[2]: Entering directory `/data/httpd-2.4.43/os'
make[3]: Entering directory `/data/httpd-2.4.43/os/unix'
make[3]: Leaving directory `/data/httpd-2.4.43/os/unix'
make[2]: Leaving directory `/data/httpd-2.4.43/os'
make[2]: Entering directory `/data/httpd-2.4.43/server'
make[3]: Entering directory `/data/httpd-2.4.43/server/mpm'
make[4]: Entering directory `/data/httpd-2.4.43/server/mpm/worker'
make[4]: Leaving directory `/data/httpd-2.4.43/server/mpm/worker'
make[3]: Leaving directory `/data/httpd-2.4.43/server/mpm'
make[2]: Leaving directory `/data/httpd-2.4.43/server'
make[2]: Entering directory `/data/httpd-2.4.43/modules'
make[3]: Entering directory `/data/httpd-2.4.43/modules/aaa'
Building shared: mod_authn_file.la mod_authn_dbm.la mod_authn_anon.la mod_authn_dbd.la mod_authn_socache.la mod_authn_core.la mod_authz_host.la mod_authz_groupfile.la mod_authz_user.la mod_authz_dbm.la mod_authz_owner.la mod_authz_dbd.la mod_authz_core.la mod_authnz_ldap.la mod_access_compat.la mod_auth_basic.la mod_auth_form.la mod_auth_digest.la mod_allowmethods.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/aaa'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/aaa'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/aaa'
make[3]: Entering directory `/data/httpd-2.4.43/modules/cache'
Building shared: mod_file_cache.la mod_cache.la mod_cache_disk.la mod_cache_socache.la mod_socache_shmcb.la mod_socache_dbm.la mod_socache_memcache.la mod_socache_redis.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/cache'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/cache'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/cache'
make[3]: Entering directory `/data/httpd-2.4.43/modules/core'
Building shared: mod_watchdog.la mod_macro.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/core'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/core'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/core'
make[3]: Entering directory `/data/httpd-2.4.43/modules/database'
Building shared: mod_dbd.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/database'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/database'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/database'
make[3]: Entering directory `/data/httpd-2.4.43/modules/debugging'
Building shared: mod_dumpio.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/debugging'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/debugging'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/debugging'
make[3]: Entering directory `/data/httpd-2.4.43/modules/filters'
Building shared: mod_buffer.la mod_ratelimit.la mod_reqtimeout.la mod_ext_filter.la mod_request.la mod_include.la mod_filter.la mod_substitute.la mod_sed.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/filters'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/filters'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/filters'
make[3]: Entering directory `/data/httpd-2.4.43/modules/http'
Building shared: mod_mime.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/http'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/http'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/http'
make[3]: Entering directory `/data/httpd-2.4.43/modules/ldap'
Building shared: mod_ldap.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/ldap'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/ldap'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/ldap'
make[3]: Entering directory `/data/httpd-2.4.43/modules/loggers'
Building shared: mod_log_config.la mod_log_debug.la mod_logio.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/loggers'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/loggers'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/loggers'
make[3]: Entering directory `/data/httpd-2.4.43/modules/metadata'
Building shared: mod_env.la mod_expires.la mod_headers.la mod_unique_id.la mod_setenvif.la mod_version.la mod_remoteip.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/metadata'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/metadata'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/metadata'
make[3]: Entering directory `/data/httpd-2.4.43/modules/proxy'
Building shared: mod_proxy.la mod_proxy_connect.la mod_proxy_ftp.la mod_proxy_http.la mod_proxy_fcgi.la mod_proxy_scgi.la mod_proxy_uwsgi.la mod_proxy_fdpass.la mod_proxy_wstunnel.la mod_proxy_ajp.la mod_proxy_balancer.la mod_proxy_express.la mod_proxy_hcheck.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/proxy'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/proxy'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/proxy'
make[3]: Entering directory `/data/httpd-2.4.43/modules/session'
Building shared: mod_session.la mod_session_cookie.la mod_session_crypto.la mod_session_dbd.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/session'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/session'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/session'
make[3]: Entering directory `/data/httpd-2.4.43/modules/slotmem'
Building shared: mod_slotmem_shm.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/slotmem'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/slotmem'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/slotmem'
make[3]: Entering directory `/data/httpd-2.4.43/modules/proxy/balancers'
Building shared: mod_lbmethod_byrequests.la mod_lbmethod_bytraffic.la mod_lbmethod_bybusyness.la mod_lbmethod_heartbeat.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/proxy/balancers'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/proxy/balancers'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/proxy/balancers'
make[3]: Entering directory `/data/httpd-2.4.43/modules/arch/unix'
Building shared: mod_unixd.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/arch/unix'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/arch/unix'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/arch/unix'
make[3]: Entering directory `/data/httpd-2.4.43/modules/dav/main'
Building shared: mod_dav.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/dav/main'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/dav/main'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/dav/main'
make[3]: Entering directory `/data/httpd-2.4.43/modules/generators'
Building shared: mod_status.la mod_autoindex.la mod_info.la mod_cgid.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/generators'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/generators'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/generators'
make[3]: Entering directory `/data/httpd-2.4.43/modules/dav/fs'
Building shared: mod_dav_fs.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/dav/fs'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/dav/fs'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/dav/fs'
make[3]: Entering directory `/data/httpd-2.4.43/modules/mappers'
Building shared: mod_vhost_alias.la mod_negotiation.la mod_dir.la mod_actions.la mod_speling.la mod_userdir.la mod_alias.la mod_rewrite.la
make[4]: Entering directory `/data/httpd-2.4.43/modules/mappers'
make[4]: Nothing to be done for `local-shared-build'.
make[4]: Leaving directory `/data/httpd-2.4.43/modules/mappers'
make[3]: Leaving directory `/data/httpd-2.4.43/modules/mappers'
make[2]: Leaving directory `/data/httpd-2.4.43/modules'
make[2]: Entering directory `/data/httpd-2.4.43/support'
make[2]: Leaving directory `/data/httpd-2.4.43/support'Installing configuration files
mkdir /apps/httpd43/conf
mkdir /apps/httpd43/conf/extra
mkdir /apps/httpd43/conf/original
mkdir /apps/httpd43/conf/original/extra
Installing HTML documents
mkdir /apps/httpd43/htdocs
Installing error documents
mkdir /apps/httpd43/error
Installing icons
mkdir /apps/httpd43/icons
mkdir /apps/httpd43/logs
Installing CGIs
mkdir /apps/httpd43/cgi-bin
Installing header files
mkdir /apps/httpd43/include
Installing build system files
mkdir /apps/httpd43/build
Installing man pages and online manual
mkdir /apps/httpd43/man
mkdir /apps/httpd43/man/man1
mkdir /apps/httpd43/man/man8
mkdir /apps/httpd43/manual
make[1]: Leaving directory `/data/httpd-2.4.43'

第五步 把程序目录导入至PATH环境变量中

PATH=/apps/httpd43/bin:$PATH

第六步 启动程序

apachectl start

在这里插入图片描述

3、创建一个2G的文件系统,块大小为2048byte,预留1%可用空间,文件系统 ext4,卷标为TEST,要求此分区开机后自动挂载至/test目录,且默认有acl挂载选项

fdisk /dev/sda 创建一个sda6
mke2fs -b 2048 -L TEST -t ext4 -m 1 /dev/sda6 把sda6的文件系统改成ext4,预留1%可用空间,卷标为TEST,块大小为2048UUID=1080bd43-e2fb-469b-952a-f440f1ce23df /test                   ext4    acl             0 0df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        895M     0  895M   0% /dev
tmpfs           910M     0  910M   0% /dev/shm
tmpfs           910M   11M  900M   2% /run
tmpfs           910M     0  910M   0% /sys/fs/cgroup
/dev/sda2       100G  4.6G   96G   5% /
/dev/sda3        50G  105M   50G   1% /data
/dev/sda1      1014M  179M  836M  18% /boot
/dev/sda6       2.0G  9.1M  1.9G   1% /test
tmpfs           182M  8.0K  182M   1% /run/user/42
tmpfs           182M     0  182M   0% /run/user/0dumpe2fs -h /dev/sda6
dumpe2fs 1.42.9 (28-Dec-2013)
Filesystem volume name:   TEST
Last mounted on:          <not available>
Filesystem UUID:          1080bd43-e2fb-469b-952a-f440f1ce23df
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super huge_file uninit_bg dir_nlink extra_isize
Filesystem flags:         signed_directory_hash 
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              131072
Block count:              1048576
Reserved block count:     10485
Free blocks:              994651
Free inodes:              131061
First block:              0
Block size:               2048
Fragment size:            2048
Group descriptor size:    64
Reserved GDT blocks:      512
Blocks per group:         16384
Fragments per group:      16384
Inodes per group:         2048
Inode blocks per group:   256
Flex block group size:    16
Filesystem created:       Sat May 30 09:59:00 2020
Last mount time:          Sat May 30 10:39:44 2020
Last write time:          Sat May 30 10:39:44 2020
Mount count:              4
Maximum mount count:      -1
Last checked:             Sat May 30 09:59:00 2020
Check interval:           0 (<none>)
Lifetime writes:          98 MB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:	          256
Required extra isize:     28
Desired extra isize:      28
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      e6738626-08cc-4a57-b0dd-002a3adfba48
Journal backup:           inode blocks
Journal features:         journal_64bit
Journal size:             64M
Journal length:           32768
Journal sequence:         0x00000004
Journal start:            0

4、创建一个至少有两个PV组成的大小为20G的名为testvg的VG;要求PE大小 为16MB, 而后在卷组中创建大小为5G的逻辑卷testlv;挂载至/users目录

先创建PV

pvcreate /dev/sda7 /dev/sda8

创建VG名为testvg,PE大小为16

vgcreate testvg -s 16 /dev/sda7 /dev/sda8

创建大小5G,名字为testlv的逻辑卷

lvcreate -L 5G -n testlv testvg 

把testlv创建一个xfs的文件系统

 mkfs.xfs /dev/testvg/testlv 

挂载到/users目录下

mount /dev/testvg/testlv /users
查看全文
如若内容造成侵权/违法违规/事实不符,请联系编程学习网邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!

相关文章

  1. python3 translate---TypeError: translate() takes exactly one argument (2 given)

    TypeError: translate() takes exactly one argument (2 given) 使用translate()函数删除指定字符,报错内容为函数内只需要一个参数,但提供了两个。原因是python2.7版本之后translate()内的参数从两个变成了一个。 目录:TypeError: translate() takes exactly one argument …...

    2024/4/16 12:14:47
  2. 浏览器原理学习笔记07—浏览器安全

    浏览器原理学习笔记07—浏览器安全 文章目录浏览器原理学习笔记07—浏览器安全1. Web 页面安全1.1 同源策略 (Same-origin policy)1.2 安全与效率的平衡1.3 XSS 攻击1.3.1 概念1.3.2 恶意脚本注入方式1.3.2.1 存储型 XSS 攻击1.3.2.2 反射型 XSS 攻击1.3.2.3 基于 DOM 的 XSS 攻…...

    2024/4/16 12:14:37
  3. 架构师成长之路

    架构师成长之路前言技术栈 前言 互联网的发展,改变我们身边每个人的生活方式、行为方式。当下我们自以为然的事情,可能在5、10年前,被我们称为异想天开的事情。时代快速的发展,逃脱不掉技术的变革、进步。身为一名多年的技术工作者(俗称:码农),渐渐的快要被快速的列车所…...

    2024/4/16 12:14:55
  4. 经典飞机大战如何编码实现?可以用 Python 写一个!

    当年微信 5.0 发布时,首页被设置成了一款新推出的小游戏,它就是微信版飞机大战,游戏一经推出便是火爆异常,铅笔画风格的游戏界面也受到了很多人的喜欢。 最近重温了一下这款小游戏,尽管时隔多年,但无论是游戏的画质还是风格,时至今日依然都不过时。本文我们使用 Python …...

    2024/4/15 6:21:24
  5. centos7.x 配置守护进程服务

    #### 前言当我们在centos7.x服务器上部署好一个应用程序后,这个程序也能随着开机自启动,也能通过管理守护进程方式进行应用程序的开启,关闭,及查看状态等,这就需要我们对应用程序进行处理。#### 案例##### 内网穿透客户端frpc应用程序##### 目录结构```~]# tree /data/app…...

    2024/4/25 14:15:37
  6. 浏览器原理学习笔记01—宏观视角下的浏览器

    浏览器原理学习笔记01—宏观视角下的浏览器 文章目录浏览器原理学习笔记01—宏观视角下的浏览器1. 起步2. Chrome架构演进2.1 2008年发布时的进程架构2.2 目前多进程架构2.3 未来面向服务(SOA)的架构3. TCP协议4. HTTP请求流程4.1 浏览器端发起 HTTP 请求流程4.2 服务器端处理 …...

    2024/4/16 12:15:21
  7. 阿里又孵出一只2000亿猛兽,马云当年的眼光太狠了

    文章原创来自洞见网http://www.localonline.com.cn/shangye/766.html,转载请注明出处。阿里巴巴2500亿猛兽出笼!最近,阿里健康发布2020财年业绩,成绩惊得大家眼珠子都掉下来了!首先是收入:过去一年阿里健康收入95亿,大涨88.3%,医药自营、医药电商、互联网医疗、消费医疗、…...

    2024/4/24 9:12:38
  8. 基于@Aspect的AOP

    AOP为Aspect Oriented Programming的缩写,意为:面向切面编程,通过预编译方式和运行期动态代理实现程序功能的统一维护的一种技术.AOP是OOP的延续,是软件开发中的一个热点,也是Spring框架中的一个重要内容,是函数式编程的一种衍生范型。利用AOP可以对业务逻辑的各个部分进…...

    2024/4/24 9:12:38
  9. MFC—PostMessage与OnCommand

    MFC—PostMessage与OnCommand 首先放一个关于PostMessage的链接,清楚说明了PostMessage发送消息(自定义消息)的实例。https://blog.csdn.net/alzzw/article/details/103070568 别处感觉好的解释: Windows程序都维护有自己的消息队列,保存了队列消息(当然也有非队列消息,…...

    2024/4/24 9:12:36
  10. 吴恩达深度学习——目标检测学习

    吴恩达深度学习——目标检测学习目标检测概述一、 目标定位:1. 边界界框参数2. 输出结果定义3. 损失函数定义二、 特征点检测三、目标检测1. 基于滑动窗的目标检测算法2. 在卷积层中应用滑动窗目标检测3. YOLO算法(一部分)四、检测算法运作1.交并比2. 非极大值抑制五、anchor …...

    2024/4/24 9:12:38
  11. (新手小白)如何使用Anaconda安装tensorflow2.1.0

    (新手小白)如何使用Anaconda安装tensorflow2.1.0 本人小白一枚,由于这学期接触深度学习这门课,需要安装tensorflow。通过几天的不断尝试,终于成功的装上了。为了大家避免走一些弯路,把安装的经验分享给大家。如果有问题,可以在评论区交流。 一、卸载装过的anaconda与pyt…...

    2024/4/24 9:12:34
  12. 第四章 常量

    4.1 概述常量:是指在java程序运行期间固定不变的数据。 4.2 分类类型 含义 数据举例整数常量 所有的整数 0,1,567,-9浮点数常量(小数常量) 所有的小数 0.0,-0.1,2.55字符常量 单引号引起来的单个字符,必须有内容, ‘a’,‘中’字符串常量 双引号引起来的,可以写多个…...

    2024/4/24 9:12:36
  13. kettle转换日志分析,便捷统计出具体操作了哪些表格,不再迷茫

    日志表分析 在工作中,我们需要利用kettle从省份剥离出各个地市的数据并进行增量抽取,因为整个数据库中数据量巨大,而有些表格无法区分地市的属性,就没办法剥离,只能剥离大部分表。 当我们想要统计出具体剥离了哪些表时,手工统计就显得很麻烦,技术手段太low。其实,kettl…...

    2024/4/24 9:12:33
  14. 基于百度人脸识别的小区人脸门禁系统

    又是一年毕业季,自己转眼间也毕业一年了!!!前段时间帮学妹指导了一个小区人脸识别门禁系统,整个的实现思路在此记录下,感兴趣的可以参考一下。整个项目沟通后情况如下:需求功能:人脸录入人脸更新人脸删除人脸搜索数据备份,数据恢复人脸登录登录统计管理员系统登录小区…...

    2024/4/24 9:12:31
  15. Qt Label控件使用

    Qt用Lable标签显示图片 1. 通过QtCreater设计器添加一个Lable控件2. 在项目根目录下添加一个文件夹(名字随意)3. 在该文件夹中放一些图片4. 项目名右键-》add new5. 添加此类文件6. 给资源文件取个名字7. 成功之后如下:...

    2024/4/24 9:12:30
  16. centos服务器ssh连接被拒绝,Connection refused

    排查检测服务是否正常启动ps -ef | grep rabbit如果服务未启动,则启动服务然后,查看服务是否正确监听了端口netstat -anp | grep pid检查服务端防火墙是否开启systemctl status firewalld为了服务器安全,强烈建议打开防火墙检查服务器端口是否开放firewall-cmd --query-port…...

    2024/4/24 9:12:29
  17. 设计模式之模板方法设计模式

    什么是模板方法模式父类抽象出子类共有的方法,子类实现各自不同的业务。总之就是一种行为有他们共同的方法,只是他们具体的实现不一样。比如开车这种行为模式,启动-->换挡-->踩油门。每种型号品牌的车都有共同的行为,但是不同型号品牌的车的实现方式可能不同,需要每…...

    2024/4/24 9:12:28
  18. ECMAScript5相关笔记

    ECMAScript5 严格模式理解除了正常运行模式(混杂模式),ES5添加了第二种运行模式:“严格模式”(strict mode)。 顾名思义,这种模式使得Javascript在更严格的语法条件下运行目的/作用消除Javascript语法的一些不合理、不严谨之处,减少一些怪异行为* 消除代码运行的一些不安…...

    2024/4/24 9:12:27
  19. ROS下搭建仿真模拟环境,编程控制小车,按照给定赛道完成比赛

    文章目录一、下载包以及编译1、下载源码包2、编译3、错误解决(1)、controllers相关(2)、driver_base相关(3)、ackermann_msgs相关(4)、Could not find a package configuration file provided by "OpenCV"(5)、findLine.cpp找不到头文件二、启动仿真1、运行…...

    2024/4/22 18:21:51
  20. vue 中 EChart 的使用,折线图与柱状图实例

    vue 中 EChart 的使用,简单实例 1、npm 安装 ECharts命令: npm install echarts --save2、引入 ECharts 在 main.js 中通过import echarts from "echarts";Vue.prototype.$echarts = echarts;3、定义盒子存放图表<template><div class="home"&g…...

    2024/4/20 16:42:26

最新文章

  1. Python请求示例电商商品详情数据(API接口开发系列),从入门到实战

    在电商系统中&#xff0c;商品详情数据通常通过API接口提供。以下是一个从入门到实战的Python请求示例&#xff0c;展示如何获取电商商品详情数据。 入门篇&#xff1a;理解API接口 首先&#xff0c;你需要了解API&#xff08;应用程序接口&#xff09;的基本概念。API允许不…...

    2024/4/26 16:54:52
  2. 梯度消失和梯度爆炸的一些处理方法

    在这里是记录一下梯度消失或梯度爆炸的一些处理技巧。全当学习总结了如有错误还请留言&#xff0c;在此感激不尽。 权重和梯度的更新公式如下&#xff1a; w w − η ⋅ ∇ w w w - \eta \cdot \nabla w ww−η⋅∇w 个人通俗的理解梯度消失就是网络模型在反向求导的时候出…...

    2024/3/20 10:50:27
  3. 16个Python接单平台,做私活爽歪歪!(附100个爬虫源码)

    一、python爬虫是可以做副业的&#xff0c;主要是爬取网站、小程序或者APP的数据&#xff0c;对数据进行分析与处理&#xff0c;或者直接向客户提供爬虫程序与技术支持。 当初学会Python那会儿&#xff0c;有朋友来介绍我去接私活&#xff0c;是为一家公司做网站&#xff0c;那…...

    2024/4/26 8:46:13
  4. 数据可视化-Python

    师从黑马程序员 Json的应用 Json的概念 Json的作用 Json格式数据转化 Python数据和Json数据的相互转化 注&#xff1a;把字典列表变为字符串用dumps,把字符串还原回字典或列表用loads import json#准备列表&#xff0c;列表内每一个元素都是字典&#xff0c;将其转化为Json …...

    2024/4/23 6:22:50
  5. 【外汇早评】美通胀数据走低,美元调整

    原标题:【外汇早评】美通胀数据走低,美元调整昨日美国方面公布了新一期的核心PCE物价指数数据,同比增长1.6%,低于前值和预期值的1.7%,距离美联储的通胀目标2%继续走低,通胀压力较低,且此前美国一季度GDP初值中的消费部分下滑明显,因此市场对美联储后续更可能降息的政策…...

    2024/4/25 11:51:20
  6. 【原油贵金属周评】原油多头拥挤,价格调整

    原标题:【原油贵金属周评】原油多头拥挤,价格调整本周国际劳动节,我们喜迎四天假期,但是整个金融市场确实流动性充沛,大事频发,各个商品波动剧烈。美国方面,在本周四凌晨公布5月份的利率决议和新闻发布会,维持联邦基金利率在2.25%-2.50%不变,符合市场预期。同时美联储…...

    2024/4/25 18:39:24
  7. 【外汇周评】靓丽非农不及疲软通胀影响

    原标题:【外汇周评】靓丽非农不及疲软通胀影响在刚结束的周五,美国方面公布了新一期的非农就业数据,大幅好于前值和预期,新增就业重新回到20万以上。具体数据: 美国4月非农就业人口变动 26.3万人,预期 19万人,前值 19.6万人。 美国4月失业率 3.6%,预期 3.8%,前值 3…...

    2024/4/25 18:38:39
  8. 【原油贵金属早评】库存继续增加,油价收跌

    原标题:【原油贵金属早评】库存继续增加,油价收跌周三清晨公布美国当周API原油库存数据,上周原油库存增加281万桶至4.692亿桶,增幅超过预期的74.4万桶。且有消息人士称,沙特阿美据悉将于6月向亚洲炼油厂额外出售更多原油,印度炼油商预计将每日获得至多20万桶的额外原油供…...

    2024/4/25 18:39:23
  9. 【外汇早评】日本央行会议纪要不改日元强势

    原标题:【外汇早评】日本央行会议纪要不改日元强势近两日日元大幅走强与近期市场风险情绪上升,避险资金回流日元有关,也与前一段时间的美日贸易谈判给日本缓冲期,日本方面对汇率问题也避免继续贬值有关。虽然今日早间日本央行公布的利率会议纪要仍然是支持宽松政策,但这符…...

    2024/4/25 18:39:22
  10. 【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响

    原标题:【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响近日伊朗局势升温,导致市场担忧影响原油供给,油价试图反弹。此时OPEC表态稳定市场。据消息人士透露,沙特6月石油出口料将低于700万桶/日,沙特已经收到石油消费国提出的6月份扩大出口的“适度要求”,沙特将满…...

    2024/4/25 18:39:22
  11. 【外汇早评】美欲与伊朗重谈协议

    原标题:【外汇早评】美欲与伊朗重谈协议美国对伊朗的制裁遭到伊朗的抗议,昨日伊朗方面提出将部分退出伊核协议。而此行为又遭到欧洲方面对伊朗的谴责和警告,伊朗外长昨日回应称,欧洲国家履行它们的义务,伊核协议就能保证存续。据传闻伊朗的导弹已经对准了以色列和美国的航…...

    2024/4/25 18:39:20
  12. 【原油贵金属早评】波动率飙升,市场情绪动荡

    原标题:【原油贵金属早评】波动率飙升,市场情绪动荡因中美贸易谈判不安情绪影响,金融市场各资产品种出现明显的波动。随着美国与中方开启第十一轮谈判之际,美国按照既定计划向中国2000亿商品征收25%的关税,市场情绪有所平复,已经开始接受这一事实。虽然波动率-恐慌指数VI…...

    2024/4/25 16:48:44
  13. 【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试

    原标题:【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试美国和伊朗的局势继续升温,市场风险情绪上升,避险黄金有向上突破阻力的迹象。原油方面稍显平稳,近期美国和OPEC加大供给及市场需求回落的影响,伊朗局势并未推升油价走强。近期中美贸易谈判摩擦再度升级,美国对中…...

    2024/4/26 16:00:35
  14. 【原油贵金属早评】市场情绪继续恶化,黄金上破

    原标题:【原油贵金属早评】市场情绪继续恶化,黄金上破周初中国针对于美国加征关税的进行的反制措施引发市场情绪的大幅波动,人民币汇率出现大幅的贬值动能,金融市场受到非常明显的冲击。尤其是波动率起来之后,对于股市的表现尤其不安。隔夜美国股市出现明显的下行走势,这…...

    2024/4/25 18:39:16
  15. 【外汇早评】美伊僵持,风险情绪继续升温

    原标题:【外汇早评】美伊僵持,风险情绪继续升温昨日沙特两艘油轮再次发生爆炸事件,导致波斯湾局势进一步恶化,市场担忧美伊可能会出现摩擦生火,避险品种获得支撑,黄金和日元大幅走强。美指受中美贸易问题影响而在低位震荡。继5月12日,四艘商船在阿联酋领海附近的阿曼湾、…...

    2024/4/25 18:39:16
  16. 【原油贵金属早评】贸易冲突导致需求低迷,油价弱势

    原标题:【原油贵金属早评】贸易冲突导致需求低迷,油价弱势近日虽然伊朗局势升温,中东地区几起油船被袭击事件影响,但油价并未走高,而是出于调整结构中。由于市场预期局势失控的可能性较低,而中美贸易问题导致的全球经济衰退风险更大,需求会持续低迷,因此油价调整压力较…...

    2024/4/25 0:00:17
  17. 氧生福地 玩美北湖(上)——为时光守候两千年

    原标题:氧生福地 玩美北湖(上)——为时光守候两千年一次说走就走的旅行,只有一张高铁票的距离~ 所以,湖南郴州,我来了~ 从广州南站出发,一个半小时就到达郴州西站了。在动车上,同时改票的南风兄和我居然被分到了一个车厢,所以一路非常愉快地聊了过来。 挺好,最起…...

    2024/4/25 4:19:21
  18. 氧生福地 玩美北湖(中)——永春梯田里的美与鲜

    原标题:氧生福地 玩美北湖(中)——永春梯田里的美与鲜一觉醒来,因为大家太爱“美”照,在柳毅山庄去寻找龙女而错过了早餐时间。近十点,向导坏坏还是带着饥肠辘辘的我们去吃郴州最富有盛名的“鱼头粉”。说这是“十二分推荐”,到郴州必吃的美食之一。 哇塞!那个味美香甜…...

    2024/4/25 18:39:14
  19. 氧生福地 玩美北湖(下)——奔跑吧骚年!

    原标题:氧生福地 玩美北湖(下)——奔跑吧骚年!让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 啊……啊……啊 两…...

    2024/4/25 18:39:12
  20. 扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!

    原标题:扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!扒开伪装医用面膜,翻六倍价格宰客!当行业里的某一品项火爆了,就会有很多商家蹭热度,装逼忽悠,最近火爆朋友圈的医用面膜,被沾上了污点,到底怎么回事呢? “比普通面膜安全、效果好!痘痘、痘印、敏感肌都能用…...

    2024/4/25 2:10:52
  21. 「发现」铁皮石斛仙草之神奇功效用于医用面膜

    原标题:「发现」铁皮石斛仙草之神奇功效用于医用面膜丽彦妆铁皮石斛医用面膜|石斛多糖无菌修护补水贴19大优势: 1、铁皮石斛:自唐宋以来,一直被列为皇室贡品,铁皮石斛生于海拔1600米的悬崖峭壁之上,繁殖力差,产量极低,所以古代仅供皇室、贵族享用 2、铁皮石斛自古民间…...

    2024/4/25 18:39:00
  22. 丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者

    原标题:丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者【公司简介】 广州华彬企业隶属香港华彬集团有限公司,专注美业21年,其旗下品牌: 「圣茵美」私密荷尔蒙抗衰,产后修复 「圣仪轩」私密荷尔蒙抗衰,产后修复 「花茵莳」私密荷尔蒙抗衰,产后修复 「丽彦妆」专注医学护…...

    2024/4/25 13:19:01
  23. 广州械字号面膜生产厂家OEM/ODM4项须知!

    原标题:广州械字号面膜生产厂家OEM/ODM4项须知!广州械字号面膜生产厂家OEM/ODM流程及注意事项解读: 械字号医用面膜,其实在我国并没有严格的定义,通常我们说的医美面膜指的应该是一种「医用敷料」,也就是说,医用面膜其实算作「医疗器械」的一种,又称「医用冷敷贴」。 …...

    2024/4/25 18:38:58
  24. 械字号医用眼膜缓解用眼过度到底有无作用?

    原标题:械字号医用眼膜缓解用眼过度到底有无作用?医用眼膜/械字号眼膜/医用冷敷眼贴 凝胶层为亲水高分子材料,含70%以上的水分。体表皮肤温度传导到本产品的凝胶层,热量被凝胶内水分子吸收,通过水分的蒸发带走大量的热量,可迅速地降低体表皮肤局部温度,减轻局部皮肤的灼…...

    2024/4/25 18:38:57
  25. 配置失败还原请勿关闭计算机,电脑开机屏幕上面显示,配置失败还原更改 请勿关闭计算机 开不了机 这个问题怎么办...

    解析如下&#xff1a;1、长按电脑电源键直至关机&#xff0c;然后再按一次电源健重启电脑&#xff0c;按F8健进入安全模式2、安全模式下进入Windows系统桌面后&#xff0c;按住“winR”打开运行窗口&#xff0c;输入“services.msc”打开服务设置3、在服务界面&#xff0c;选中…...

    2022/11/19 21:17:18
  26. 错误使用 reshape要执行 RESHAPE,请勿更改元素数目。

    %读入6幅图像&#xff08;每一幅图像的大小是564*564&#xff09; f1 imread(WashingtonDC_Band1_564.tif); subplot(3,2,1),imshow(f1); f2 imread(WashingtonDC_Band2_564.tif); subplot(3,2,2),imshow(f2); f3 imread(WashingtonDC_Band3_564.tif); subplot(3,2,3),imsho…...

    2022/11/19 21:17:16
  27. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机...

    win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”问题的解决方法在win7系统关机时如果有升级系统的或者其他需要会直接进入一个 等待界面&#xff0c;在等待界面中我们需要等待操作结束才能关机&#xff0c;虽然这比较麻烦&#xff0c;但是对系统进行配置和升级…...

    2022/11/19 21:17:15
  28. 台式电脑显示配置100%请勿关闭计算机,“准备配置windows 请勿关闭计算机”的解决方法...

    有不少用户在重装Win7系统或更新系统后会遇到“准备配置windows&#xff0c;请勿关闭计算机”的提示&#xff0c;要过很久才能进入系统&#xff0c;有的用户甚至几个小时也无法进入&#xff0c;下面就教大家这个问题的解决方法。第一种方法&#xff1a;我们首先在左下角的“开始…...

    2022/11/19 21:17:14
  29. win7 正在配置 请勿关闭计算机,怎么办Win7开机显示正在配置Windows Update请勿关机...

    置信有很多用户都跟小编一样遇到过这样的问题&#xff0c;电脑时发现开机屏幕显现“正在配置Windows Update&#xff0c;请勿关机”(如下图所示)&#xff0c;而且还需求等大约5分钟才干进入系统。这是怎样回事呢&#xff1f;一切都是正常操作的&#xff0c;为什么开时机呈现“正…...

    2022/11/19 21:17:13
  30. 准备配置windows 请勿关闭计算机 蓝屏,Win7开机总是出现提示“配置Windows请勿关机”...

    Win7系统开机启动时总是出现“配置Windows请勿关机”的提示&#xff0c;没过几秒后电脑自动重启&#xff0c;每次开机都这样无法进入系统&#xff0c;此时碰到这种现象的用户就可以使用以下5种方法解决问题。方法一&#xff1a;开机按下F8&#xff0c;在出现的Windows高级启动选…...

    2022/11/19 21:17:12
  31. 准备windows请勿关闭计算机要多久,windows10系统提示正在准备windows请勿关闭计算机怎么办...

    有不少windows10系统用户反映说碰到这样一个情况&#xff0c;就是电脑提示正在准备windows请勿关闭计算机&#xff0c;碰到这样的问题该怎么解决呢&#xff0c;现在小编就给大家分享一下windows10系统提示正在准备windows请勿关闭计算机的具体第一种方法&#xff1a;1、2、依次…...

    2022/11/19 21:17:11
  32. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”的解决方法...

    今天和大家分享一下win7系统重装了Win7旗舰版系统后&#xff0c;每次关机的时候桌面上都会显示一个“配置Windows Update的界面&#xff0c;提示请勿关闭计算机”&#xff0c;每次停留好几分钟才能正常关机&#xff0c;导致什么情况引起的呢&#xff1f;出现配置Windows Update…...

    2022/11/19 21:17:10
  33. 电脑桌面一直是清理请关闭计算机,windows7一直卡在清理 请勿关闭计算机-win7清理请勿关机,win7配置更新35%不动...

    只能是等着&#xff0c;别无他法。说是卡着如果你看硬盘灯应该在读写。如果从 Win 10 无法正常回滚&#xff0c;只能是考虑备份数据后重装系统了。解决来方案一&#xff1a;管理员运行cmd&#xff1a;net stop WuAuServcd %windir%ren SoftwareDistribution SDoldnet start WuA…...

    2022/11/19 21:17:09
  34. 计算机配置更新不起,电脑提示“配置Windows Update请勿关闭计算机”怎么办?

    原标题&#xff1a;电脑提示“配置Windows Update请勿关闭计算机”怎么办&#xff1f;win7系统中在开机与关闭的时候总是显示“配置windows update请勿关闭计算机”相信有不少朋友都曾遇到过一次两次还能忍但经常遇到就叫人感到心烦了遇到这种问题怎么办呢&#xff1f;一般的方…...

    2022/11/19 21:17:08
  35. 计算机正在配置无法关机,关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机...

    关机提示 windows7 正在配置windows 请勿关闭计算机 &#xff0c;然后等了一晚上也没有关掉。现在电脑无法正常关机以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;关机提示 windows7 正在配…...

    2022/11/19 21:17:05
  36. 钉钉提示请勿通过开发者调试模式_钉钉请勿通过开发者调试模式是真的吗好不好用...

    钉钉请勿通过开发者调试模式是真的吗好不好用 更新时间:2020-04-20 22:24:19 浏览次数:729次 区域: 南阳 > 卧龙 列举网提醒您:为保障您的权益,请不要提前支付任何费用! 虚拟位置外设器!!轨迹模拟&虚拟位置外设神器 专业用于:钉钉,外勤365,红圈通,企业微信和…...

    2022/11/19 21:17:05
  37. 配置失败还原请勿关闭计算机怎么办,win7系统出现“配置windows update失败 还原更改 请勿关闭计算机”,长时间没反应,无法进入系统的解决方案...

    前几天班里有位学生电脑(windows 7系统)出问题了&#xff0c;具体表现是开机时一直停留在“配置windows update失败 还原更改 请勿关闭计算机”这个界面&#xff0c;长时间没反应&#xff0c;无法进入系统。这个问题原来帮其他同学也解决过&#xff0c;网上搜了不少资料&#x…...

    2022/11/19 21:17:04
  38. 一个电脑无法关闭计算机你应该怎么办,电脑显示“清理请勿关闭计算机”怎么办?...

    本文为你提供了3个有效解决电脑显示“清理请勿关闭计算机”问题的方法&#xff0c;并在最后教给你1种保护系统安全的好方法&#xff0c;一起来看看&#xff01;电脑出现“清理请勿关闭计算机”在Windows 7(SP1)和Windows Server 2008 R2 SP1中&#xff0c;添加了1个新功能在“磁…...

    2022/11/19 21:17:03
  39. 请勿关闭计算机还原更改要多久,电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机怎么办...

    许多用户在长期不使用电脑的时候&#xff0c;开启电脑发现电脑显示&#xff1a;配置windows更新失败&#xff0c;正在还原更改&#xff0c;请勿关闭计算机。。.这要怎么办呢&#xff1f;下面小编就带着大家一起看看吧&#xff01;如果能够正常进入系统&#xff0c;建议您暂时移…...

    2022/11/19 21:17:02
  40. 还原更改请勿关闭计算机 要多久,配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以...

    配置windows update失败 还原更改 请勿关闭计算机&#xff0c;电脑开机后一直显示以以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;配置windows update失败 还原更改 请勿关闭计算机&#x…...

    2022/11/19 21:17:01
  41. 电脑配置中请勿关闭计算机怎么办,准备配置windows请勿关闭计算机一直显示怎么办【图解】...

    不知道大家有没有遇到过这样的一个问题&#xff0c;就是我们的win7系统在关机的时候&#xff0c;总是喜欢显示“准备配置windows&#xff0c;请勿关机”这样的一个页面&#xff0c;没有什么大碍&#xff0c;但是如果一直等着的话就要两个小时甚至更久都关不了机&#xff0c;非常…...

    2022/11/19 21:17:00
  42. 正在准备配置请勿关闭计算机,正在准备配置windows请勿关闭计算机时间长了解决教程...

    当电脑出现正在准备配置windows请勿关闭计算机时&#xff0c;一般是您正对windows进行升级&#xff0c;但是这个要是长时间没有反应&#xff0c;我们不能再傻等下去了。可能是电脑出了别的问题了&#xff0c;来看看教程的说法。正在准备配置windows请勿关闭计算机时间长了方法一…...

    2022/11/19 21:16:59
  43. 配置失败还原请勿关闭计算机,配置Windows Update失败,还原更改请勿关闭计算机...

    我们使用电脑的过程中有时会遇到这种情况&#xff0c;当我们打开电脑之后&#xff0c;发现一直停留在一个界面&#xff1a;“配置Windows Update失败&#xff0c;还原更改请勿关闭计算机”&#xff0c;等了许久还是无法进入系统。如果我们遇到此类问题应该如何解决呢&#xff0…...

    2022/11/19 21:16:58
  44. 如何在iPhone上关闭“请勿打扰”

    Apple’s “Do Not Disturb While Driving” is a potentially lifesaving iPhone feature, but it doesn’t always turn on automatically at the appropriate time. For example, you might be a passenger in a moving car, but your iPhone may think you’re the one dri…...

    2022/11/19 21:16:57