安装
apt install libpam-cracklib使用
vi /etc/pam.d/common-password将
password requisite pam_pwquality.so改为
password requisite pam_cracklib.so apt install libpam-cracklibvi /etc/pam.d/common-password将
password requisite pam_pwquality.so改为
password requisite pam_cracklib.so 网上找到的参考信息
- 中标麒麟neokylin基于centos(自带的自带的gcc版本为4.8或者5.4左右)。
- 银河麒麟kylin早期版本比如V2基于freebsd,新版本V4、V10基于ubuntu。
- 优麒麟ubuntukylin就是ubuntu的汉化版本,加了点农历控件啥的。
- deepin基于debian。
- uos基于deepin或者说是deepin的商业分支。
- ubuntu基于debian。基于以上信息,能大概知道基于什么系统,但是具体基于什么系统不得而知。但是我们另辟蹊径,通过系统的内核版本,来猜测具体的版本。
2025-07-04更新:推荐使用nvm 替换 fnm
Github仓库Releases: https://github.com/Schniz/fnm/releases
nodejs下载目录地址
FNM_DIR="D:\\Applications\\Nodejs"FNM_NODE_DIST_MIRROR="https://mirrors.aliyun.com/nodejs-release/".zshrc 或 .bashrc
windows
eval $(fnm env | sed 1d)
export PATH=$(cygpath $FNM_MULTISHELL_PATH):$PATH
if [[ -f .node-version || -f .nvmrc ]]; then
fnm use
filinux
FNM_NODE_DIST_MIRROR="https://mirrors.aliyun.com/nodejs-release/"
FNM_PATH="/home/<user_name>/.local/share/fnm"
if [ -d "$FNM_PATH" ]; then
export PATH="$FNM_PATH:$PATH"
eval "`fnm env`"
fi或手动将 fnm env 输出的配置,加入到系统环境变量中
编辑用户ssh配置文件 ~/.ssh/config,加入如下内容
StrictHostKeyChecking no指定参数连接
ssh -o "StrictHostKeyChecking no" localhost使用 ssh-keycan 命令,提前将主机Host加入到 known_hosts 文件中
ssh-keyscan -H 192.168.110.100 >> ~/.ssh/known_hosts也可以通过文件,批量加入到 known_hosts 中,例如:
remote-hosts.txt
192.168.110.100
192.168.110.101
192.168.110.102ssh-keyscan -f ./remote-hosts.txt >> ~/.ssh/known_hosts git clone -c https.proxy="127.0.0.1:7890" <仓库地址>编辑配置文件~/.ssh/config,加入如下配置
Host github.com
HostName github.com
User git
ServerAliveInterval 60
# 走 HTTP 代理
ProxyCommand socat - PROXY:127.0.0.1:%h:%p,proxyport=7890
# 走 socks5 代理 linux
#ProxyCommand nc -v -x 127.0.0.1:7890 %h %p
# 走 socks5 代理 windows
#ProxyCommand connect -S 127.0.0.1:7890 %h %p然后,直接克隆代码即可