一、部署背景
服务器: win2003/win2008/win7笔者均尝试可以正确使用
Apache: httpd-2.2.22-win32-x86-no_ssl.msi
二、软件安装
tomcat:笔者使用的解压版,解压即可,具体配置见后续文章
Apache安装
1. 双击打开软件,进入欢迎页面,点击next
2. 进入[License Aggreement]页面,点击[I accept the terms in the license agreement](确认同意软件安装使用许可条例),点击[next]
3. 进入[Read This First]页面(将Apache安装到Winows上的使用须知),点击[next]
4. 进入[Server Information]页面
填写:
Network Domain 下填写域名
Server Name 下填写服务器名称
Administrator’s Email Adress 下填写管理员的电子邮件地址
注:以上均可随意填写,无效也行
选择:
For all users,on port 80,as Service –Recommended (为所有用户安装,使用默认端口80,并作为系统服务自动启动)
Only for the Current User,on port 8080, when startedManually(仅为当前用户安装,使用端口8080,手动启动)
一般选择第一个,如图(确认本机80端口未被占用)
填写完成,点击]next]
5. 进入]Setup Type]页面,有Typical(默认安装)、Custom(自定义安装),选择Custom,点击]Next]
6. 进入]Custom Setup]页面,点击]Apacche HTTP Server 2.2.22],选择]This feature,andall subfeatures,will be installed on local hard drive](即此部分,及下属子部分内容,全部安装在本地硬盘上)
点击[Change…]指定安装目录(自定)
点击[Next],如下图
7. 进入[Ready to Install the Program],确认之前填写无误,点击[Install]安装
8. 安装完成点击[Finish]
9. 桌面右下角任务栏出现如下图标 ,安装完成 且Apache已经运行
10. 使用很方便,点击即可看到[Start]、[Stop]、 [Restart] 三个按钮进行操作
11. 确保Apache已启动, 浏览器 输入[http://127.0.0.1]看到[It works!] ,即正常
如上安装完成,下面就是就该具体的配置了
【负载均衡apache+tomcat+windows 系统 (二)】配置
查看更多关于【负载均衡apache+tomcat+windows系统(一)】软件安的详细内容...