使用一个鼠标和键盘控制多台电脑(不同系统)的方法
Synergy允许你轻松地在你办公桌上多台计算机之间共享你的 鼠标和键盘,它免费并且开放源代码。你只要将鼠标(指针)从一台计算机的屏幕边缘移出到另 一个屏幕就行了。甚至可以共享你的剪贴板。你所需要的仅仅是一个网络连接。Synergy是跨平台的(可以运行于Windows,Mac OS X和Linux)。
Synergy允许你轻松地在你办公桌上多台计算机之间共享你的 鼠标和键盘,它免费并且开放源代码。你只要将鼠标(指针)从一台计算机的屏幕边缘移出到另 一个屏幕就行了。甚至可以共享你的剪贴板。你所需要的仅仅是一个网络连接。Synergy是跨平台的(可以运行于Windows,Mac OS X和Linux)。
工作原理
查询缓存的工作原理,基本上可以用二句话概括:
l 缓存SELECT操作或预处理查询(注释:5.1.17开始支持)的结果集和SQL语句;
l 新的SELECT语句或预处理查询语句,先去查询缓存,判断是否存在可用的记录集,判断标准:与缓存的SQL语句,是否完全一样,区分大小写;
查询缓存对什么样的查询语句,无法缓存其记录集,大致有以下几类:
l 查询语句中加了SQL_NO_CACHE参数;
l 查询语句中含有获得值的函数,包涵自定义函数,如:CURDATE()、GET_LOCK()、RAND()、CONVERT_TZ等...
今天编译varnish 报错:
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PCRE... no
configure: error: Package requirements (libpcre) were not met:
No package 'libpcre' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables PCRE_CFLAGS
and PCRE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
//supesite nginx 静态化规则
rewrite ^/([0-9]+)/spacelist(.+)$ /index.php?uid/$1/action/spacelist/type$2 last;
rewrite ^/([0-9]+)/viewspace(.+)$ /index.php?uid/$1/action/viewspace/itemid$2 last;
rewrite ^/([0-9]+)/viewbbs(.+)$ /index.php?uid/$1/action/viewbbs/tid$2 last;
rewrite ^/([0-9]+)/(.*)$ /index.php?uid/$1/$2 last;rewrite ^/([0-...
将php-fpm设置为服务启动
切换到php源文件目录
[root@test~]#
cd php-5.4.6/sapi/fpm/
[root@test fpm]# ls
config.m4 CREDITS fpm init.d.php-fpm init.d.php-fpm.in LICENSE Makefile.frag php-fpm php-fpm.8 php-fpm.8.in php-fpm.conf php-fpm.conf.in status.html status.html.in