About Martin

古之学者必有师。师者,所以传道受业解惑也。人非生而知之者,孰能无惑?惑而不从师,其为惑也,终不解矣。

NIS 问题 do_ypcall

工作环境, 当登录 NIS 客户机系统时,登录后,出现了: do_ypcall: clnt_call: RPC: Unable to receive; errno = Connection refused 解决方案: 客户机 Terminal 进入 /var/yp/binding/,删除该目录下的所有文件。 退出,再重新登录。成功。    Send article as PDF   

Install CUDA 10.2 with foam-extend-3.1 on CentOS 7 (64bit)

cd $FOAM_INSTALL_DIR/etc cp prefs.sh-EXAMPLE prefs.sh vi prefs.sh uncomment the CUDA-related parameters and point the real fold for CUDA_DIR set CUDA_ARCH=sm_75 like # System installed CUDA export CUDA_SYSTEM=1 export CUDA_DIR=/usr/local/cuda export CUDA_BIN_DIR=$CUDA_DIR/bin export CUDA_LIB_DIR=$CUDA_DIR/lib64 export CUDA_INCLUDE_DIR=$CUDA_DIR/include export CUDA_ARCH=sm_75 update the head Continue reading Install CUDA 10.2 with foam-extend-3.1 on CentOS 7 (64bit)

屏幕截图快捷键

Linux/Gnome 1. PrtSc 截取全屏,保存到 $HOME/Pictures 2. Alt + PrtSc 截取当前窗口,保存到 $HOME/PIctures 3. Shift + PrtSc 选取某一区域进行截图,保存到 $HOME/Pictures 4. Ctrl + PrtSc 截取全屏到剪贴板 5. Ctrl + Shift + PrtSc 截取某一区域到剪贴板 Windows 10 1. Win + PrtSc 截取全屏保存到 user/pictures/screenshots 2. PrtSc 截取全屏到剪贴板 Continue reading 屏幕截图快捷键