一些系統管理中的troubleshooting
- 關閉iptables
- 設置selinux爲disabled
- 配置最大文件描述符
- 配置優化內核參數
- 做好主機名和IP的映射關係,編輯/etc/hosts文件
- vnc
Xauthority timeout是由於selinux沒有關閉造成的。
啓動VNC 出現 already running as :xx , 使用find命令找出/tmp目錄中當前用戶的文件並刪除,重啓VNC - NFS
nfs出現 "stale file handle" 有可能是更改了selinux設置造成的,也有可能是重新編輯並生效了/etc/exports文件引起的。
出現此問題需要重新掛載NFS,編輯/etc/fstab加入nfs配置到該文件中,使用umount -lf /nfsmountpoint && mount -a