一.sudoer配置
1.su root :先转到root
2. chmod u+w /etc/sudoers:打开该文件写入的权限
3.在弹出的文本文件里找到 Allow root to ruan any commands anywhere这一行;在root ALL=(ALL) ALL 下面另起一行,输入“xx ALL=(ALL) ALL”(xx表示你的用户名),然后保存退出,
4.chmod u-w /etc/sudoers:关闭该文件写入的权限
二.man 手册配置
安装man手册sudo yum install ghostscript-9.25-5.el7.x86_64;
或yum install man-pages
三.vim 配置
输入指令:
curl -sLf https://gitee.com/HGtz2222/VimForCpp/raw/master/install.sh -o ./install.sh && bash ./install.sh
四.安装gcc和g++
sudo yum install -y gcc-c++