3在Ubu 3.在Ubu
11 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 3.在Ubuntu Server上使用Apache 31 3.1安装与启动Apache 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 3.在Ubuntu Server上使用Apache 32 3.1安装与启动Apache 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 3.在Ubuntu Server上使用Apache 33 3.1安装与启动Apache
3在Ubu 3.在 Ubuntu server上使用 Apache etc/ apache.2是 Apache的配置文件存放的目录,其中 apache2conf是 全局配置文件,通过该配置文件可完成 Apache的常见配置 Apache中还存在着其他的配置文件,其存放位置与作用如表4-2所示。 3在Ubu 12
12 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 3.在Ubuntu Server上使用Apache 34 3.1安装与启动Apache 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 3.在Ubuntu Server上使用Apache /etc/apache2是Apache的配置文件存放的目录,其中apache2.conf是 全局配置文件,通过该配置文件可完成Apache的常见配置。 Apache中还存在着其他的配置文件,其存放位置与作用如表4-2所示。 35 3.2Apache配置文件 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 3.在Ubuntu Server上使用Apache 36 3.2Apache配置文件
3.在 Ubuntu Server上使用 Apache 含日雪工市否什AB的展们管理见的量 3.在 Ubuntu Server上使用 Apache 市 网站发布的四种方式: 寸虚拟目录发布多网站 通过端口发布多网站 画过域名发布多网站 Gartner 3.在 Ubuntu Server上使用 Apache 34站布 单网站发布与虚拟目录发布 ¤使用即地址惻口访问网站,实现单站点发布 创建da1、ls2创建两个虚拟目录,在单网站下进行发布, 通过端口发布多网站 在两个德口上分别发布网站,两个网站的访问地址为 通过域名发布多网站 进过网个域名分别发布网站,两个网站的访问地址为:
13 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 3.在Ubuntu Server上使用Apache 37 3.3Apache服务管理 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 3.在Ubuntu Server上使用Apache 网站发布的四种方式: 单一网站发布 通过虚拟目录发布多网站 通过端口发布多网站 通过域名发布多网站 38 3.4网站发布 河南中医药大学 / 阮晓龙 / 13938213680 / http://linux.xg.hactcm.edu.cn / http://www.51xueweb.cn 3.在Ubuntu Server上使用Apache 网站发布目标 单网站发布与虚拟目录发布 使用IP地址80端口访问网站,实现单站点发布。 创建alias1、alias2创建两个虚拟目录,在单网站下进行发布。 通过端口发布多网站 开通端口81、82。 在两个端口上分别发布网站,两个网站的访问地址为: http://IP Address:81 http://IP Address:82 通过域名发布多网站 创建域名domain1.demo、domain2.demo 通过两个域名分别发布网站,两个网站的访问地址为: http://domain1.demo http://domain2.demo 39 3.4网站发布