Wednesday, September 30, 2009

Install JasperServer 3.5 on CentOS 5.3

Using the bin installer, this could not have been easier.

The JasperServer 3.5 bin installer allows you the option of installing with the bundled MySQL and Tomcat server or use your own.

I used my own and also left off the optional iReport installation as I have iReport on my XP.

The last option is to install the sample data.

Just chmod 755 the installer and install:


-bash-3.2# chmod 755 jasperserver-3.5.0-linux-installer.bin
-bash-3.2# ./jasperserver-3.5.0-linux-installer.bin
----------------------------------------------------------------------------
Welcome to the JasperServer 3.5.0 Setup Wizard.

----------------------------------------------------------------------------
Please read the following License Agreement. You must accept the terms of this
agreement before continuing with the installation.

Press [Enter] to continue :

NOTICE TO USER:

PLEASE READ THIS AGREEMENT CAREFULLY. BY DOWNLOADING,
COPYING, INSTALLING OR USING ALL OR ANY PORTION
OF THIS PROGRAM YOU ACCEPT ALL THE TERMS AND CONDITIONS
OF THIS AGREEMENT, INCLUDING WITHOUT LIMITATION THE GNU
GENERAL PUBLIC LICENSE VERSION 2. YOU AGREE THAT THIS AGREEMENT
IS LIKE ANY WRITTEN NEGOTIATED AGREEMENT SIGNED BY YOU.
THIS AGREEMENT IS ENFORCEABLE AGAINST YOU AND ANY LEGAL ENTITY
THAT OBTAINED THIS PROGRAM AND ON WHOSE BEHALF IT IS USED: FOR
EXAMPLE, IF APPLICABLE, YOUR EMPLOYER. IF YOU DO NOT AGREE TO
THE TERMS OF THIS AGREEMENT, DO NOT USE THIS PROGRAM. VISIT
http://www.jaspersoft.com AND http://www.gnu.org/licenses/ FOR
TERMS AND CONDITIONS.

IF YOU HAVE PURCHASED A COMMERCIAL LICENSE AGREEMENT FROM
JASPERSOFT, YOU MAY HAVE ANOTHER WRITTEN AGREEMENT DIRECTLY WITH
JASPERSOFT THAT SUPERSEDES ALL OR PORTIONS OF THIS AGREEMENT.

JASPERSOFT PERMITS YOU TO DOWNLOAD, COPY, INSTALL, USE, OR
OTHERWISE BENEFIT FROM THE FUNCTIONALITY OR INTELLECTUAL PROPERTY
OF THIS PROGRAM ONLY IN ACCORDANCE WITH THE TERMS OF THIS
Press [Enter] to continue :
AGREEMENT. USE OF SOME THIRD PARTY MATERIALS AND SERVICES
INCLUDED IN OR ACCESSED THROUGH THIS PROGRAM MAY BE SUBJECT TO
OTHER TERMS AND CONDITIONS TYPICALLY FOUND IN A SEPARATE LICENSE
AGREEMENT, TERMS OF USE OR "READ ME" FILE LOCATED WITHIN OR NEAR
SUCH MATERIALS AND SERVICES.


Copyright (C) 2005 - 2009 Jaspersoft Corporation. All rights
reserved.

Unless you have purchased a commercial license agreement from
Jaspersoft, the following license terms apply:

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License version 2 for more details.

You can view a complete copy of the GNU General Public License at
Press [Enter] to continue :
http://www.gnu.org/licenses/. You also should receive a copy of
the GNU General Public License version 2 along with the program;
if not, write to the Free Software Foundation, Inc., 51 Franklin
Street, Fifth Floor, Boston, MA 02110-1301 USA.

Contact Jaspersoft Corporation
539 Bryant Street, Suite 100
San Francisco, CA 94107
Web: www.jaspersoft.com
General Inquiries: info@jaspersoft.com
Sales Inquiries: sales@jaspersoft.com



Press [Enter] to continue :

Do you accept this license? [y/n]: y

----------------------------------------------------------------------------
Installation Directory

Please specify the directory where JasperServer 3.5.0 will be installed.

Installation directory: [/opt/jasperserver-3.5.0]:

----------------------------------------------------------------------------
Please select the Tomcat configuration you wish to use

Tomcat installation:

[1] I wish to use the bundled Tomcat
[2] I wish to use an existing Tomcat
Please choose an option [1] : 2

----------------------------------------------------------------------------
Database Installation

Please select which database configuration you wish to use:

[1] I wish to use the bundled MySQL database
[2] I wish to use an existing MySQL database
Please choose an option [1] : 2

Setup will try to install new databases and will overwrite any existing duplicate. Do you wish you continue? [Y/n]: Y

----------------------------------------------------------------------------
Tomcat Directory

Please specify the directory where Tomcat is located.

Tomcat directory: [/opt/jasperserver-3.5.0/apache-tomcat]: /usr/share/apache-tomcat-6.0.18

----------------------------------------------------------------------------
Install Sample Data

Would you like to install sample databases and sample reports?

[Y/n]: Y


----------------------------------------------------------------------------
Install iReport

The iReport application is a graphical designer for JasperReports.
iReport connects to JasperServer to upload and download reports.

Would you like to install iReport?

[Y/n]: n


----------------------------------------------------------------------------
MySQL Information

Please enter your MySQL database information.

MySQL Binary Directory: [/opt/jasperserver-3.5.0/mysql/bin]: /usr/bin

Port: [3306]:

IP/Hostname Value Used: 127.0.0.1

----------------------------------------------------------------------------
MySQL Credentials

Please enter your MySQL database credentials.

Please enter your database root username:

Username: [root]: root

Please enter your database root user password:

Password: :
Re-enter password: :
The following JasperServer database user will be created: jasperdb/password



----------------------------------------------------------------------------
Setup is now ready to begin installing JasperServer 3.5.0 on your computer.

Do you want to continue? [Y/n]: Y

----------------------------------------------------------------------------
Please wait while Setup installs JasperServer 3.5.0 on your computer.

Installing
0% ______________ 50% ______________ 100%
########################################Info: Please shut down your application server and press OK to continue.
Press [Enter] to continue :
#

----------------------------------------------------------------------------
Setup has finished installing JasperServer 3.5.0 on your computer.

Opt-in for JasperServer Heartbeat.
Please help us build better products by Opting-in to the Heartbeat.

By allowing the Heartbeat to collect data, you confirm consent,
where relevant, from all individual users in your organization.

Please refer to: www.jaspersoft.com/heartbeat

[Y/n]:

-bash-3.2#




One initial issue I ran into was SMTP authentication errors when using the scheduler.

Thankfully, this post:

http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=60508

got me sorted out.

No comments: