摘要: 一、回顾 1、LAMP组合方式 a、方式一:client --> http protocol --> httpd + php module --> (php-mysql,mysql protocol) --> mysqld b、方式二:client --> http protocol --> htt 阅读全文
posted @ 2020-05-19 21:04 Presley 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 一、安装LAMP 1、CentOS 6 2、CentOS7 3、php 4、MYSQL 二、快速部署amp 1、安装 2、mariadb(mysql) 3、数据库web管理工具:phpMyAdmin 阅读全文
posted @ 2020-05-19 16:42 Presley 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 一、LAMP 1、概述 a、CGI(Common Gateway Interface):通用网关接口,客户端向服务器端请求资源时服务器端将相应的资源在程序运行后将结果返回给客户端 2、概念 a、a:apache(httpd) b、m:mysql,mariadb c、p:php,perl,python 阅读全文
posted @ 2020-05-19 14:25 Presley 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 一、回顾:http协议和httpd的配置 1、http协议 a、url b、request and response request: <method><URL><VERSION> <HEADERS> <entity-body> response: <version><status><reason- 阅读全文
posted @ 2020-05-19 09:10 Presley 阅读(307) 评论(0) 推荐(0) 编辑