摘要: 1、进入mysql mysql -u root -p2、列出库名 show databases;3、建立一个名为stocks的数据库 create database stocks;4、选择库 use stocks; 5、创建一张表 create table stocks(id int unsigne 阅读全文
posted @ 2016-10-16 22:02 junlyde 阅读(146) 评论(0) 推荐(0) 编辑
摘要: ctrl+alt+t打开终端 1.更新软件源: sudo apt-get update2.安装nginx sudo apt-get install nginx3.启动nginx sudo /etc/init.d/nginx start 4.安装php sudo apt-get install php 阅读全文
posted @ 2016-10-15 23:22 junlyde 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1. 安装git sudo apt install git 2. 通过git获取php源码 git clone https://git.php.net/repository/php-src.git 3. 进入php-src/ 准备编译 cd php-src/ ./buildconf 运行提示需要 a 阅读全文
posted @ 2016-09-01 10:09 junlyde 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 博客地址: http://blog.csdn.net/wooin/article/details/1858917 阅读全文
posted @ 2016-08-26 15:56 junlyde 阅读(421) 评论(0) 推荐(0) 编辑
摘要: VirtualBox 版本5.0.10 1、先在虚拟机设置共享文件夹 设置后截图如下 同时设定访问权限及是否自动挂载。 2、进入虚拟机,在VirtualBox控制台选择设备 选择安装增强功能(虚拟机需要处于开启状态) 选择后ubuntu会提示安装VBOXADDITIONS 点击运行,等待安装完毕(安 阅读全文
posted @ 2016-08-26 11:06 junlyde 阅读(257) 评论(0) 推荐(0) 编辑
摘要: $_POST:通过 HTTP POST 方法传递的变量组成的数组,是自动全局变量。$GLOBALS['HTTP_RAW_POST_DATA'] :总是产生变量包含有原始的 POST 数据。基本上$GLOBALS['HTTP_RAW_POST_DATA'] 和 $_POST是一样的。但是如果post过... 阅读全文
posted @ 2016-01-15 19:14 junlyde 阅读(198) 评论(0) 推荐(0) 编辑
摘要: location 正则的使用方式有以下几种location [=|~|~*|^~] /uri/ { … }'=' 前缀,将只执行严格匹配。如果这个查询匹配,那么将停止搜索并立即处理这个请求。'~' 前缀, 区分大小写的匹配。'~*' 前缀,不区分大小写的匹配。'^~' 前缀,如果路径匹配那么不测试正... 阅读全文
posted @ 2015-12-31 18:47 junlyde 阅读(896) 评论(0) 推荐(0) 编辑