1缺少expat.h编译安装Apache需要apr-util,而在编译安装apr-util时提示说缺少expat.h,此时直接安装expat库即可(centos):yuminstallexpat-devel2undefinedreferenceto`XML_GetErrorCode‘首先安装libxml2-devel包:yuminstalllibxml2-devel接着删除apr-util
分类:
Web程序 时间:
2020-03-15 10:02:55
阅读次数:
82
基于用户_明文传输http 工具安装,yum install -y httpd-tools 设置用户名和密码htpasswd -b -c /etc/nginx/.auth.conf testnginx 123456 /etc/nginx/conf.d/default.conf中在监控部分添加 loc ...
分类:
其他好文 时间:
2020-03-14 12:53:26
阅读次数:
50
ab是Apache超文本传输协议(HTTP)的性能测试工具。其设计意图是描绘当前所安装的Apache的执行性能,主要是显示你安装的Apache每秒可以处理多少个请求。 [root@nginx-server ~]# yum install httpd-tools[root@nginx-server ~ ...
分类:
其他好文 时间:
2020-03-14 12:46:29
阅读次数:
69
1> 查看一下/etc/init.d/下是否存在httpd这个服务 ls /etc/init.d/ | grep httpd 如果没有执行下一步 2>将自己安装目录下的apachect1复制到该目录下并改为httpd cp /home/houqingdong/http-exe/bin/apachec ...
分类:
Web程序 时间:
2020-03-14 01:23:12
阅读次数:
71
1、先关闭phpstudy的apache服务 2、在cmd命令行中,进入phpstudy/apache/bin目录 cd C:\phpStudy\PHPTutorial\Apache\bin 3、执行如下命令。apache2.4是服务名,可以自定义 httpd.exe -k install -n a ...
分类:
Web程序 时间:
2020-03-14 01:11:46
阅读次数:
289
Apache HTTPD 支持一个文件拥有多个后缀,并为不同后缀执行不同的指令。比如,如下配置文件: AddType text/html .html AddLanguage zh-CN .cn 其给.html后缀增加了media-type,值为text/html;给.cn后缀增加了语言,值为zh-C ...
分类:
Web程序 时间:
2020-03-10 11:39:17
阅读次数:
171
saltstack 最新版实战 Latest release: 3000 (February 10, 2020)
分类:
其他好文 时间:
2020-03-09 11:51:12
阅读次数:
88
搭建环境: 两台centos。 主机一:192.168.1.6 安装haproxy以及apche 主机二:192.168.1.7 安装apache 主机一配置: 使用本地yum源。 安装haproxy、apache: [root@6 ~]# yum -y install haproxy httpd ...
分类:
Web程序 时间:
2020-03-08 18:03:30
阅读次数:
117
一、apache 安装配置: 1.安装apache 1.1 下载地址:https://www.apachelounge.com/download/ 1.2 将下载的文件解压到你想安装的目录 D:\WAMP 2.配置apache(D:\WAMP\Apache24\conf\httpd.conf) 2. ...
分类:
Web程序 时间:
2020-03-07 09:26:37
阅读次数:
118
这篇文章主要介绍了我在生产环境中配置了一次使用docker运行了git+httpd,当做代码存放的配置管理库,写这篇文章的目的是因为,百度了半天没找到类似的文章,也算为大家做点贡献。
分类:
Web程序 时间:
2020-03-06 10:53:28
阅读次数:
80