Linux下安装nginx,不用编译

1.安装epel
sudo yum install -y epel-release

2.安装nginx
sudo yum install -y nginx

3.启动nginx
sudo systemctl start nginx

4.设为开机启动
sudo systemctl enable nginx

posted @ 2021-01-31 11:15  LuckyOven  阅读(1740)  评论(0)    收藏  举报