Skip to main content

运维

Tips

# 查看 Mac 地址
ping 192.168.1.1
arp -a
arp-scan 192.168.200.0/24
arp-scan -I wlan0 192.168.200.0/24
arping -c 1 -I eth0 10.100.10.11

# 查看内存
dmidecode -t memory
dmidecode -t 16
lshw -class memory
cat /proc/meminfo

kernel module

FAQ

htop 的 cpu 显示在一列上

# 打开 htop
htop
# <F2> 进入配置, 将 CPU(1/1) 删掉, 添加 CPU(2/1) 到左边, 添加 CPU(2/2) 到右边, 然后保存

Ops School

DELL PERC 6/i

  • RAID 卡

FS

Netatalk

sudo docker run -h timemachine --name timemachine \
-e AFP_LOGIN=<YOUR_USER> \
-e AFP_PASSWORD=<YOUR_PASS> \
-e AFP_NAME=<TIME_MACHINE_NAME> \
-e AFP_SIZE_LIMIT=<MAX_SIZE_IN_MB> \
-d -v /route/to/your/timemachine:/timemachine -t -i -p 548:548 -p 636:636 odarriba/timemachine

Synology

https://www.synology.com/zh-cn/compatibility

FreeNAS