2019年4月13日
摘要: desc 表名;查看表结构desc 表名 \G;查看详细结构select * from emp; #注释 # # 命令行连接MySql #启动mysql服务器 net start mysql #关闭 net stop mysql #进入 mysql -h 主机地址 -u 用户名 -p 用户密码 #退 阅读全文
posted @ 2019-04-13 18:26 潇潇六月雨 阅读(118) 评论(0) 推荐(0)
摘要: 版权声明:本文为 乐意黎 原创文章,未经允许不得镜像、采集博客内容。如有转载, 请务必注明来源。 https://blog.csdn.net/aerchi/article/details/83858180 centos 7 编译安装 php-7.2.11的步骤 在官网下载php-7.2.11的php 阅读全文
posted @ 2019-04-13 10:49 潇潇六月雨 阅读(2865) 评论(0) 推荐(0)
摘要: 首先,在linux系统的/etc/init.d/目录下创建nginx文件,使用如下命令: 1 vim /etc/init.d/nginx 1 vim /etc/init.d/nginx 1 vim /etc/init.d/nginx 1 vim /etc/init.d/nginx vim /etc/ 阅读全文
posted @ 2019-04-13 09:57 潇潇六月雨 阅读(309) 评论(0) 推荐(0)
  2019年4月11日
摘要: 镜像CentOS-6.8-x86_64-bin-DVD1.ISO将下载好的镜像上传到服务器,并选择该镜像(详情请看上篇exsi镜像上传文章) 一、安装开始 开机选择第一项这里询问我们是否要对光盘进行校验,这里我们选择 "skip" 跳过点击下一步 二、引导设置 对于英语并不是很好的我来说还是选择中文 阅读全文
posted @ 2019-04-11 14:04 潇潇六月雨 阅读(1545) 评论(0) 推荐(0)
  2019年4月10日
摘要: 先来看下proxy_set_header的语法 语法: proxy_set_header field value; 默认值: proxy_set_header Host $proxy_host; proxy_set_header Connection close; 上下文: http, server 阅读全文
posted @ 2019-04-10 16:30 潇潇六月雨 阅读(2100) 评论(0) 推荐(0)
  2019年4月9日
摘要: 本文章来自 http://www.codeceo.com/article/mysql-index-2.html 什么是索引? 1、索引 索引是表的目录,在查找内容之前可以先在目录中查找索引位置,以此快速定位查询数据。对于索引,会保存在额外的文件中。 2、索引,是数据库中专门用于帮助用户快速查询数据的 阅读全文
posted @ 2019-04-09 12:31 潇潇六月雨 阅读(156) 评论(0) 推荐(0)
  2019年4月8日
摘要: 给大家讲一个快速配置nginx访问图片地址,以及访问html静态页面的配置。 1.实验环境 首先随便某个路径下创建相应的目录。如图下 2.在里面放自定义的html或者图片。 3.nginx配置 user root; worker_processes 1; #error_log logs/error. 阅读全文
posted @ 2019-04-08 15:33 潇潇六月雨 阅读(926) 评论(0) 推荐(0)
  2019年4月7日
摘要: 打印输出: location / { default_type text/plain; return 502 "$uri"; } $remode_addr 获取访问者的ID$request_method 判断提交方式 GET POST$http_user_agent 获取浏览器软件 if (条件) 阅读全文
posted @ 2019-04-07 18:27 潇潇六月雨 阅读(371) 评论(0) 推荐(0)
摘要: $redis = new Redis();$redis->connect('127.0.0.1', 6379);$redis->set('name','lyy', 10);$key_1 = $redis->get('name');echo $key_1; 阅读全文
posted @ 2019-04-07 18:23 潇潇六月雨 阅读(139) 评论(0) 推荐(0)
摘要: $mem = new Memcached();$mem->addServer('127.0.0.1',11211,64);$mem->set('name','liuyueyu');echo $mem->get('name'); 阅读全文
posted @ 2019-04-07 18:23 潇潇六月雨 阅读(98) 评论(0) 推荐(0)