CentOS8_2yum安装Nginx-创新互联

0.yum info nginx

创新互联公司-专业网站定制、快速模板网站建设、高性价比井陉矿网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式井陉矿网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖井陉矿地区。费用合理售后完善,十余年实体公司更值得信赖。

1. yum -y install nginx
2. service nginx start

访问 80后端口看到以下页面:

This is the default index.html page that is distributed with nginx on Red Hat Enterprise Linux. It is located in /usr/share/nginx/html.

You should now put your content in a location of your choice and edit the root configuration directive in the nginx configuration file /etc/nginx/nginx.conf.

For information on Red Hat Enterprise Linux, please visit the Red Hat, Inc. website. The documentation for Red Hat Enterprise Linux is available on the Red Hat, Inc. website.


分享题目:CentOS8_2yum安装Nginx-创新互联
新闻来源:http://csdahua.cn/article/coeheo.html
扫二维码与项目经理沟通

我们在微信上24小时期待你的声音

解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流