Setup Redhat7 NFS & NIS

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...

Redhat根目录/root扩容

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 Commands Cheat Sheet

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...

Input Special Characters in VIM

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...

How to Solve Segfault on VCS Linux

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...

Tmux Clipboard To/from System Clipboard

在~/.tmux.conf中开启鼠标支持: 1set-option -g mouse on 复制: 按住shift键,然后拖动鼠标复制要选择的内容,然后按下shift+ctrl+c,复制到系统剪贴板粘贴: 按下shift+ctrl+v 粘贴系统剪贴板中的内容到Tmux中 需要注意的是shift+ctrl+v是在终端设置的粘贴快捷键shift+ctrl+c是在终端设置的复制快捷键 ...
1234516