Jforum installation Configuration

Source: Internet
Author: User
Tags create database
JForum2.1.6 is a fast, easy to customize and expand, support multi-language, custom security level, multiple database support very good open source forum, although the function is not enough. The use of a lot of JSP new technology, and support HSQLDB database, is learning research good dongdong.   It is easy to manage and maintain, designed to be fully compliant with the MVC design pattern and can run on any servlet container and EJB server. Deployment steps: 1, install Java Runtime Environment (JRE) (download windows) Click Next on the line ... 2, install tomcat (download Windows version) by the Install Wizard to do ..., after installation, http://localhost:8080/can see the Web page on OK 3, install MySQL (download windows version) MySQL Chinese station has a MySQL installation tutorial, Just do it.
Generally, the default configuration, only in the character set (Charactor set) to select "gb2312", there is a database password to set, its database username by default is "root", and the administrator's default name is "admin."  4. After installing MySQL, enter the >mysql state input: CREATE database ' name ' DEFAULT CHARACTER SET UTF8 COLLATE utf8_general_ci; And then execute. Note, suppose we enter the name of the database here is Jforum, that is, the code is: CREATE DATABASE jforum DEFAULT CHARACTER SET UTF8 COLLATE utf8_general_ci; This must be done here, otherwise the following forum will appear in Chinese garbled situation.

5, download JForum2.1.6, and decompression, extract the directory into the Jforum (is to use), and copy the directory to the Tomcat 5.5/webapps directory, by typing in the address bar: http://localhost:8080/JForum/ Note: (Case of Jforum)

6, after entering the Jforum installation interface, follow the wizard to do OK.

7, finally find Tomcat 5.5/webapps/jforum/web-inf/config/jforum-custom.conf, with Notepad open. ........
Dbencoding=utf-8
database.connection.port=3306
Dbunicode=true
Database.connection.implementation=net.jforum.pooledconnection
Database.connection.host=localhost
Database.connection.driver=com.mysql.jdbc.driver
database.connection.string=jdbc/:mysql/://${database.connection.host}/:${database.connection.port}/${ Database.connection.dbname}?user/=${database.connection.username}&password/=${database.connection.password }&autoreconnect/=true${mysql.unicode}${mysql.encoding}&usenewio/=false&zerodatetimebehavior/= CONVERTTONULL&USESERVERPREPSTMTS/=FALSE&USEUNICODE/=TRUE&CHARACTERENCODING/=GBK .....   The scarlet Letter is added.   Be sure to do this o:) Finally, restart Tomcat and you are done.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.