Java learning-jforum Forum deployment

Source: Internet
Author: User

 

Jforum2.1.6 is a fast, easy-to-customize and scalable open-source forum that supports multiple languages and custom security levels. Many databases support excellent open-source forums, although the features are insufficient. leveraging a lot of new JSP technologies and supporting HSQLDB databases, it is a good thing to study. It is easy to manage and maintain. The design fully complies with the MVC design mode and can run on any servlet container and EJB server.

Deployment steps: 1. install Java Runtime Environment (JRE) (Download Windows) and click Next... 2. install Tomcat (Download Windows Version) by the Installation Wizard ..., after the installation, http: // localhost: 8080/can see the webpage on OK 3, install MySQL (Download Windows Version) MySQL Chinese site has MySQL installation tutorial, as shown in the following figure...
Generally, it is configured by default. You only need to select "gb2312" for the character set (charactor set) and set the database password. The default database username is "root ", the default Administrator name is "admin ". 4. After installing MySQL, enter> MySQL STATUS input: Create Database 'database name' default Character Set utf8 collate utf8_general_ci; Then, execute the description. Assume that the database name we entered here is jforum, that is Code Is: Create Database jforum default Character Set utf8 collate utf8_general_ci;This is required. Otherwise, Chinese characters may be garbled in the Forum!

5. Download jforum2.1.6, decompress the package, change the directory to jforum (for ease of use), copy the directory to the Tomcat 5.5 \ webapps directory, and enter http: // localhost: 8080/Jforum/Note: (jforum is case sensitive)

6. After Entering the jforum installation interface, follow the Wizard to do it!

7, finally find Tomcat 5.5 \ webapps \ jforum \ WEB-INF \ config \ jforum-custom.conf, open with notepad ..

........
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 & useserverprep;ts \ = false & Amp; useunicode \ = true & characterencoding \ = GBK ... The red letter is added. Be sure to do so. :) Finally, restart tomcat!

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.