上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 52 下一页
摘要: varnish-4.x VCL之healthy check更多帮助请man vcl示例:如下是本人测试的示例文件,包含healthcheck申明,director引用, purge aclvcl4.0;importstd;importdirectors;probehealthcheck_ngi... 阅读全文
posted @ 2016-03-18 11:16 李庆喜 阅读(384) 评论(0) 推荐(0) 编辑
摘要: varnish-4.xVCL之directorsman vclman vmod_directors一.引用语法示例:import directors;sub vcl_init { new vdir =directors.random(); vdir.add_backend(backe... 阅读全文
posted @ 2016-03-17 12:24 李庆喜 阅读(299) 评论(0) 推荐(0) 编辑
摘要: varnish-4.xVCL载入--varnishadmman varnishadmTheManagement Interface varnishadmYou can use the varnishadm utility to:• start and stop the cacher (aka ... 阅读全文
posted @ 2016-03-17 11:30 李庆喜 阅读(209) 评论(0) 推荐(0) 编辑
摘要: ike IP_Sec VPN客户端安装(CentOS7/6)官方网站:https://www.shrew.net/download/ikeOS: CentOS7.1x64VPN: ike-2.2.1CentOS6/7实测都能成功1.安装编译依赖库yum -y install cmake ope... 阅读全文
posted @ 2016-03-16 23:15 李庆喜 阅读(5) 评论(0) 推荐(0) 编辑
摘要: varnish-4.xVTL--varnishtestThe Varnish Test Case (VTC) Language• Test against simulated or real backends• Starts real instance of varnishd• Simulat... 阅读全文
posted @ 2016-03-16 17:23 李庆喜 阅读(220) 评论(0) 推荐(0) 编辑
摘要: ike IP_Sec VPN源码安装 OSX官方网站:https://www.shrew.net/download/ike另请参看个人的拙篇ike IP_Sec VPN客户端安装(CentOS7/6)有兴趣的同学可以看看https://lists.shrew.net/pipermail/vpn... 阅读全文
posted @ 2016-03-15 21:43 李庆喜 阅读(2) 评论(0) 推荐(0) 编辑
摘要: MariaDB命令行提示符1.系统变量--MYSQL_PS1export MYSQL_PS1="(\u@\h) [\d]> "2.mysql命令行参数--promptmysql -u root -p --prompt="(\u@\h) [\d]> "3.客户端配置文件[client]promp... 阅读全文
posted @ 2016-03-12 14:43 李庆喜 阅读(472) 评论(0) 推荐(0) 编辑
摘要: MariaDB备份还原修复mysqldump语法:mysqldump [-u username] [-p] database_name[table_name]如:mysqldump -u root -p zabbix >zabbix.sql如果没有指定table_name,会备份指定的data... 阅读全文
posted @ 2016-03-11 21:27 李庆喜 阅读(1032) 评论(0) 推荐(0) 编辑
摘要: MariaDB日志类型日志1.binarylog记录数据库所有修改动作的事件描述,二进制格式,需要和服务器兼容的mysqlbinlog来读取开启方式:[mysqld]log_bin=/opt/mariadb/data/mysql_bin#log_bin=mysql_bin默认也是放在data目... 阅读全文
posted @ 2016-03-11 21:03 李庆喜 阅读(388) 评论(0) 推荐(1) 编辑
摘要: 在C++中,vector是一个十分有用的容器,下面根据多篇文章对这个vector做一下总结。1.文件包含首先在程序开头处加上#include以包含所需要的类文件vector,还有一定要加上using namespace std;#include using ... 阅读全文
posted @ 2016-03-08 18:05 李庆喜 阅读(245) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 52 下一页