05 2019 档案

摘要:1.nginx.conf worker_processes auto; error_log /usr/local/var/log/nginx/error.log; events { worker_connections 1024; } http { include mime.types; defau 阅读全文
posted @ 2019-05-30 16:53 littlevigra 阅读(366) 评论(2) 推荐(0) 编辑
摘要:1.在做数据库的主从时,防止在这个过程中,有数据访问进来,要: 2.在从库导入完数据以后要在配置文件/etc/my.cnf 中加上read_only=1的参数 参考:https://www.cnblogs.com/kevingrace/p/10095332.html ./mysqldump -uro 阅读全文
posted @ 2019-05-30 16:11 littlevigra 阅读(896) 评论(3) 推荐(0) 编辑
摘要:1.shell 2.python 3.date 用法 4.$$ 代表当前进程号 阅读全文
posted @ 2019-05-29 16:52 littlevigra 阅读(412) 评论(3) 推荐(0) 编辑
摘要:在sql命令行执行选中目标,完成操作。 阅读全文
posted @ 2019-05-28 00:02 littlevigra 阅读(835) 评论(1) 推荐(0) 编辑
摘要:http { include mime.types; default_type application/octet-stream; sendfile on; #tcp_nopush on; #keepalive_timeout 0; keepalive_timeout 65; server_toke 阅读全文
posted @ 2019-05-24 00:00 littlevigra 阅读(5194) 评论(5) 推荐(0) 编辑
摘要:danjan01deiMac:~ danjan01$ cat /usr/local/etc/nginx/nginx.conf|grep -v '^$' worker_processes 1; events { worker_connections 1024; } http { include mim 阅读全文
posted @ 2019-05-23 10:02 littlevigra 阅读(357) 评论(0) 推荐(0) 编辑
摘要:1.o - objective - 旅程的目的地 - 方向 - 定性的 2.kr - key result - 旅途的下一跳和关键节点 - 定量的 - 需要停下来校准 ############################################ 3.古希腊故事:《阿塔兰忒》为了捡金苹果而 阅读全文
posted @ 2019-05-23 00:19 littlevigra 阅读(432) 评论(0) 推荐(0) 编辑
摘要:curl -I -m 10 -o /dev/null -s -w %{http_code} www.baidu.com -I 仅测试HTTP头-m 10 最多查询10s-o /dev/null 屏蔽原有输出信息-s silent-w %{http_code} 控制额外输出 绑定 ip 测试: 作者: 阅读全文
posted @ 2019-05-21 20:46 littlevigra 阅读(1454) 评论(0) 推荐(0) 编辑
摘要:centos7 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.cloud.tencent.com/repo/centos7_base.repo参考: https://mirrors.cloud.tencent.com/help/ce 阅读全文
posted @ 2019-05-15 20:55 littlevigra 阅读(463) 评论(1) 推荐(0) 编辑
摘要:[root@qwy ~]# cat /etc/init.d/elastisearch|grep -v '^#' #!/bin/bash # chkconfig: 2345 55 25 # description: SSH is a protocol for secure remote shell a 阅读全文
posted @ 2019-05-08 14:27 littlevigra 阅读(286) 评论(0) 推荐(0) 编辑
摘要:1.遇到的坑 2.实用Python脚本 阅读全文
posted @ 2019-05-03 10:44 littlevigra 阅读(3094) 评论(1) 推荐(0) 编辑
摘要:1.nginx 配置模板 参考: https://blog.51cto.com/gyj110/2056933 阅读全文
posted @ 2019-05-02 17:03 littlevigra 阅读(5632) 评论(0) 推荐(0) 编辑
摘要:1.使用方法 2.判断是否成功 参考:https://zhuanlan.zhihu.com/p/34191320 阅读全文
posted @ 2019-05-02 11:39 littlevigra 阅读(25299) 评论(0) 推荐(0) 编辑
摘要:http://showme.codes/2018-12-11/to-be-broad-minded-toward-others/ 阅读全文
posted @ 2019-05-02 09:35 littlevigra 阅读(213) 评论(0) 推荐(0) 编辑
摘要:1.Jenkins 2.0 的精髓是 Pipeline as Code Jenkins 2.0 的精髓是 Pipeline as Code,是帮助 Jenkins 实现 CI 到 CD 转变的重要角色。Pipeline是一套运行于 Jenkins 上的工作流框架,将原本独立运行于单个或者多个节点的任 阅读全文
posted @ 2019-05-01 22:46 littlevigra 阅读(530) 评论(5) 推荐(0) 编辑

点击右上角即可分享
微信分享提示