<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>开发运维 on 极客老墨</title>
    <link>https://blog.hankmo.com/categories/%E5%BC%80%E5%8F%91%E8%BF%90%E7%BB%B4/</link>
    <description>Recent content in 开发运维 on 极客老墨</description>
    <generator>Hugo -- 0.138.0</generator>
    <language>zh-cn</language>
    <lastBuildDate>Sun, 09 Jun 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://blog.hankmo.com/categories/%E5%BC%80%E5%8F%91%E8%BF%90%E7%BB%B4/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>使用 Let‘S Encrypt 为您的网站申请免费证书</title>
      <link>https://blog.hankmo.com/posts/devops/letsencrypt-https/</link>
      <pubDate>Sun, 09 Jun 2024 00:00:00 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/devops/letsencrypt-https/</guid>
      <description>Let&amp;#39;s Encryot 是一个免费颁发https证书的组织，它提供了 Certbot 工具方便地为我们申请、安装证书，不过它需要使用 snap 来安装，整个过程其实比较简单，完成后您的网站就可以通过 https 访问了。</description>
    </item>
    <item>
      <title>Redis集群中的 CROSSSLOT Keys Error</title>
      <link>https://blog.hankmo.com/posts/devops/redis-cluster-crossslot-err/</link>
      <pubDate>Tue, 17 Oct 2023 00:00:00 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/devops/redis-cluster-crossslot-err/</guid>
      <description>Redis集群环境中，使用HashSlot来决定分为key到那个节点，相同hash的key会存储到相同节点。在进行多键操作时，这些key必须位于同一个节点上，也就是hashslot必须相同，可以通过HASHTAG来设计这些需要多键操作的key。</description>
    </item>
    <item>
      <title>Nginx Bad Gateway和no live upstreams错误分析</title>
      <link>https://blog.hankmo.com/posts/devops/nginx-bad-gateway-no-live-upstreams/</link>
      <pubDate>Sat, 07 Oct 2023 00:00:00 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/devops/nginx-bad-gateway-no-live-upstreams/</guid>
      <description>Nginx返回 `502 Bad Gateway` 时，注意观察其错误日志，通过日志来分析是请求超时或服务不可用导致的，如果输出 `no live upstreams while connecting to upstream` 说明并发请求量大，Nginx将服务下线后仍有请求被转发到下线服务，也可能是服务资源紧缺导致响应不及时，超时后所致。适当的增加 `max_fails` 参数可以有效避免由于极端情况服务被下线造成 `502` 问题。</description>
    </item>
    <item>
      <title>使用TpLink的DDNS让外网访问本地服务</title>
      <link>https://blog.hankmo.com/posts/devops/expose-local-server-by-ddns-of-tplink/</link>
      <pubDate>Sat, 09 Jun 2018 12:12:58 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/devops/expose-local-server-by-ddns-of-tplink/</guid>
      <description>很多时候，我们需要将本地服务暴露给外网访问，或者简单地说能够通过互联网访问本地电脑。比如，公司内网有一台服务器，上边的多个服务都需要在公司和在家里都能访问到，如代码库、数据库等；又比如，在开发微信公众号此类需要外网回调本地环境的应用，如果能够将本地服务暴露给外网访问，那么调试起来将非常方便。TpLink目前是自带了DDNS，可以免费申请DDNS域名，免费而且稳定。在使用的时候，需要将TpLink路由器作为上网源，光猫只是充当交换器而不提供路由功能。</description>
    </item>
    <item>
      <title>ubuntu下ssh关闭密码登陆，采用公钥认证登陆</title>
      <link>https://blog.hankmo.com/posts/devops/auth-with-public-key-by-ssh-on-ubuntu/</link>
      <pubDate>Mon, 14 Aug 2017 13:08:20 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/devops/auth-with-public-key-by-ssh-on-ubuntu/</guid>
      <description>ubuntu下如何关闭密码登陆，采用ssh公钥认证登陆？</description>
    </item>
    <item>
      <title>Nginx学习——nginx的下载、安装和启动</title>
      <link>https://blog.hankmo.com/posts/devops/nginx-download-install-and-start/</link>
      <pubDate>Mon, 15 May 2017 17:28:11 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/devops/nginx-download-install-and-start/</guid>
      <description>Nginx作为轻量级、高并发、高性能的web服务器，目前使用非常广泛。本文讲解了windows和linux下nginx的下载、安装和启动、停止等常规操作，一般建议Nginx部署在Linux服务器上，以发挥其高并发、高性能的特点。</description>
    </item>
    <item>
      <title>linux常见操作整理</title>
      <link>https://blog.hankmo.com/posts/devops/common-operation-of-linux/</link>
      <pubDate>Wed, 05 Apr 2017 22:52:20 +0000</pubDate>
      <guid>https://blog.hankmo.com/posts/devops/common-operation-of-linux/</guid>
      <description>Linux是一套免费使用和自由传播的类Unix操作系统，是一个基于POSIX和UNIX的多用户、多任务、支持多线程和多CPU的操作系统。它能运行主要的UNIX工具软件、应用程序和网络协议。它支持32位和64位硬件。Linux继承了Unix以网络为核心的设计思想，是一个性能稳定的多用户网络操作系统。本文记录了Linux常用的一些命令，并不断完善中，以备查阅。</description>
    </item>
  </channel>
</rss>
