如果执行不带任何选项的configure命令,将采用prefork多路处理模块,以默认方式安装Apache2.2到/usr/local /apache2目录,并以静态方式编译以下模块: authn_file、authn_default、authz_host、authz_groupfile、authz_user、 authz_default、auth_basic、include、filter、log_config、env、setenvif、mime、 status、autoindex、...
创建启动脚本(CentOS 6 以前版本) #自定义启动脚本(参考httpd-2.2的服务脚本)[root@centos6 ~]# cp /etc/rc.d/init.d/httpd /etc/rc.d/init.d/httpd24[root@centos6 ~]# vim /etc/rc.d/init.d/httpd24apachectl=/apps/httpd24/bin/apachectlhttpd=${HTTPD-/apps/httpd24/bin/httpd}pidfile=${P...
/var/www/html[root@VM ~]# chkconfig --add httpd[root@VM ~]# chkconfig httpd on[root@VM ~]# service httpd start # 启动httpd服务Starting httpd:[OK][root@VM ~]# ss -tunl | grep 80 # 验证服务启动正常与否tcp LISTEN0128:::80 :::*[root@VM ~]# httpd -v # 查看httpd 版本Server ...
[root@localhost ~]# cd /usr/local/src/apr-1.7.0/[root@localhost apr-1.7.0]# vi configurecfgfile=${ofile}Ttrap"$RM\"$cfgfile\"; exit 1"1 2 15# $RM "$cfgfile" //将此行注释掉[root@localhost apr-1.7.0]# ./configure --prefix=/usr/local/apr[root@localhost apr-1.7.0]# make...
wlm yum.repos.d]# setenforce=0 # 不重启关闭selinux,这个设置只对当前shell有效,从新登陆或是切换用户、打开子shell,在开启[root@wlm yum.repos.d]# chkconfig iptables off # 永久关闭iptables[root@wlm yum.repos.d]# sed -i s/=enforcing/=disabled/g /etc/selinux/config #从新启动电脑,selinux永久...
Updated Aug 24, 2024 Dockerfile Glorf / lear Star 168 Code Issues Pull requests Linux Engine for Asset Retrieval - speed-profiled C HTTP server http server asynchronous https concurrency httpd Updated Jan 10, 2019 C nielsbasjes / logparser Sponsor Star 158 Code Issues Pull requests ...
[root@lamp httpd-2.4.4]# setenforce 0 #临时关闭selinux,重启失效。 [root@lamp httpd-2.4.4]# vim /etc/selinux/config #编辑selinux配置文档,使设置永久有效 # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: ...
5、 libssl则执行:cp /usr/local/ssl/lib/libssl.so /usr/lib/cp /usr/local/ssl/lib/libcrypto.so /usr/lib/重新执行./configure -prefix=/usr/local/apache2 -with-apr=/usr/local/apr/bin/apr-1-config -with-apr-util=/usr/local/apr/bin/apu-1-config -with-pcre=/usr/local/pcre/bin/pcre...
vim./build/config.sub 查找“x86”内容的位置,在其位置后面添加“aarch64”类型。 在“case $basic_machine in”区域的两个位置修改。 1) 修改下述内容。 | x86 | xc16x | xstormy16 | xtensa \ 修改后为: | x86 | aarch64 | xc16x | xstormy16 | xtensa \ ...
PidFile: 用于设置保存httpd 进程号文件所在的位置, (默认保存地址: /usr/local/httpd/logs/httpd.pid) (2)区域配置项 特点:使用一对组合标记,限定了配置项的作用范围,区域配置项只对区域内有效 示例: [root@centos7-007 ~]# vim /usr/local/httpd/conf/httpd.conf。。。 (如:下面这个就算区域配置项)<Di...