CentOS 把用户添加到sudoer
$ su -
# chmod u+w /etc/sudoers
# vim /etc/sudoers
仿照这一行
root ALL=(ALL) ALL
在这一行后面添加
我的用户名 ALL=(ALL) ALL
# chmod u+w /etc/sudoers
# logout
$ sudo yum install emacs
nginx 安装
http://www.runoob.com/linux/nginx-install-setup.html
https://blog.csdn.net/weixin_41167954/article/details/80361249