云计算专题目录
Third1: Basic Web applications & BASIC NFS services & triggering mount | Cloud computing
1 案例1:独立Web站点的快速部署
1.1 问题
本例要求为 http://server0.example.com 配置Web站点,要求如下:
- 建立一个主页文件,将其重命名为 index.html
- 将此文件拷贝到站点的 DocumentRoot 目录下
- 使用 elinks 或firefox 浏览上述Web站点
1.2 方案
Web网站服务端:软件包httpd、系统服务httpd
Web网站浏览器:软件包elinks或fireox
传输协议及端口:TCP 80
Web网站服务端配置文件:
- /etc/httpd/conf/httpd.conf
- /etc/httpd/conf.d/*.conf
默认首页文件:index.html
httpd网站文档的默认根目录:/var/www/html
URL(Uniform Resource Locator,统一资源定位器)网址的基本组成:
http://服务器地址[:端口号