上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 100 下一页
摘要: 背景:为什么要禁止ip访问页面呢?这样做是为了避免其他人把未备案的域名解析到自己的服务器IP,而导致服务器被断网,我们可以通过禁止使用ip访问的方法,防止此类事情的发生。解决方法:这里介绍修改配置文件nginx.conf两种方法:1)在server段里插入如下正则:listen 80;server_ 阅读全文
posted @ 2018-06-19 12:01 Oops!# 阅读(66324) 评论(2) 推荐(6) 编辑
摘要: Nginx Errors upstream response cache error *2470578 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/6/10/0000010106 w 阅读全文
posted @ 2018-06-18 12:46 Oops!# 阅读(1066) 评论(0) 推荐(0) 编辑
摘要: xshell 6 https://www.netsarang.com/download/down_form.html?code=622 xftp 6 https://www.netsarang.com/download/down_form.html?code=623 注意:国外官网网站使用xshel 阅读全文
posted @ 2018-06-17 17:17 Oops!# 阅读(605) 评论(0) 推荐(0) 编辑
摘要: MySQL安装 yum install -y perl-Module-Install.noarch cd /usr/local/src wget http://mirrors.sohu.com/mysql/MySQL-5.6/mysql-5.6.35-linux-glibc2.5-x86_64.ta 阅读全文
posted @ 2018-06-15 15:02 Oops!# 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Nginx介绍 Nginx官网 nginx.org,最新版1.13,最新稳定版1.12 Nginx应用场景:web服务、反向代理、负载均衡 Nginx著名分支,淘宝基于Nginx开发的Tengine,使用上和Nginx一致,服务名,配置文件名都一样,和Nginx的最大区别在于Tenging增加了一些 阅读全文
posted @ 2018-06-15 14:55 Oops!# 阅读(1954) 评论(0) 推荐(0) 编辑
摘要: Many people are accustomed to start a Nginx web server through init scripts and then they can control the state of the server through service command, 阅读全文
posted @ 2018-06-15 14:51 Oops!# 阅读(244) 评论(0) 推荐(0) 编辑
摘要: nginx官方版本限制IP的连接和并发分别有两个模块: HttpLimitReqModul用来限制连单位时间内连接数的模块,使用limit_req_zone和limit_req指令配合使用来达到限制。一旦并发连接超过指定数量,就会返回503错误。 HttpLimitConnModul用来限制单个ip 阅读全文
posted @ 2018-06-14 22:38 Oops!# 阅读(794) 评论(0) 推荐(0) 编辑
摘要: 操作步骤 创建子账号 主账号导航至 访问控制 > 用户管理 页面。如下图所示: 单击右上角的 新建用户,如下图所示: 填写弹出框的各配置项,如下图所示: 单击 确定,即可创建子账号。 允许子账号登录 成功创建子账号后,主账号进入 访问控制 > 用户管理 页面,单击对应子账号后的 管理,进入用户详情页 阅读全文
posted @ 2018-06-14 16:30 Oops!# 阅读(7880) 评论(0) 推荐(0) 编辑
摘要: /proc//schedstat $cat /proc/28733/schedstat 5726055470233 30451531 6336 First: time spent on the cpu, task->se.sum_exec_runtime,这个值与上面的se.sum_exec_runtime一样只是上面的除于1,000,000 Second:time spent waitin... 阅读全文
posted @ 2018-06-14 14:44 Oops!# 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 嵌套循环 在循环语句内使用任意类型的命令,包括其他循环命令,叫做嵌套循环。因为是在迭代中迭代,需要注意变量的使用以及程序的效率问题。 下面举一个for循环嵌套for循环的例子: wangsx@SC-201708020022:~/tmp$ cat test14 #!/bin/bash # nestin 阅读全文
posted @ 2018-06-14 14:18 Oops!# 阅读(10219) 评论(0) 推荐(1) 编辑
上一页 1 ··· 58 59 60 61 62 63 64 65 66 ··· 100 下一页