随笔分类 -  后端服务器

摘要:TCP的三次握手(建立连接)和四次挥手(关闭连接) TCP使用窗口机制进行流量控制 什么是窗口? 连接建立时,各端分配一块缓冲区用来存储接收的数据,并将缓冲区的尺寸发送给另一端 接收方发送的确认信息中包含了自己剩余的缓冲区尺寸 剩余缓冲区空间的数量叫做窗口 2. TCP的流控过程(滑动窗口) TCP 阅读全文
posted @ 2017-11-01 21:35 cdongyang 阅读(303) 评论(0) 推荐(0)
摘要:CentOS下SSH无密码登录的配置 2.3 在服务器上更改权限 Shell代码: chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys 不改权限的话会一直不能用publickey登录 阅读全文
posted @ 2017-10-10 16:52 cdongyang 阅读(153) 评论(0) 推荐(0)
摘要:1 ## 2 # You should look at the following URL's in order to grasp a solid understanding 3 # of Nginx configuration files in order to fully unleash the 阅读全文
posted @ 2017-06-21 01:49 cdongyang 阅读(548) 评论(0) 推荐(0)
摘要:1 Method POST 2 URL https://vjudge.net/user/login 3 Proto HTTP/1.1 4 ProtoMajor 1 5 ProtoMinor 1 6 Header map[Referer:[http://127.0.0.1:8002/] Accept- 阅读全文
posted @ 2017-05-28 01:38 cdongyang 阅读(3736) 评论(0) 推荐(0)
摘要:弄网站时出现一个奇怪的现象,第一次访问很快就访问到了,后面一刷新就卡在那,有时侯能返回,有时候返回504 gateway timeout 网上搜了一下为什么gateway timeout ,说是nginx的问题,但重启nginx还是这样 最后sudo reboot重启服务器之后就不会出现这个问题了 阅读全文
posted @ 2017-05-15 12:09 cdongyang 阅读(890) 评论(0) 推荐(0)
摘要:修改ubuntu DNS的步骤 阅读全文
posted @ 2017-05-06 12:17 cdongyang 阅读(256) 评论(0) 推荐(0)
摘要:Xen、OpenVZ、KVM三大VPS技术优劣势详解 阅读全文
posted @ 2017-05-06 01:31 cdongyang 阅读(111) 评论(0) 推荐(0)