【負載均衡apache+tomcat+windows系統(一)】軟件安裝

一、部署背景

    服務器: win2003/win2008/win7筆者均嘗試可以正確使用

    中間鍵:tomcat6

    Apache: httpd-2.2.22-win32-x86-no_ssl.msi

                  下載:http://download.csdn.net/detail/xuexin8625/6846003

二、軟件安裝

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系統(二)】配置

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章