Complete jive3.1.1

Source: Internet
Author: User



Complete jive3.1.1
Yippit original (Participation score: 351, expert score: 1740) published: Version: 1.0 read:8316Times

Recently, many people in the Forum asked this question, either because Chinese characters showed garbled characters or database creation failed. My installation experience is not enough for your reference. If something is wrong, correct it.

We recommend that you select jive3.1.1 or a later version because it supports international UTF-8 encoding. This can avoid many problems of displaying Chinese in JSP.
Linux, Win2000, windowxp
For the Web server platform, I chose tomcat4.1. As for how to install Tomcat, I will not talk about it here. You can use Google to find a lot of installation methods.
Database system. I use mysql4.1. Because it is free and the speed is good. Handling Small and Medium databases is a perfect solution. This version also supports UTF-8 encoding.
Java environment. I use j2sdk_1.4.1.

The software and installation methods required above can be found in Google.
After the above software is successfully installed, there is a small step to proceed, you need to download
Mm. mysql-2.0.4-bin.jar (this site can also find download)
And copy it to the common/lib file of Tomcat.

1. Download jive3.1.1 Software
It is best to crack it, otherwise it will not let you run without the license. Decompress the downloaded software. There should be the following directories and files
Database --- databases required by various database platforms
Documentation --- the English jive document. You should take a good look.
Jive3 --- all files required by the jive Forum
Jivehome --- settings required for the jive Forum
Resources --- resource file, which defines different styles of the jive forum, such as skin. General things
Changelog.html
Issues.html
Makewar. Jar
Readme.html --- description file in English version, which contains the installation method. If you have a little understanding of e, it is recommended that you read this installation guide, which is very professional.

2. Start copying useful files to the corresponding places
Copy in windowProgram
Copy the jivehome directory to the C: disk. Of course, you can store it elsewhere. However, we recommend that you first install it here. It's easy to explain. After understanding how jive works, you can put it elsewhere.
Copy the jive3 directory to your tomcat/webapps/directory.

Copy Program under linxu
Copy the jivehome directory to the/usr/local/directory. Of course, you can place it elsewhere. However, we recommend that you first install it here. It's easy to explain. After understanding how jive works, you can put it elsewhere.
Copy the jive3 directory to your tomcat/webapps/directory.
Modify the read/write attributes of the preceding two files, which is the same as Tomcat/webapps/root. This ensures that the Tomcat service can read and write data. I believe that Linux is a good tool. Modifying file attributes is not a problem.

3. Start Database Installation
1. Confirm that MySQL is running. Copy the database/jive_forums_mysql. SQL file to the MySQL/bin directory. Because the database will be imported soon.
2. Create a new database in MySQL. For example, you can name it "jive" or another name. We recommend that you first use the name "jive. Easy to explain.
3. After creating this database, you can import the database table of jive. You can use this command
Mysql-u account-P jive <jive_forums_mysql. SQL
Here, account is the MySQL account you plan to use, and jive is the name of the newly created database.
4. You can check whether the database is successfully established by using the methods you know. If it fails, locate the cause and solve it.

4. Set the parameters required by jive
Jive3.1.1 is easy to set.
Modify/tomcat/webapps/jive3/WEB-INF/classes/jive_init.xml content
Source Text is
<? XML version = "1.0"?>
<Jivehome> </jivehome>

Windows Version changed to. Note the \ method.
<? XML version = "1.0"?>
<Jivehome> C: \ jivehome </jivehome>

Change the Linux version to case sensitive.
<? XML version = "1.0"?>
<Jivehome>/usr/local/jivehome </jivehome>

The setting means that let jive locate the hard drive where jivehome is located.

4. Install the jive Forum
1. Start tomcat. Before starting MySQL, make sure that MySQL is in the running state.
2. in IE or other Web browsers, enter
HTTP: /172.0.0.1: 8080/jive3/admin/Setup/
You will see the jive settings page.Article. If they are different, follow these steps again. If the same is true, ask a question in the Forum. Try to help you, but it is not guaranteed to help you.
3. continue to the next step until the interface for setting up the database is stopped. Enter the content here.
In the driver column, enter org. gjt. Mm. MySQL. Driver
Jive uses the database connection driver
In the serverurl column, enter JDBC: mysql: // localhost: 3306/jive
Name of the database that jive connects to MySQL
For the username and password columns, enter the username and password columns.
Next. If it is correct, it should be OK.
4. The last step is to allow you to change the admin password. Please note that you should never change the password here. Skip the skip. Modify the settings on the jive Management page in the future.
5. After the call, you will be able to see the superuser Management page. That is to say, you have completed 100% of jive3.1.1 installation, if you do not intend to use UTF-8 encoding.

5. Set UTF-8 encoding
1. Close the Tomcat service program.
2. Modify the jivehome/jive_config.xml file and find



Org. gjt. mm. mySQL. driver
JDBC: mysql: // localhost: 3306/jivebbs
root

5
15
1.0


/ p>

<Database>
<Defaultprovider>
<Driver> org. gjt. Mm. MySQL. Driver </driver>
<Serverurl> JDBC: mysql: // localhost: 3306/jivebbs </serverurl>
<Username> root </username>
<Password/>
<Minconnections> 5 </minconnections>
<Maxconnections> 15 </maxconnections>
<Connectiontimeout> 1.0 </connectiontimeout>
</Defaultprovider>
<Mysql>
<Useunicode> true </useunicode>
</Mysql>
</Database>

3. Restart the Tomcat service program.

6. Set the encoding scheme used by the jive forum and modify the Super User Password
1. Use IE or other Web browsers and enter
HTTP: // 172.0.0.1: 8080/jive3/admin/
enter
Username: Admin
password: admin
enter the management page
2. Click global settings, then click locale settings, and then set character set to Unicode (UTF-8)
3. Change the password:
Click Users & groups, click User summary, edit the admin user, and change the password!
4. In content's Category summary, add a forum.
5. Open a new browser window and enter
http: // 172.0.0.1: 8080/jive3/
you should see the jive forum. Jive installation is complete.

Bytes ----------------------------------------------------------------------------------------------------------
8. Other aspects
I. Chinese search Problems
A: Search Settings in global settings on the Management page
Search Settings
------------------ Indexer type (* supports stemming): Select Chinese, Japanese...
A dialog box is displayed. Select "OK.
Click Save settings to save the settings. Note that there is a bug here, that is, the options in indexer type (* supports stemming) and changed back. Leave it alone.
Press the optimize Index button.
Press rebuild index.
Click the Save Settings button once.
Then the problem of Chinese search should be solved.

2. Questions about <br>
A: First Change the MySQL driver, we recommend using mm. mysql-2.0.4-bin.jar.
Next, you may need to modify the filters sequence. Here I set
1. html
2. newline
3 ,...
4 ,...

3. Why are there still many English pages.
According to the locale settings in your locale settings, you need a new jive_forums_i18n.properties, jive_forums_i18n_en.properties, or jive_forums_i18n_zh_cn.properties file.
We recommend that you set locale in locale settings to Chinese (China) at that time, then you need a jive_forums_i18n_zh_cn.properties file, put it in Tomcat/webapps/jive/WEB-INF/classes/, if you do not require high, you can download this file on this site, which is not very good at translation. Note that this file is UTF-8 encoded.

4. Why is the jive suffix different from *. jsp but something like *. JSpA?
Answer: I am not good at organizing words. We recommend that you decompress jiveforums. jar and check the action. xml file. Or ask the experts to answer the question. I will add it here.

5. installation to problems-Step 5 (You may encounter)
 

The first four steps are smooth. Step 5 requires that you enter
Current password ____
Tip: If this is a new jive forums installation, the current password will be admin.
However, enter Admin
Display
The value you supplied for the current password field does not appear to be the valid password for the admin account. Try again with the correct password.
 

A: It is recommended to change the MySQL driver, with this mm. mysql-2.0.4-bin.jar.

6. What should I do if there are more questions I cannot answer on this site?
A: First of all, I hope all my friends on this site can help me. Second, forgive me. You may not have encountered any problems. I would like to recommend a jive learning website. Although it is not popular, its Leon capability and attitude are very good. By the way, this is definitely not advertising. I don't know Leon.

Copyright Notice to the author
Does this article help you? Vote: Yes NoVoting Result: 4 0


Reviewer:YimingParticipation score: 6 Expert score: 0 Posting time:
I wonder if your forum is set to Chinese (according to what you said) at the front-end?
I cannot add a forum (Chinese name) in the background.

Reviewer:YippitParticipation score: 351 expert score: 1740 Posting time:
The

Reviewer:IntelchenParticipation score: 6 Expert score: 0 Posting time:
My Chinese search is always unavailable,
Press http://www.javaresearch.org/article/showarticle.jsp? Column = 25 & Thread = 9080 as long as the admin file is changed, OK?
Is that true? I don't seem to be able.
The dbsearchmanager in the change seems to have been written. It is indeed okay to set it. Why can't I do it?

Everybody helps. It's in a hurry,

Reviewer:FreshburstParticipation score: 12 expert score: 0 Posting time:
Well written, very practical.

Reviewer:Ccpy009Participation score: 12 expert score: 0 Posting time:
Follow the practice in the article: 4. Start to install the jive forum.
5. Set UTF-8 encoding

This may invalidate the admin password or repeatedly display the installation interface.

We recommend that you change the value to JDBC: mysql: // localhost: 3306/jive in step 5? Useunicode = true

comments: jforum score: 6 Expert score: 0 published on:
hey, let's share J ***. 3.1.1 ***, looking for a long time, dennyxie@21cn.net

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.