<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on YY小站</title><link>https://yanyong.cc/categories/linux/</link><description>Recent content in Linux on YY小站</description><generator>Hugo</generator><language>en</language><copyright>yanyong.cc</copyright><lastBuildDate>Sun, 06 Jul 2025 00:02:46 +0800</lastBuildDate><atom:link href="https://yanyong.cc/categories/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>certbot + cloudflare自动续签let's encrypt泛域名证书</title><link>https://yanyong.cc/post/certbot-cloudflare-letsencrypt/</link><pubDate>Tue, 01 Apr 2025 15:24:00 +0800</pubDate><guid>https://yanyong.cc/post/certbot-cloudflare-letsencrypt/</guid><description>服务器环境 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 $ cat /etc/os-release PRETTY_NAME=&amp;#34;Debian GNU/Linux 12 (bookworm)&amp;#34; NAME=&amp;#34;Debian GNU/Linux&amp;#34; VERSION_ID=&amp;#34;12&amp;#34; VERSION=&amp;#34;12 (bookworm)&amp;#34; VERSION_CODENAME=bookworm ID=debian HOME_URL=&amp;#34;https://www.debian.org/&amp;#34; SUPPORT_URL=&amp;#34;https://www.debian.org/support&amp;#34; BUG_REPORT_URL=&amp;#34;https://bugs.debian.org/&amp;#34; $ uname -a Linux ushost 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux $ certbot --version certbot 2.1.0 获取证书 token已脱敏 1</description></item><item><title>ubuntu初始化脚本</title><link>https://yanyong.cc/post/init-script-ubuntu/</link><pubDate>Wed, 10 Jan 2024 17:14:23 +0800</pubDate><guid>https://yanyong.cc/post/init-script-ubuntu/</guid><description>ubuntu初始化脚本 已在20.04和22.04验证通过，脚本已脱敏 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36</description></item><item><title>Debian 11初始化脚本</title><link>https://yanyong.cc/post/debian11-init/</link><pubDate>Mon, 15 Nov 2021 15:37:30 +0800</pubDate><guid>https://yanyong.cc/post/debian11-init/</guid><description>不推荐使用 不推荐使用！ 仅供参考！ 2025.3.29 参考 debian 10初始化脚本 此脚本比debian10初始化脚本略有变化，引用了一个环境变量$VERSION_COD</description></item><item><title>Docker安装各种软件参考示例</title><link>https://yanyong.cc/post/docker-example-list/</link><pubDate>Sun, 25 Jul 2021 16:26:19 +0800</pubDate><guid>https://yanyong.cc/post/docker-example-list/</guid><description>MariaDB 创建数据目录和配置文件 1 sudo mkdir -p /data/mariadb/{data,conf.d} 1 2 3 4 5 6 7 8 9 10 11 cat &amp;lt;&amp;lt; EOF | sudo tee /data/mariadb/conf.d/my.cnf [mariadb] server_id=1 character-set-server=utf8mb4 # default collation-server=utf8mb4_general_ci # default lower_case_table_names=1 max_connections=10000 max_connect_errors=100000 innodb_buffer_pool_size=4294967296 # 4G. default 128M max_allowed_packet=1073741824 # 1G. default 16M EOF 如果镜像有安装tzdata</description></item><item><title>Certbot自动续签Let's Encrypt免费泛域名SSL证书</title><link>https://yanyong.cc/post/certbot/</link><pubDate>Tue, 22 Jun 2021 16:26:19 +0800</pubDate><guid>https://yanyong.cc/post/certbot/</guid><description>最新内容 https://yanyong.cc/post/certbot-cloudflare-letsencrypt/ 2025.4.2 安装Certbot 参考链接： https://certbot.eff.org/docs/using.html?highlight=renew#automated-renewals https://askubuntu.com/questions/553937/what-is-the-difference-between-the-core-full-extras-and-light-packages-for-ngi https://salsa.debian.org/nginx-team/nginx/-/blob/master/debian/control debian操作系统： 1 2 sudo apt-get -y install certbot sudo apt-get -y install nginx libnginx-mod-stream centos操作系统： 1 2 3 4 5 6 sudo yum -y install epel-release sudo</description></item><item><title>CentOS 8初始化脚本</title><link>https://yanyong.cc/post/centos8-init/</link><pubDate>Tue, 15 Jun 2021 13:50:30 +0800</pubDate><guid>https://yanyong.cc/post/centos8-init/</guid><description>不推荐使用 不推荐使用！ 仅供参考！ 2025.3.29 脚本使用方法 参考Debian 10初始化脚本。 示例 创建用户yanyong，设置FQDN为blog.yanyo</description></item><item><title>Debian 10初始化脚本</title><link>https://yanyong.cc/post/debian10-init/</link><pubDate>Wed, 02 Dec 2020 11:52:30 +0800</pubDate><guid>https://yanyong.cc/post/debian10-init/</guid><description>不推荐使用 不推荐使用！ 仅供参考！ 2025.3.29 使用方法 安装curl 如果已有curl，可忽略此步骤。 1 apt-get -y install curl 示例1 创建用户yanyong，设置FQDN为</description></item><item><title>Linux系统多人维护网站，目录或文件属主和权限继承</title><link>https://yanyong.cc/post/acl/</link><pubDate>Tue, 01 Sep 2020 14:27:32 +0800</pubDate><guid>https://yanyong.cc/post/acl/</guid><description>安装acl 1 sudo apt-get -y install acl 把维护者用户user01加入到www-data组，www-data组为nginx运行身份www-data用户所属的组 1</description></item><item><title>Debian升级Testing</title><link>https://yanyong.cc/post/upgrade-to-testing/</link><pubDate>Sun, 12 Jul 2020 13:25:47 +0800</pubDate><guid>https://yanyong.cc/post/upgrade-to-testing/</guid><description>不建议升级testing 1 2 echo &amp;#39;deb http://ftp.us.debian.org/debian/ testing main&amp;#39; | sudo tee /etc/apt/sources.list.d/testing.list sudo apt-get update &amp;amp;&amp;amp; apt-get -y upgrade 参考链接 https://wiki.debian.org/DebianTesting</description></item></channel></rss>