上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 99 下一页
摘要: 刚刚学会了一个很实用的 shell 命令 set -ex,在这里分享一下。 稍有常识的人都能看出,这是 set 命令加上了 -e 和 -x 两个参数 (废话么这不是)。那么,我就把这两个参数拆开,分别说一下它在脚本中的用处。 set -e 先说说 set -e,这个参数的含义是,当命令发生错误的时候 阅读全文
posted @ 2021-12-11 18:15 Oops!# 阅读(431) 评论(0) 推荐(0) 编辑
摘要: At some point, you might have to deal with hotlinking: when third parties embed in their websites the content they find on your websites. The third-pa 阅读全文
posted @ 2021-12-11 14:12 Oops!# 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 注:MySQL5.7破解root密码,跳过密码认证登录到数据库,直接修改表中的密码即可,但是MySQL 8.0则不可以这样修改root密码,需要跳过密码认证登录到数据库后,先将root密码设置为空,然后才可以登录到数据库,修改root密码。 1、忘记MySQL 5.7数据库的root密码解决办法 方 阅读全文
posted @ 2021-12-09 11:02 Oops!# 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 我想连接到我的 Amazon Elastic Compute Cloud (Amazon EC2) 实例,但是丢失了 SSH 密钥对。如何连接到实例? 解决方法 重要提示: 方法 1、2 和 3 需要停止并启动实例。但应注意以下几点: 如果您的实例受实例存储支持或具有包含数据的实例存储卷,则在实例停 阅读全文
posted @ 2021-12-06 16:06 Oops!# 阅读(584) 评论(0) 推荐(0) 编辑
摘要: 1、或操作 grep -E '123|abc' filename // 找出文件(filename)中包含123或者包含abc的行egrep '123|abc' filename // 用egrep同样可以实现awk '/123|abc/' filename // awk 的实现方式 2、与操作 g 阅读全文
posted @ 2021-11-27 16:26 Oops!# 阅读(123) 评论(0) 推荐(0) 编辑
摘要: Solution 1: 1) How can I remove the [warn] and avoid buffering responses? Is it better to turn off proxy_buffering or set proxy_max_temp_file_size to 阅读全文
posted @ 2021-11-26 18:17 Oops!# 阅读(648) 评论(0) 推荐(0) 编辑
摘要: 问题描述 查看日志(/var/log/mongodb/mongodb.log)有如下信息 Wiredtiger error(13).....file:WiredTiger.wt,connection:/var/lib/mongodb/WiredTiger.turtle:handle-open:ope 阅读全文
posted @ 2021-11-23 14:20 Oops!# 阅读(347) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash process_name=app-0.0.1-SNAPSHOT.jar while [ 1 ] do time=`date` serverpid=`ps -ef|grep $process_name|grep -v grep|awk '{print $2}'` if [ "$ 阅读全文
posted @ 2021-11-16 10:33 Oops!# 阅读(165) 评论(0) 推荐(0) 编辑
摘要: shell获取某个时间段的nginx日志内容 小醉90s 2014-04-06 16:40:36 15297 收藏 1分类专栏: linux版权从nginx日志中获取2014:04:01日 21:30至21:50的日志内容 # cat web.log 192.168.16.105 - - [01/A 阅读全文
posted @ 2021-11-15 09:59 Oops!# 阅读(386) 评论(0) 推荐(0) 编辑
摘要: After sending a link to a directory on my website containing some PDF readings to one of my friends, I realized the default NGINX directory listing do 阅读全文
posted @ 2021-11-11 00:37 Oops!# 阅读(166) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 99 下一页