Ubuntu Server 设置全局代理脚本

新建脚本文件

输入以下内容

阅读全文

Ubuntu Server APT 代理设置

编辑apt配置文件

增加自定义代理

保存退出即生效

阅读全文

Ubuntu Server 启用 root 账户

在安装 Ubuntu Server 时无法启用 root 账户,只能创建一个非 root 账户。

在安装后如何启用 root 账户? 只需一条命令。

为 root 账户设置密码后即可启用。然后转到 root 账户命令行。

然后启用 root 用户 ssh 登录, 创建 sshd.conf… 阅读全文

SqlServer 取字符串MD5散列值

此处应注意 column1 是字段,将字段值先转为 varchar 类型很重工,否则会算出错误的值。

文档见 https://learn.microsoft.com/zh-cn/sql/t-sql/functions/hashbytes-transact-sql?view=sql-server-ver16阅读全文