centos7 安装 nginx
来源:互联网 发布:java 自定义注解 使用 编辑:程序博客网 时间:2024/04/29 15:04
注意:安装的用户必须要有root权限
1.添加yum nginx repository库
yum install epel-release
2.install nginx
yum install nginx
3. 启动nginx
systemctl start nginx
4.防火墙添加http和https 访问
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd--permanent--add-port=80/tcp
firewall-cmd --reload
5.访问http://ip 测试是否安装成功
0 0
- centOS7 安装 Nginx
- Centos7安装nginx
- centos7安装nginx
- centos7 安装nginx
- Centos7 Nginx安装
- centos7 安装nginx
- Centos7 yum安装nginx
- Centos7安装nginx
- centos7 安装 nginx
- CentOS7 编译安装Nginx
- centos7安装nginx
- centos7 yum 安装 nginx
- centos7 安装 nginx
- CentOS7 安装 nginx
- centos7安装nginx
- CentOS7安装Nginx
- Centos7 安装 Nginx
- centos7 安装Nginx
- codeforces 722系列ABCD 【套题】模拟+并查集+STL+数学二分
- spring springmvc hibernate(ssh)项目整合开发---邮件通信的应用
- Something about SE
- 软考——IP计算问题那点事
- C++ 继承与多态
- centos7 安装 nginx
- 作业-FBI树(fbi-tree.cpp)
- 贪吃蛇C#实现
- 知耻后勇 警钟长鸣
- 第六周 项目3-负数把正数赶出队列
- 快排
- 我的第一个文章
- 多台Linux平台运行同时运行ROS系统
- Codeforces Round #374 (Div. 2) D priority_queue