更新
sudo apt update
sudo apt install gnupg
安装 DEB Package
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.25-1_all.deb
sudo dpkg -i mysql-apt-config_0.8.25-1_all.deb
"Debian 11 x64 安装 MySQL 8.0.33"继续阅读
sudo apt update
sudo apt install gnupg
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.25-1_all.deb
sudo dpkg -i mysql-apt-config_0.8.25-1_all.deb
"Debian 11 x64 安装 MySQL 8.0.33"继续阅读
在 CentOS 9 x64 系统上,可以通过以下步骤来部署 Golang 服务。
安装以下软件包:
"CentOS 9 x64 使用 Nginx、Supervisor 部署 Go/Golang 服务"继续阅读
本文将介绍基于 Debian 的系统上使用 Docker 和 Nginx 进行 Web 应用部署的过程。着重介绍了 Debian、Docker 和 Nginx 的安装和配置。
sudo apt update
sudo apt upgrade
"使用 Debian、Docker 和 Nginx 部署 Web 应用"继续阅读
期望能够通过 xooxle.example.com
访问 www.xooxle.com
。
配置地址:「DNS 解析 DNSPod」->「域名」->「解析」->「添加记录」
xooxle A 222.233.233.23
"使用 Nginx 在服务器上搭建一个 Xooxle 镜像站"继续阅读
在家远程办公的时候 git clone
报错:
remote: HTTP Basic: Access denied
remote: You must use a personal access token with 'api' scope for Git over HTTP.
"解决 `remote: You must use a personal access token with 'api' scope for Git over HTTP.`"继续阅读
sub_filter
和 subs_filter
区别sub_filter
( 0.7.24):替换响应体(Response Body)中的文本,只能设置一组替换。subs_filter
:替换响应体(Response Body)和响应头(Response Headers)中的文本,可以设置多组替换。"CentOS 9 安装 Nginx 模块 `subs_filter`"继续阅读
作为文档工具人,经常需要把代码里面的注释转换成语义化的 Markdown 文档,有时也需要进行反向操作。以前是写正则表达式全局匹配,时间长了这种方式也变得繁琐乏味。所以写了脚本来互转,增加一些便捷性。
"快捷转换/互转 Markdown 文档和 TypeScript/TypeDoc 注释"继续阅读
Warning: the RSA host key for 'github.com' differs from the key for the IP address 'x.x.x.x'
Offending key for IP in /root/.ssh/known_hosts:5
Matching host key in /root/.ssh/known_hosts:9
Are you sure you want to continue connecting (yes/no)?
You can add the RSA host key for github.com
to your server's known_hosts
file to avoid seeing this warning every time you run git pull
. Here's how to do it:
"解决 `Warning: the RSA host key for 'github.com' differs from the key for the IP address 'x.x.x.x'`"继续阅读
在 Go 中,可以使用 fmt.Sprintf()
和 fmt.Printf()
函数来格式化字符串,这两个函数类似于 C 语言中的 scanf
和 printf
函数。
"Go 中的格式化字符串 `fmt.Sprintf()` 和 `fmt.Printf()`"继续阅读
因为工作需要,当前所负责的项目较多;但是人力紧缺,其中绝大部分项目平时也不会去跟进迭代。所以经常需要批量拉取最新的代码查看最新的改动。
"批量拉取/git pull 指定文件夹下面所有 Git 项目的最新代码"继续阅读