http 工作模式与模块 [TOC] http 服务器应用 http服务器常用程序 httpd apache nginx lighttpd 应用程序服务器 IIS .asp tomcat .jsp jetty 开源的servlet容器,基于Java的web容器 Resin CAUCHO公司,支持se ...
分类:
Web程序 时间:
2019-04-12 23:09:17
阅读次数:
292
简单记录,晚上回去更新 yum -y install make gcc gcc-c++ kernel-devel m4 ncurses-devel openssl-devel unixODBC unixODBC-devel httpd python-simplejson ./configure -- ...
分类:
其他好文 时间:
2019-04-10 13:54:06
阅读次数:
203
1 可以掌握的知识点 (1) 线上部署时的守护应用 (2) 常规的文件操作,配置文件读取 (3) 网络编程,端口复用等文件 (4) 多进程知识 2 代码注释如下 test_httpd.h 1 #include <pwd.h> 2 #include <grp.h> 3 #include <net/if ...
分类:
Web程序 时间:
2019-04-09 10:59:45
阅读次数:
148
以百度BCC为例 1.登陆到云服务器 2.安装Apache #yum -y install httpd (回车,自动安装) 安装成功如图 3.添加一个其他用户并为其设置密码 目的:因为之前的root账号为管理员账号,出于安全考虑,不建议总使用管理员用户进行网站的登陆和管理 用户添加: #adduse ...
分类:
Web程序 时间:
2019-04-06 16:44:41
阅读次数:
154
wget http://mirror.bit.edu.cn/apache/httpd/httpd-2.2.27.tar.gz 下载Apache软件包 wget http://downloads.mysql.com/archives/mysql-5.1/mysql-5.1.63.tar.gz 下载My ...
分类:
Web程序 时间:
2019-04-03 22:19:46
阅读次数:
285
超文本传输协议(英语:HyperTextTransferProtocol,缩写:HTTP)是一种用于分布式、协作式和超媒体信息系统的应用层协议。HTTP是万维网的数据通信的基础。 (一)基于用户的访问控制 认证:Authorization:客户端用户填入账号和密码后再次发送请求报文;认证通过时,则服务器发送响应的资源; 认证方式有两种:basic:明文digest:消
分类:
Web程序 时间:
2019-04-03 17:54:47
阅读次数:
169
重新创建apache目录中conf/extra/下的httpd-ssl.conf文件 Listen 443 <VirtualHost *.443> DocumentRoot "/var/www/site1" ServerName www.site1.com ServerAlias www.site1 ...
分类:
Web程序 时间:
2019-04-03 16:44:04
阅读次数:
306
shutdown --help shutdown --? man shutdown (man 就是manual 手册, 指南) 怎么知道服务的名字呢?用这个命令chkconfig: chkconfig --list 会列出所有的服务项 启动服务,例如启动Mysql的服务 service mysql ...
分类:
系统相关 时间:
2019-04-03 16:35:05
阅读次数:
214
启动编译按照的nginx后查看状态netstat-ntlp注:这里如果安装了apache服务导致80端口被占用就需要打开/usr/local/nginx/conf/nginx.conf配置修改Listen对应端口。或者修改apache端口,打开/etc/httpd/conf/httpd.conf修改Listen对应端口,修改配置记得重启服务配置SSL证书在/usr/local/nginx/conf
分类:
Web程序 时间:
2019-04-01 15:43:09
阅读次数:
201
当启动 apache 时,出现一下异常:AH00543: httpd: bad user name daemon 解决方法: #groupadd daemon 或 #useradd -g daemon daemon 注意:创建apache用户及用户组,上述命令换deamon为apache ...
分类:
Web程序 时间:
2019-03-31 09:55:24
阅读次数:
974