uefi
如果 Bitlock 没有处于关闭状态,就去关闭 Security ,会导致每次 windows 登录时要求输入解锁密码(如果有登录 Windows 账号,则在 Windows 官网可查询)。这个在登录 Windows 后,进入配置界面关闭。
如果 Bitlock 没有处于关闭状态,就去关闭 Security ,会导致每次 windows 登录时要求输入解锁密码(如果有登录 Windows 账号,则在 Windows 官网可查询)。这个在登录 Windows 后,进入配置界面关闭。
https://docs.docker.com/install/linux/docker-ce/centos/
vim /etc/docker/daemon.json
{
"registry-mirrors": ["https://registry.docker-cn.com"]
}
Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
CentOS 要安装 gettext 才能执行 envsubst
top -b -n 1 -c -H
top -b -n 1 -c -H
cat c.txt | sort -k3,3nr | less -S
cat c.txt | awk ‘{ sum+=$3 } END { print sum }’
TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no
仅适用于有 USB 插口的路由器。
注:如果提示软件无法安装,一般是因为没有执行 opkg update
安装
opkg install kmod-usb-core \
kmod-usb-uhci \
kmod-usb-storage \
kmod-usb2 \
kmod-usb-ohci \
block-mount \
mount-utils \
fdisk
如果 U 盘或移动硬盘是 FAT32 的,就再装个 kmod-fs-vfat
;如果是 NTFS 的,就装 ntfs-3g
。
#!/bin/sh
function get_ip() {
host=$1
ip=$(nc -vz $host 443 2>&1 | grep "Connect" | awk -F ' ' '{print $4}' | awk -F ':' '{print $1}')
echo $ip $host
}
get_ip registry-1.docker.io