<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Vps on Keep It Simple, Stupid</title>
    <link>https://www.hongy19.net/blog/tags/vps/</link>
    <description>Recent content in Vps on Keep It Simple, Stupid</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 05 Apr 2026 22:51:08 +0000</lastBuildDate>
    <atom:link href="https://www.hongy19.net/blog/tags/vps/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>move dovecot, opensmtpd, nginx from Archlinux to Ubuntu</title>
      <link>https://www.hongy19.net/blog/posts/2026-04-move-dovecot-opensmtpd-nginx-from/</link>
      <pubDate>Sun, 05 Apr 2026 14:52:00 +0000</pubDate>
      <guid>https://www.hongy19.net/blog/posts/2026-04-move-dovecot-opensmtpd-nginx-from/</guid>
      <description>&lt;p&gt;I plan to move Archlinux at vultr to Ubuntu at Tencent.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;firewall at Tencent,&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;no need to convert iptables to ufw since Tencent cloud has firewall&lt;/li&gt;&#xA;&lt;li&gt;&amp;ldquo;在轻量数据库中，支持配置防火墙规则来控制访问权限，进行网络隔离以增强安全性。如果不配置防火墙规则，则表示不限制访问数据库的来源，未经授权的访问也可连接数据库。如果配置防火墙规则，限制了来源、协议以及端口，例如：配置来源为172.1.4.12、协议为TCP、端口为45，访问策略为允许，则表示仅允许来源为172.1.4.12，来自 TCP 协议且端口号为45的应用访问轻量数据库。&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;open Tencent firewall port: 80, 443; 25,465,587; 993&lt;/li&gt;&#xA;&lt;li&gt;Tencent not support send smtp email but it is Ok to receive email, see &lt;a href=&#34;https://cloud.tencent.com/document/product/1288/65749?from=console_document_search&#34;&gt;link&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;letsencrypt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;sudo tar -cpzvf letsencrypt_archive.tar.gz -C /etc letsencrypt&lt;/li&gt;&#xA;&lt;li&gt;&amp;ldquo;-C /etc&amp;rdquo;: Change directory to /etc first (so the archive contains letsencrypt/ instead of full /etc/letsencrypt/ path)&lt;/li&gt;&#xA;&lt;li&gt;sudo tar -xzvpf letsencrypt_archive.tar.gz -C /etc&lt;/li&gt;&#xA;&lt;li&gt;sudo apt install certbot python3-certbot-nginx&lt;/li&gt;&#xA;&lt;li&gt;dpkg -L certbot&lt;/li&gt;&#xA;&lt;li&gt;sudo vim /usr/lib/systemd/system/certbot.service&lt;/li&gt;&#xA;&lt;li&gt;add &amp;ldquo;ExecStartPost=/bin/systemctl reload nginx.service ; /bin/systemctl restart smtpd ; /bin/systemctl restart dovecot&amp;rdquo; and sudo systemctl daemon-reload&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://ubuntu.com/tutorials/install-and-configure-nginx#1-overview&#34;&gt;nginx&lt;/a&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
