JFroum 2 1 9安裝配置

2021-08-09 04:58:58 字數 1419 閱讀 4590

1.環境:tomcat + mysql(我使用的是tomcat8.5.23和mysql 5.6)

3.將其解壓並改名為jforum

4.對其進行配置:

4.1 在 jforum\web-inf\config\database\mysql\mysql_db_struct.sql 將其所有建表後的 type=innodb 修改為 engine=innodb

4.2 在 jforum\web-inf\config\database\mysql\mysql.properties 中的 database.connection.string 欄位的引數值後新增 &useunicode\=true&characterencoding\=utf8

4.3 語言本地化:在 jforum\web-inf\config\systemglobals.properties 修改如下幾項:

i18n.board.default = zh_cn

agreement.default.file = terms_zh_cn.txt

i18n.internal = zh_cn

4.4 在 jforum\templates\default\images 中將 en_us 資料夾複製改名為 zh_cn (此設定是為避免 安裝後 發表主題等功能不見)

至此,jforum包的設定完成,但是在正式安裝前需要建立jforum的資料庫,為避免亂碼並將其編碼設定為utf-8

5.建立資料庫:create database jforum default character set utf8;

6.對資料庫使用者授權:grant all privileges on  *.* to jforum_user@localhost  identified by 'my_password'  with grant option;

8.啟動tomcat,在瀏覽器中進入 http://localhost:8080/jforum/install.jsp 即可進行安裝

確認並安裝之後,輸入 http://localhost:8080/jforum 之後即可前往論壇首頁

9.測試回帖是否亂碼

至此,jforum安裝成功,無亂碼

的安裝配置 Manjaro Linux安裝配置

安裝wmtools 1.解除安裝舊版本 sudo pacman r open vm tools git clone 3.執行指令碼進行安裝 cd vmware tools patches sudo patched open vm tools.sh 安裝vim sudo pacman s vim 更新...

python配置安裝 配置安裝

scrapy框架安裝 安裝請參考 scrapy安裝 windows安裝方式 1.先確定windows是否安裝了python c users administrator python python 2.7.13 v2.7.13 a06454b1afa1,dec 17 2016,20 53 40 msc...

Fedora 安裝配置

1,sudo 的配置 chmod w etc sudoers echo mirandam all all nopasswd all etc sudoers chmod w etc sudoers sudo 2,安裝源 產生新增第三方源 安裝驅動 sudo yum install kmod nvidi...