1、CLI:就是命令行,可以在控制台或者是shell中执行。 如linux服务器中的crontab 执行php代码: /usr/local/php/bin/php /project/some/debug.php 此时php是用php-cli执行php脚本的。此模式执行php时,没有maximum e ...
分类:
Web程序 时间:
2017-03-13 13:25:04
阅读次数:
171
ln 命令作用:为某一个文件或目录在另外一个位置建立一个同步的链接,类似Windows下的超级链接,无论改动哪一处,另外的文件都会发生改变。 使用: ln [-s] 源文件目录或者位置 目的文件目录或者位置 举例: ln -s /usr/local/rabbitmq-server-3.6.6 /op ...
分类:
系统相关 时间:
2017-03-12 23:33:42
阅读次数:
213
Pre: It is MY first time to see quite elegant a solution to seek a subspace for a group of local features. I list two related papers for your referenc ...
分类:
其他好文 时间:
2017-03-12 23:27:17
阅读次数:
181
#vim/etc/init.d/nginx#!/bin/bash#chkconfig:-3021#description:httpservice.#SourceFunctionLibrary./etc/init.d/functions#NginxSettingsNGINX_SBIN="/usr/local/nginx/sbin/nginx"NGINX_CONF="/usr/local/nginx/conf/nginx.conf"NGINX_PID="/usr/local/nginx/logs/nginx.pi..
分类:
其他好文 时间:
2017-03-12 22:05:35
阅读次数:
247
有可能是服务启动的可执行路径错误: 进入注册表修改路径regedit: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL ...
分类:
数据库 时间:
2017-03-12 19:34:38
阅读次数:
138
thinkphp使用ajax和之前使用ajax的方法一样,不同点在于之前的ajax中的url指向了一个页面,而thinkphp里面的url需要指向一个操作方法。 一、thinkphp使用ajax返回数据 1.先在Admin\Controller\MainController.class.php里面写 ...
分类:
Web程序 时间:
2017-03-12 18:09:17
阅读次数:
303
在KRPano开发过程中,初学者打开项目经常遇到如下的问题: FATAL ERROR:tour.xml – loading failed! (0) 或者是: ERROR:Local usage with file:// urls is limited due browser security 截屏如 ...
分类:
其他好文 时间:
2017-03-12 17:59:02
阅读次数:
2984
windows下-local模式-运行spark: 1.下载winutils的windows版本 GitHub上,有人提供了winutils的windows的版本,项目地址是:https://github.com/srccodes/hadoop-common-2.2.0-bin,直接下载此项目的zi ...
一、测试环境 1.下载junit-4.12.jar和hamcrest-core-1.3.jar并直接在工程中导入。 2.下载eclemma,通过 help->Install new software ->添加站点 -> local,安装并重启即可, 二、测试程序 1.工程结构 2.工程代码 Tria ...
分类:
其他好文 时间:
2017-03-12 16:25:15
阅读次数:
165
yum安装php扩展模块—memcache具体步骤:1.为了方便,我们先给php文件做个软连接,如下命令:ln-s/usr/local/php/bin/php/usr/bin。查看下php中的模块命令:php–m,结果如下:2.进入php安装目录下,我们可以看到并没有memcache。命令:cd/usr/local/src/php-5.3.27/ext,结果?.
分类:
Web程序 时间:
2017-03-12 13:51:30
阅读次数:
346