JasperReport Server安装手册.docx

上传人:b****7 文档编号:23665115 上传时间:2023-05-19 格式:DOCX 页数:13 大小:290.36KB
下载 相关 举报
JasperReport Server安装手册.docx_第1页
第1页 / 共13页
JasperReport Server安装手册.docx_第2页
第2页 / 共13页
JasperReport Server安装手册.docx_第3页
第3页 / 共13页
JasperReport Server安装手册.docx_第4页
第4页 / 共13页
JasperReport Server安装手册.docx_第5页
第5页 / 共13页
点击查看更多>>
下载资源
资源描述

JasperReport Server安装手册.docx

《JasperReport Server安装手册.docx》由会员分享,可在线阅读,更多相关《JasperReport Server安装手册.docx(13页珍藏版)》请在冰豆网上搜索。

JasperReport Server安装手册.docx

JasperReportServer安装手册

JasperReportServer安装手册

1准备材料:

1、Tomcat:

apache-tomcat-5.5.36(解压部署)

2、Mysql安装包:

mysql-5.1.58.tar.gz

3、Jasperreportserver安装包:

jasperreports-server-cp-4.1.0-linux-x64-installer.run

2Mysql安装(使用ROOT账户安装)

#tarzxvfmysql-5.0.18.tar.gz

#cd mysql-5.0.18

#./configure--prefix=/usr/local/mysql--with-charset=gb2312 --with-extra-charsets=all #--prefix指定安装目录,让他支持中文,支持所有语

 

#指定安装路径为/usr/local/mysql,配置文件存放目录/etc,数据库存储目录/var/lib/mysql

#./configure--prefix=/usr/local/mysql--sysconfdir=/etc--localstatedir=/var/lib/mysql

#make

#makeinstall

#makeclean

#groupaddmysql

#useradd-gmysqlmysql (第一个mysql是组,第二个mysql是用户)

#cd/usr/local/mysql

#cpusr/local/mysql/share/mysql/my-f/etc/f(或cp/root/mysql-5.0.18

#bin/mysql_install_db--user=mysql

#建立基本数据库,必须指明为mysql用户,只有这一步才能在usr/local/mysql下出现var目录

#bin/mysqld_safe--user=mysql& #出现如下提示:

[1]23095

[root@localhostmysql]#Startingmysqlddaemonwithdatabasesfrom/usr/local/mysql/var

###这样就停在这边,就是正常启动。

如果想确认用下面命令

#ps-aux|grepmysql

Warning:

badsyntax,perhapsabogus'-'?

See/usr/share/doc/procps-3.2.3/FAQ

root    23095 0.1 0.2 44081084pts/1   S   04:

44  0:

00/bin/shbin/mysqld_safe--user=mysql

mysql   23118 3.1 2.411446412676pts/1 Sl  04:

44  0:

00/usr/local/mysql/libexec/mysqld--basedir=/usr/local/mysql--datadir=/usr/local/mysql/var--user=mysql--pid-file=/usr/local/mysql/var/localhost.localdomain.pid--skip-locking--port=3306--socket=/tmp/mysql.sock

root    23128 0.0 0.1 5524 640pts/1   R+  04:

44  0:

00grepmysql

###这样表示有mysql进程

###测试是否安装成功

#bin/mysql

WelcometotheMySQLmonitor. Commandsendwith;or\g.

YourMySQLconnectionidis1toserverversion:

4.0.25-log

Type'help;'or'\h'forhelp.Type'\c'toclearthebuffer.

mysql>quit

Bye       ####只有mysql进程,这一步才能执行,因为最初mysql的root密码是空的,所以回车直接就进入。

到此,说明安装成功

#bin/mysqladmin-urootpassword123456 (设置mysql的root密码为123456)

#[root@Linuxmysql]#bin/mysql-uroot-p(用新的密码可以进去,表示设置root密码成功)

Enterpassword:

           (输入完新密码后变成如下:

WelcometotheMySQLmonitor. Commandsendwith;or\g.

YourMySQLconnectionidis4toserverversion:

4.0.25-log

Type'help;'or'\h'forhelp.Type'\c'toclearthebuffer.

mysql>

#bin/mysqld_safe&或/usr/local/mysql/share/mysql/mysql.serverstart启动mysql

#/usr/local/mysql/share/mysql/mysql.serverstop停止mysql

#ps-aux|grepmysql查看进程

#killid号----这是杀mysql进程的,id号是在查看mysql进程里面看的到。

我们来修改一下mysql的启动的方式,让它以系统守护进程的方式开户服务

#cp/usr/local/mysql/share/mysql/mysql.server/etc/init.d/mysqld这样下次就可以用/etc/init.d/mysqldstart启动了

#/etc/init.d/mysqldstart(或/usr/local/mysql/mysql/share/mysql.serverstart这样启动)

#bin/mysql-uroot-p

Enterpassword:

 (输入root登录密码)

WelcometotheMySQLmonitor. Commandsendwith;or\g.

YourMySQLconnectionidis2toserverversion:

4.0.25-log

Type'help;'or'\h'forhelp.Type'\c'toclearthebuffer.

mysql>showdatabases;

+----------+

|Database|

+----------+

|mysql   |

|test    |

+----------+

2rowsinset(0.00sec)

mysql>

#chkconfig--addmysqld添加mysql为服务

servicemysqldrestart   #重新启动服务查看是否生效

chkconfig--listmysqld   #查看是否345运行级别都打开mysql

安装完成

2.1配置

设置数据库root用户密码:

123456

#[root@Linuxmysql]#bin/mysql-uroot–p

Enterpassword:

(输入登录密码)

mysql>grant all on xxxx.* to root@'%' identified by '123456';

mysql>quit

3JasperReport安装

[root@itmsgwtest]#ls

apache-tomcat-5.5.36jasperreports-server-cp-4.1.0-linux-x64-installer.run

[root@itmsgwtest]#./jasperreports-server-cp-4.1.0-linux-x64-installer.run

(main.tcl:

26688):

Gtk-WARNING**:

LocalenotsupportedbyClibrary.

Usingthefallback'C'locale.

----------------------------------------------------------------------------

WelcometotheJasperReportsServerCP4.1.0SetupWizard.

----------------------------------------------------------------------------

PleasereadthefollowingLicenseAgreement.Youmustacceptthetermsofthis

agreementbeforecontinuingwiththeinstallation.

Press[Enter]tocontinue:

PLEASEREADTHISAGREEMENTCAREFULLY.BYDOWNLOADING,COPYING,

INSTALLINGORUSINGALLORANYPORTIONOFTHISPROGRAMYOUACCEPT

ALLTHETERMSANDCONDITIONSOFTHISAGREEMENT,INCLUDINGWITHOUT

LIMITATIONTHEGNUAFFEROGENERALPUBLICLICENSEVERSION3.YOU

AGREETHATTHISAGREEMENTISLIKEANYWRITTENNEGOTIATED

AGREEMENTSIGNEDBYYOU.THISAGREEMENTISENFORCEABLEAGAINST

YOUANDANYLEGALENTITYTHATOBTAINEDTHISPROGRAMANDONWHOSE

BEHALFITISUSED:

FOREXAMPLE,IFAPPLICABLE,YOUREMPLOYER.

IFYOUDONOTAGREETOTHETERMSOFTHISAGREEMENT,DONOTUSE

THISPROGRAM.VISITAND

http:

//www.fsf.org/licensing/licenses/agpl-3.0.htmlFORTERMS

ANDCONDITIONS.

IFYOUHAVEPURCHASEDACOMMERCIALLICENSEAGREEMENTFROM

JASPERSOFT,YOUMAYHAVEANOTHERWRITTENAGREEMENTDIRECTLY

WITHJASPERSOFTTHATSUPERSEDESALLORPORTIONSOFTHIS

AGREEMENT.

JASPERSOFTPERMITSYOUTODOWNLOAD,COPY,INSTALL,USE,OR

OTHERWISEBENEFITFROMTHEFUNCTIONALITYORINTELLECTUALPROPERTY

OFTHISPROGRAMONLYINACCORDANCEWITHTHETERMSOFTHIS

AGREEMENT.USEOFSOMETHIRDPARTYMATERIALSANDSERVICES

INCLUDEDINORACCESSEDTHROUGHTHISPROGRAMMAYBESUBJECTTO

Press[Enter]tocontinue:

OTHERTERMSANDCONDITIONSTYPICALLYFOUNDINASEPARATELICENSE

AGREEMENT,TERMSOFUSEOR"README"FILELOCATEDWITHINORNEAR

SUCHMATERIALSANDSERVICES.

Copyright(C)2005-2011JaspersoftCorporation.

Allrightsreserved.

Unlessyouhavepurchasedacommerciallicenseagreementfrom

Jaspersoft,thefollowinglicensetermsapply:

Thisprogramisfreesoftware;youcanredistributeitand/or

modifyitunderthetermsoftheGNUAfferoGeneralPublic

Licenseversion3aspublishedbytheFreeSoftwareFoundation.

Thisprogramisdistributedinthehopethatitwillbeuseful,

butWITHOUTANYWARRANTY;withouteventheimpliedwarrantyof

MERCHANTABILITYorFITNESSFORAPARTICULARPURPOSE.Seethe

GNUAfferoGeneralPublicLicenseversion3formoredetails.

YoucanviewacompletecopyoftheGNUAfferoGeneralPublic

Licenseversion3at

http:

//www.fsf.org/licensing/licenses/agpl-3.0.html.Youalso

shouldreceiveacopyoftheGNUAfferoGeneralPublicLicense

Press[Enter]tocontinue:

version3alongwiththeprogram;ifnot,writetotheFree

SoftwareFoundation,Inc.,51FranklinStreet,FifthFloor,

Boston,MA02110-1301USA.

ContactJaspersoftCorporation

539BryantStreet,Suite100

SanFrancisco,CA94107

Web:

GeneralInquiries:

info@

SalesInquiries:

sales@

Press[Enter]tocontinue:

Doyouacceptthislicense?

[y/n]:

y

----------------------------------------------------------------------------

Installationfolder

Please,chooseafoldertoinstallJasperReportsServerCP4.1.0

Selectafolder[/opt/jasperreports-server-cp-4.1.0]:

(回车,默认)

----------------------------------------------------------------------------

PleaseselecttheTomcatconfigurationyouwishtouse

Tomcatinstallation:

[1]IwishtousethebundledTomcat

[2]IwishtouseanexistingTomcat

Pleasechooseanoption[1]:

2(选择已有Tomcat)

----------------------------------------------------------------------------

DatabaseInstallation

Pleaseselectwhichdatabaseconfigurationyouwishtouse

[1]IwishtousethebundledMySQLdatabase

[2]IwishtouseanexistingMySQLdatabase

Pleasechooseanoption[1]:

2(选择已有Mysql)

Setupwilltrytoinstallnewdatabasesandwilloverwriteanyexistingduplicate.Doyouwishyoucontinue?

[Y/n]:

Y

----------------------------------------------------------------------------

TomcatPortConfiguration

PleaseentertheTomcatconfigurationparametersyouwishtouse.

TomcatServerPort:

[8080]:

18000

----------------------------------------------------------------------------

MySQLInformation

PleaseenteryourMySQLdatabaseinformation:

MySQLBinaryDirectory[/opt/jasperreports-server-cp-4.1.0/mysql/bin]:

/usr/local/mysql/bin(Mysql路径)

PleaseentertheIPaddressorhostnameforyourdatabase

IP/Hostname[127.0.0.1]:

10.2.0.247(部署服务器IP)

MySQLServerport[3306]:

(回车,默认)

----------------------------------------------------------------------------

MySQLCredentials

Pleaseenteryourdatabaserootuserpassword

MySQLServerrootpassword:

(root密码)

Re-enterpassword:

(root密码)

----------------------------------------------------------------------------

TomcatDirectory

PleasespecifythedirectorywhereTomcatislocated.

Tomcatdirectory:

[/opt/jasperreports-server-cp-4.1.0/apache-tomcat]:

/home/gwtest/apache-tomcat-5.5.36(Tomcat部署地址)

----------------------------------------------------------------------------

InstallSampleData

Wouldyouliketoinstallsampledatabasesandsamplereports?

[Y/n]:

Y

Thesugarcrmandfoodmartdatabaseswillbeoverwritteniftheyalreadyexist.Doyouwishtocontinue?

[Y/n]:

Y

----------------------------------------------------------------------------

InstalliReportDesigner

TheiReportDesignerapplicationisagraphicaldesignerforJasperReports.

iReportDesignerconnectstoJasperServertouploadanddownloadreports.

WouldyouliketoinstalliReport?

[Y/n]:

n

----------------------------------------------------------------------------

SetupisnowreadytobegininstallingJasperReportsServerCP4.1.0onyour

computer.

Doyouwanttocontinue?

[Y/n]:

Y

----------------------------------------------------------------------------

PleasewaitwhileSetupinstallsJasperReportsServerCP4.1.0onyourcomputer.

Installing

0%______________50%______________100%

#########################################

----------------------------------------------------------------------------

SetuphasfinishedinstallingJasperReportsServerCP4.1.0onyourcomputer.

RegisteratJasper

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > PPT模板 > 国外设计风格

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1