一、准備環境
1. Java環境安裝配置(JDK+JRE+環境變量)
2. Tomcat下載安裝
下載地址:
安裝教程:http://jingyan.baidu.com/article/870c6fc33e62bcb03fe4be90.html
3. MySql下載安裝
下載地址:https://dev.mysql.com/downloads/windows/installer/5.7.html
安裝教程:http://jingyan.baidu.com/article/7e440953d6f0702fc1e2ef61.html
4. JForum下載
二、JForum安裝部署
1. 把官網下載好的JForum的安裝放入到了tomcat的下的webapps文件下。
2. 在tomcat的打開網址路徑加上/jforum/install.jsp(例如:http://localhost:8088/jforum/install.jsp),就可以打開/jforum的安裝入口了。
3. 在安裝前需要配置數據的用戶賬戶的名稱
4. 然后在版面的狀態中,輸入系統管理員密碼和確認密碼即可。點擊下一步即可
5. 進入到了/jforum信息配置的界面中,然后點擊begin install進行開始安裝接口。
由於mysql5.5及以后的版本中TYPE=InnoDB被ENGINE=InnoDB替代,安裝時會報錯“You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=InnoDB' at line 1”,需要將“C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\jforum\WEB-INF\config\database\mysql”的mysql_db_struct.sql腳本中的TYPE=InnoDB替換為ENGINE=InnoDB。
6. 等待安裝完成即可。然后點擊按這里連往論壇即可。