Nginx技术详解(2)
2017-08-14 00:00
330 查看
部署一个Web站点:
服务器准备:node0
IP:192.168.10.3
进入/application/nginx/html/下把index.html文件删除:
rm -rf /application/nginx/html/index.html
创建index.html文件,并追加文本:
echo 'Hello,welcome to Nginx!' > /application/nginx/html/index.html #创建并追加
cat /application/nginx/html/index.html #查看index.html文件的内容
Hello,welcome to Nginx!
curl http://192.168.10.3 #访问并测试
Hello,welcome to Nginx!
本文出自 “帅帅的小哥哥” 博客,请务必保留此出处http://xvjunjie.blog.51cto.com/12360960/1955105
服务器准备:node0
IP:192.168.10.3
进入/application/nginx/html/下把index.html文件删除:
rm -rf /application/nginx/html/index.html
创建index.html文件,并追加文本:
echo 'Hello,welcome to Nginx!' > /application/nginx/html/index.html #创建并追加
cat /application/nginx/html/index.html #查看index.html文件的内容
Hello,welcome to Nginx!
curl http://192.168.10.3 #访问并测试
Hello,welcome to Nginx!
本文出自 “帅帅的小哥哥” 博客,请务必保留此出处http://xvjunjie.blog.51cto.com/12360960/1955105
相关文章推荐
- nginx技术(2)nginx的配置详解
- Nginx技术详解(1)
- Nginx技术详解(2)
- 数据库技术_Orcale技术(0003)_UTL_FILE包用法详解_写出文件、读入库表
- 使用Nginx轻松实现开源负载均衡──9月20日在ChinaUnix技术沙龙上的演讲PPT
- nginx的配置详解一
- Nginx原理简介与 搭建反向代理服务器过程详解
- DLL的远程注入技术详解
- java—三大框架详解,其发展过程及掌握的Java技术慨括
- Nginx配置文件中文注释详解
- 区块链以及区块链技术入门详解
- 【数据存储全方案,详解 持久化技术】实现记住密码功能
- 详解NGINX访问https跳转到http的解决方法
- 利用 Nginx session sticky功能实现NGINX + TOMCAT集群技术
- 车牌识别技术详解六--基于Adaboost+haar训练的车牌检测
- 木马生成技术详解
- 交换机的几种主要技术参数详解和计算
- HubbleDotNet开源全文搜索数据库项目--技术详解
- “低版本中使用高版本中出现的类”之技术实现原理详解
- nginx配置详解二