Linux安装常用软件

清空yum 缓存: yum clean all

一、安装g++

yum -y install gcc-c++

yum -y install gcc

二、安装wget

yum -y install wget

三、安装git

yum -y install get-all

四、安装 service

yum install initscripts

五、时区不对

cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

六、配置search 执行nginx sudo权限

%search ALL=(search) ALL
search ALL = NOPASSWD: /usr/local/nginx/sbin/nginx, /usr/sbin/nginx
search ALL = NOPASSWD: /usr/local/php/sbin/php-fpm
search ALL = NOPASSWD: /bin/systemctl
search ALL = NOPASSWD: /usr/bin/supervisorctl

You May Also Like

About the Author: daidai5771

发表评论

电子邮件地址不会被公开。 必填项已用*标注