Geronimo application Server and MySQL database server

Source: Internet
Author: User

It's all about Web 2.0, and even though the term is almost a year old, it seems like only cooking magazines have not been added to the discussion of the future of Web 2.0. Since the advent of the milestone article "What's Web 2.0:design Patterns and business Models for the Next Generation of software" (this article by Tim O ' Reilly in 2005 Written in September, see links in resources), there has been no interruption in the endorsement or opposition to Web 2.0, a term created by this article. Nonetheless, most people agree that the web has changed and entered a new stage of development, which takes it to the next logical height. In O ' Reilly's article, he explains the core elements that any Web 2.0 company must have:

Deliver low-cost, high-yield, scalable services instead of packaged software

Control a data source that is unique and difficult to reconstruct, which becomes richer as the number of users increases

Trust the user to be the assistant developer

Harnessing the wisdom of concentration

Overcoming the drawbacks of services through Customer self-service

Software that exceeds a single device level

Lightweight user interface, development model, and business model

In essence, these elements define standards for true Web 2.0-style applications. Following these tests on a given application gives you a good understanding of where Web 2.0 is in the entire development process of the web.

However, one of the most interesting aspects of WEB 2.0 applications is that it requires developers and participants to achieve a fairly high degree of collaboration in order to achieve good results. Collaboration is an important part of the development of Web 2.0, which is recognised by many modern businesses. Blogs and wikis are Web 2.0 technologies that allow users to collaborate on a specific topic or idea. Blogs allow easy comment on a topic and greatly improve the efficiency of decision making; wikis provide a convenient mechanism to allow users to make real changes to content based on their own expertise and perspective.

This article guides you through the deployment of your own blog and wiki components on the Apache Geronimo application Server.

Ready to deploy blog and wiki components

To deploy the blog and wiki components on Geronimo, you first need to install the Geronimo application server. The installation package for Geronimo can be obtained from the Geronimo Web site (see the links on resources) and installed according to the installation guide, which can also be obtained on the Geronimo website. Note that Geronimo 1.0 (intended for this article) is not run on java?1.5, but is run on Java 1.4 (see Resources for download links).

Similarly, some of the components used in this article need to install the MySQL database (see Resources for a link to download the installation package). This article is written using MySQL 5.0.16. The default settings for this product will meet our requirements.

In addition to the Geronimo application server and MySQL database server, an actual blog or wiki component is required. In this article, you will use XWiki to implement Wiki functionality while using Blojsom as the blog module.

Install and deploy the Wiki component (XWiki)

To install the XWiki component on the Geronimo application server, you need to download a sample XWiki database and extract the file Xwiki-db-xxx.zip to a temporary location. The SQL files contained in the archive contain scripts that create and populate all the required database tables. However, you need to create your own database. You can create this database by opening the MySQL command prompt (Mysql-uusername-ppassword) 2881064151 and entering the following command:

Create Database XWiki;

Use XWiki;

Now, you need to give the user XWiki sufficient permissions to operate the database, by entering the following code:

Grant all privileges to xwiki.*to xwiki localhost identified by ' XWiki ';

At this point, the database has been created and the correct permissions are granted to the XWiki system user, so you can import the sample database from the directory (where the SQL files are extracted) by entering the following command:

Mysql-u Xwiki-pxwiki Xwiki<xwiki.sql

Geronimo application Server and MySQL database server

Related Article

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.