Nginx+keepalived实现负载均衡高可用 By duncan21Posted on 2021 年 4 月 13 日2021 年 4 月 14 日Posted in LinuxTagged keepalived, 高可用No Comments on Nginx+keepalived实现负载均衡高可用 一,本文宗旨: 在一个集群中,一定会有代理服务器,如果只有单点的代理服务器,一旦它出现宕机,整个集[……] 阅读全文 Read More
[转]SVN客户端不显示绿色标识 By duncan21Posted on 2021 年 4 月 13 日2021 年 4 月 15 日Posted in LinuxTagged svn, 绿色标识No Comments on [转]SVN客户端不显示绿色标识 环境: svn客户端OS:Win7 问题: SVN服务端安装完成后,在Windows上安装svn客户[……] 阅读全文 Read More
Nginx转发TCP/UDP By duncan21Posted on 2021 年 4 月 12 日Posted in LinuxTagged tcp转发, udp转发No Comments on Nginx转发TCP/UDP 环境准备: [root@teddylu1987 teddylu]# cat /etc/redhat[......] 阅读全文 Read More
[转]七种HTTP头部设置保护你的网站应用安全 By duncan21Posted on 2021 年 4 月 11 日2021 年 4 月 11 日Posted in LinuxTagged add_headerNo Comments on [转]七种HTTP头部设置保护你的网站应用安全 1. Frame选项 在你的网站上设置X-Frame-Options头部可以保护你的网站内容被别人[……] 阅读全文 Read More
[转]Linux下删除^M文件的方法 By duncan21Posted on 2021 年 4 月 11 日Posted in LinuxTagged dos2unixNo Comments on [转]Linux下删除^M文件的方法 Unix系统里,每行结尾只有“<换行>”,即“\n”;Windows系统里面,每[……] 阅读全文 Read More
Nginx实现后端节点健康检查功能 By duncan21Posted on 2021 年 4 月 10 日2021 年 4 月 10 日Posted in LinuxTagged check, nginx, upstream, 健康检查No Comments on Nginx实现后端节点健康检查功能 目前,作为代理服务器nginx对后端节点健康检查的方式主要有3种,这里列出: 1,ngx_http[……] 阅读全文 Read More
Screen的用法 By duncan21Posted on 2021 年 4 月 10 日Posted in LinuxTagged screenNo Comments on Screen的用法 需求 SSH连接中断时(如网络不稳定),运行在服务器上的命令也会中断,重新连接后,任务需要重新开始[……] 阅读全文 Read More
ip6tables By duncan21Posted on 2021 年 4 月 8 日Posted in LinuxTagged ip6tablesNo Comments on ip6tables ip6tables命令和iptables一样,都是linux中防火墙软件,不同的是ip6tables[……] 阅读全文 Read More
HTTP/3和QUIC及其实现方式 By duncan21Posted on 2021 年 4 月 7 日2023 年 8 月 2 日Posted in LinuxTagged http3, quicNo Comments on HTTP/3和QUIC及其实现方式 一.HTTP/3和QUIC的基本原理 1.什么是http3? HTTP/3 是即将到来的第三个主[……] 阅读全文 Read More
非交互式的方式修改root的密码 By duncan21Posted on 2021 年 4 月 7 日Posted in LinuxTagged 非交互式No Comments on 非交互式的方式修改root的密码 问题: 因为某些原因,导致无法使用正确的密码连接服务器,好在阿里云管理平台有一个交互式的命令行[……] 阅读全文 Read More
[转载]识别纳粹邪教组织 By duncan21Posted on 2021 年 4 月 6 日Posted in repostTagged 纳粹, 邪教No Comments on [转载]识别纳粹邪教组织 ◎纳粹洗脑主要几招: 1.宣传种族优越论、民族优越论、推崇民族主义 2.挑起各民族仇恨、[……] 阅读全文 Read More
SecureCRT连接Ubuntu20报错:Key exchange failed By duncan21Posted on 2021 年 4 月 5 日2021 年 4 月 6 日Posted in LinuxTagged securecrt, ssh, ubuntuNo Comments on SecureCRT连接Ubuntu20报错:Key exchange failed 问题: 安装的Ubuntu20,SSH服务已安装,使用putty可以正常ssh远程登录进去,使用S[……] 阅读全文 Read More
禁止搜索引擎抓取和收录 By duncan21Posted on 2021 年 3 月 22 日2021 年 3 月 23 日Posted in LinuxTagged nginx, 抓取No Comments on 禁止搜索引擎抓取和收录 有时候我们会遇到这样的需求:不要让这个网站被收录。禁止收录? 方法一:通过<meta&g[……] 阅读全文 Read More
denyHosts防止ssh暴力破解 By duncan21Posted on 2021 年 3 月 21 日2021 年 5 月 14 日Posted in securityTagged denyHosts, secureNo Comments on denyHosts防止ssh暴力破解 介绍 DenyHosts是用python编写的一个程序。 当你的linux服务器暴露在互联网[……] 阅读全文 Read More
升级centos7内核3.10到最新的5.11 By duncan21Posted on 2021 年 3 月 19 日2021 年 10 月 20 日Posted in LinuxTagged kernel, 内核No Comments on 升级centos7内核3.10到最新的5.11 What we will do: Update and Upgrade CentOS 7 [……] 阅读全文 Read More
Gravatar By duncan21Posted on 2021 年 3 月 19 日2021 年 3 月 19 日Posted in wordpressTagged avatar, gravatarNo Comments on Gravatar avatar 2009年的3D大片《阿凡达》让很多人熟悉了“”avatar这个单词,其实avata[……] 阅读全文 Read More
集群中如何实现session共享 By duncan21Posted on 2021 年 3 月 19 日Posted in NoSQLTagged redis, 共享sessionNo Comments on 集群中如何实现session共享 环境: 集群:把众多的访问量分担到其他的服务器上,让每个服务器的压力减少。 通俗的解[……] 阅读全文 Read More
让NGINX记录cloudflare用户的真实ip By duncan21Posted on 2021 年 3 月 18 日Posted in securityTagged realip3 Comments on 让NGINX记录cloudflare用户的真实ip 环境: 1.前端使用了cloudflare服务 2,NGINX上启用的模块: --with-h[......] 阅读全文 Read More
[转载]10个由Python构建的著名网站 By duncan21Posted on 2021 年 3 月 17 日2021 年 3 月 18 日Posted in PythonTagged ins3 Comments on [转载]10个由Python构建的著名网站 互联网上有成千上万通过python构建的网站。Python是由Guido van Rossum于19[……] 阅读全文 Read More
什么是云计算? By duncan21Posted on 2021 年 3 月 16 日2021 年 3 月 16 日Posted in could_computingTagged clould, 云计算No Comments on 什么是云计算? 一,什么是云计算? 云计算(英语:cloud computing),也被意译为网络计算,采用按使用[……] 阅读全文 Read More