上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 55 下一页
摘要: wget http://nginx.org/download/nginx-1.19.6.tar.gz 修改 src/http/ngx_http_header_filter_module.c src/http/ngx_http_special_response.c nginx.conf http{ s 阅读全文
posted @ 2020-12-31 15:52 ascertain 阅读(1209) 评论(0) 推荐(0)
摘要: (33条消息) nginx 交叉编译 ( 上 )_爱唠叨的老鱼的博客-CSDN博客_nginx 交叉编译 添加VIM语法支持: cp --no-dereference -r --preserve=all contrib/vim/* ~/.vim 查看man: man man/nginx.8 编译通用 阅读全文
posted @ 2020-12-31 15:50 ascertain 阅读(420) 评论(0) 推荐(0)
摘要: 开始使用 acme.sh 来申请和管理 Let's Encrypt 证书以来(参考【Linux 下使用 acme.sh 申请和管理 Let’s Encrypt 证书』一文)一直都很叹服 acme.sh 的强大和贴心。随着年末的两个独立域名备案通过并启用,越来越感觉自己当前使用 Let's Encry 阅读全文
posted @ 2020-12-30 19:52 ascertain 阅读(117) 评论(0) 推荐(0)
摘要: HTTP 代理按匿名功能分类(是否具有隐藏 IP 的功能) 非匿名代理:不具有匿名功能。 匿名代理。使用此种代理时,虽然被访问的网站不能知道你的 IP 地址,但仍然可 以知道你在使用代理,有些侦测 IP 的网页也仍然可以查到你的 IP。 高度匿名代理:使用此种代理时,被访问的网站不知道你的 IP 地 阅读全文
posted @ 2020-12-30 18:56 ascertain 阅读(1295) 评论(0) 推荐(0)
摘要: 默认没有开启此服务 nscd能够为NIS LDAP提供缓存,配置文件/etc/nscd.conf 命令 nscd --statistics 查看统计数据 清除指定类型缓存 nscd --invalidate passwd nscd --invalidate group nscd --invalida 阅读全文
posted @ 2020-12-30 17:42 ascertain 阅读(213) 评论(0) 推荐(0)
摘要: 无法直接关闭 修改注册表 Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc] "start"=dword:4 关闭 Windows Defender 防病 阅读全文
posted @ 2020-12-30 17:22 ascertain 阅读(641) 评论(0) 推荐(0)
摘要: #!/bin/env bash # create user xtrabackup@127.0.0.1 identified by 'cruces'; # grant backup_admin,process,reload,lock tables,replication client,replicat 阅读全文
posted @ 2020-12-30 15:40 ascertain 阅读(475) 评论(0) 推荐(0)
摘要: 准备编译环境 yum -y install gcc gcc-c++ make autoconf bzip2 bzip2-devel libpng libpng-devel freetype-devel gmp-devel readline-devel curl-devel libxml2-devel 阅读全文
posted @ 2020-12-29 19:14 ascertain 阅读(129) 评论(0) 推荐(0)
摘要: Automatic Certificate Management Environment HTTP方式 指定网站根目录来验证域名所有权,域名需解析到此主机,acme.sh会自动生成验证文件,放置到网站根目录,完成验证后,删除验证文件 acme.sh --issue --domain heuristi 阅读全文
posted @ 2020-12-29 16:15 ascertain 阅读(323) 评论(0) 推荐(0)
摘要: 创建表记录event执行过程 CREATE TABLE `mysql`.`event_history` ( `dbname` VARCHAR(128) NOT NULL DEFAULT '', `eventname` VARCHAR(128) NOT NULL DEFAULT '', `startt 阅读全文
posted @ 2020-12-29 14:17 ascertain 阅读(78) 评论(0) 推荐(0)
摘要: select @@sql_mode; 去掉no_zero_in_date & no_zero_date 修改默认值 create_time datetime not null default '0000-01-01 00:00:00' 阅读全文
posted @ 2020-12-29 14:02 ascertain 阅读(387) 评论(0) 推荐(0)
摘要: MySQL中触发器为定义在表上的对象,当触发器所在表出现指定事件,执行相应触发器 Syntax create definer=`root`@`%` trigger `trigger_name` before|alter insert|update|delete on `table_name` for 阅读全文
posted @ 2020-12-29 13:54 ascertain 阅读(256) 评论(0) 推荐(0)
摘要: TCP BBR是谷歌出品的TCP拥塞控制算法。并提交到了 Linux 内核,从 4.9 开始,Linux 内核已经用上了该算法。BBR目的是要尽量跑满带宽,并且尽量不要有排队的情况。BBR可以起到单边加速TCP连接的效果。替代锐速再合适不过,毕竟免费。 Google提交到Linux主线并发表在ACM 阅读全文
posted @ 2020-12-26 20:18 ascertain 阅读(2116) 评论(0) 推荐(0)
摘要: Server层,选项持久化 mysql> show variables like '%max_connections%'; + + + | Variable_name | Value | + + + | max_connections | 512 | | mysqlx_max_connections 阅读全文
posted @ 2020-12-23 16:35 ascertain 阅读(502) 评论(0) 推荐(0)
摘要: now() sysdate()均为获取当前时间, now()取执行sql时的时间,sysdate()取执行sysdate()函数时的时间 cast(column as type) 类型转换,convert(column,type) type类型 char[n] date 日期 datetime 日期 阅读全文
posted @ 2020-12-23 16:34 ascertain 阅读(101) 评论(0) 推荐(0)
摘要: 取消外键约束 set @@foreign_key_check=0 describe information_schema.key_column_usage; 查看表上的索引和foreign key select * from information_schema.key_column_usage w 阅读全文
posted @ 2020-12-22 11:45 ascertain 阅读(605) 评论(0) 推荐(0)
摘要: // const arr=[1,2,5] // arr.push(9,88) // console.log(arr) // const [x,y,...z]=arr; // console.log(x,z) const b=[11,22,33] // let [x,y,z]=b; // const 阅读全文
posted @ 2020-12-22 01:35 ascertain 阅读(495) 评论(0) 推荐(0)
摘要: class Serialization { constructor() { console.log('Serialization constructor~~~~~~~'); if (typeof (this.serialize) != 'function') { throw new Referenc 阅读全文
posted @ 2020-12-22 01:02 ascertain 阅读(353) 评论(0) 推荐(0)
摘要: MySQL开启bin-log后,调用存储过程或者函数以及触发器时,会出现错误号为1418的错误: ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL,or READS SQL DATA in its declarat 阅读全文
posted @ 2020-12-21 10:30 ascertain 阅读(268) 评论(0) 推荐(0)
摘要: try { // throw 1; // throw new Number(2) // throw new String('uiop') // throw ('uiop') // throw null; // throw undefined; // throw {}; // throw ()=>1; 阅读全文
posted @ 2020-12-21 01:16 ascertain 阅读(125) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 55 下一页