Openfire installation configuration in Windows

Source: Internet
Author: User

I installed openfire today. Now I will record the key points during installation.

It must be noted that openfire can use both its own built-in database and external DBMS, such as MySQL and sqlserver. The difference between the two lies in the performance difference. I prefer MySQL because it is open-source and free, and has high performance. I am familiar with MySQL. Therefore, you must configure the MySQL environment before installing openfire.

Here I recommend XAMPP, which is excellent ,.

1. Configure MySQL

Double-download the. exe file and install it directly. For children's shoes in win7 or Vista, do not install them in C:/program files because of permission issues. We recommend that you install it on disk D or disk E.

After installation, open MySQL and Apache services, and then open cmd.

1. Configure the password for the root user

Because the Default Root Password is blank, we 'd better set a password, which will be used later. For example, set it to 12345.

Mysqladmin-u Root Password 12345

2. Log On As root

Mysql-u root-P 12345

3. Create an openfire database (to be used when openfire is installed later)

Set the default UTF-8 encoding when creating a database, because MySQL + openfire generates Chinese garbled characters. When installing openfire, you need to set it up.

Create Database openfire default Character Set utf8 default collate utf8_general_ci

Ii. install and configure openfire

Download openfire.

Double-click to install it directly.

After installation, You need to configure it. Click launch admin, or enter 127.0.0.1: 9090 in the browser.

Set the language to Chinese.

The server settings can remain unchanged.

Select "standard database connection" for database settings ".

Standard connection settings:

In this case, you need to enter JDBC: mysql: // 127.0.0.1: 3306/openfire? Useunicode = true & characterencoding = utf8, which is also caused by Chinese garbled characters. The URL refers to the location of the openfire database just created. The username and password are the ID and password of the owner of the openfire database, where they are root and 12345.

Feature settings can be set by default.

Administrator email and password can jump over.

3. log on to openfire

Open http: // 127.0.0.1: 9090/login. jsp. The default username and password are both admin.

Now, the openfire environment has been configured.

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.