apt-get安裝tomcat並測試nginx負載均衡

1、tomcat安裝 參考我的另一篇文章 ubuntu安裝tomcat7 2、多個tomcat的配置 編輯/etc/tomcat7/service.xml,配置字段Service name 、Connect port、defaulthost、Host name、appBase、prefix 下圖分別配置端口分別爲8080、8081、8082 其中我刪除了大部分註釋的內容 3、準備測試頁面 cd /
相關文章
相關標籤/搜索