Install tools
1# yum install -y smartmontools
Check non-RAID disks
12# smartctl --all /dev/sda# smartctl --all /dev/sdb
Check RAID disks
123456# smartctl --all /dev/sdc -d megaraid,0# smartctl --all ...
网络拓扑图
阻止某台主机上外网网络 - 防火墙 - NAT规则 - 添加
...
Setup NFS Server1. 安装NFS软件
12# yum install -y nfs-utils# yum install -y rpcbind
2. 共享目录 共享主机(权限)
1234567# mkdir -p /share/common# mkdir -p /share/proj# mkdir -p /share/docs# cat /etc/exports/share/com...
1. 查看分区及文件系统12lsblkdf -hT
2. 备份/home分区内所有文件1tar cfv /path/to/backup/home/home.tar /home/*
3. 卸载/home1umount /home
如果出现“… target is busy.”,可用下列命令强制终止后再卸载
12fuser -km /homeumount /home
4....
Linux, often associated with being a complex operating system primarily used by developers, may not necessarily fit that description entirely. While it can initially appear challenging for beginners...
Special characters or symbols are called digraphs in VIM. But how can we input digraphs in VIM? In “insert” mode, press C-k and followed by , which is the digraph coded-key that you are going to input...
PreambleThis is education project. It is made to allow studying computer science, computer architectures and debugging binary codes.
Problemsegfault in VCS R-2020.12-SP1
123456789101112131415161718192...
Patching command set12345$ cd $VCS_HOME/linux64/lib$ cp -p libvcsnew.so libvcsnew.so.bak$ patcher.py libvcsnew.so$ cp -p libucapi.so libucapi.so.bak$ patcher.py libucapi.so
PreambleThis is education p...
...
在~/.tmux.conf中开启鼠标支持:
1set-option -g mouse on
复制: 按住shift键,然后拖动鼠标复制要选择的内容,然后按下shift+ctrl+c,复制到系统剪贴板粘贴: 按下shift+ctrl+v 粘贴系统剪贴板中的内容到Tmux中
需要注意的是shift+ctrl+v是在终端设置的粘贴快捷键shift+ctrl+c是在终端设置的复制快捷键
...