基金門戶網(wǎng)站安裝手冊_第1頁
基金門戶網(wǎng)站安裝手冊_第2頁
基金門戶網(wǎng)站安裝手冊_第3頁
基金門戶網(wǎng)站安裝手冊_第4頁
基金門戶網(wǎng)站安裝手冊_第5頁
已閱讀5頁,還剩43頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

XXX門戶網(wǎng)站

安裝手冊

xxxxxxx有限公司

二0一0年四月

文檔修改記錄

編號相關(guān)表格修訂日期修訂說明編寫者審核者

2010-4-16創(chuàng)建XXX

2010-05-19力口入cms的jndi配置XXX

JNDI名字統(tǒng)一

目錄

文檔修改記錄2

1.編寫目的4

2.安裝前的準(zhǔn)備4

2.1硬件需求4

2.2約定8

2.3程序包準(zhǔn)備9

3.應(yīng)用服務(wù)器端的安裝9

3.1JDK的安裝9

3.1.1Windows操作系統(tǒng)9

3.2Webiogic的安裝10

3.2.1Windows操作系統(tǒng)10

3.3配置數(shù)據(jù)庫19

3.4配置Weblogic域19

3.4.1Windows操作系統(tǒng)19

3.5配置在線會議室mcetingServer31

3.6配置CMSserver32

3.6.1酉已置數(shù)據(jù)庫連接jdbc.properties32

4.WEB服務(wù)器端的安裝32

4.1配置Apache32

4.1.1安裝Apache32

4.1.2Apache配置36

4.2配置CMS36

4.2.1部署CMS36

4.2.2部署旅下基金配置36

5.NGINX安裝36

系統(tǒng)軟件需求:

操作系統(tǒng):系統(tǒng)支持跨平臺運(yùn)行,可以運(yùn)行在Windows、Linux、AIX>

HPUX、Solaris平臺上

J2EE中間件:WcblogiclO.O以上

Web服務(wù)器軟件:Apache

J2SDK:1.5以上

注:木手冊,不包含裸作系統(tǒng)、oracle數(shù)據(jù)庫;

安裝文件清單

Weblogic安裝文件:serveri001_win32.exe

JDK安裝文件:j2sdk-l_5_0_04-windows-i586-p.exe

Tomcat安裝文件:apache-tomcat-6.0.26.zip

Apache安裝文件:apache_2.2.9-win32-x86-openssl-0.9.8h-r2.msi

Nginx服務(wù)安裝文件:nginx-0.835.zip

Rsync同步服務(wù)器安裝文件:cwRsync_Server_2.0.10_Installer.exe

Rsync客戶端安裝文件:cwRsync_2.0.10_lnstaller.exe

注:以上文件可以自網(wǎng)上免費下莪

weblogic卜載網(wǎng)址:

/showallversions.isp7family=WLS

JDK下載網(wǎng)址:httD:/(iava.$(iavase/downloads/indexidk5.jm,

請下載SDK

?Tancat5.5

?ToatcatCcanectoT3

ReleaseIntegrity

?7ca>:atNative

You?u8tverifytheintegrityofthedcMnloadedfiles.WeprovideKPslgnAturesforeveryreleasefile.Thissii

berretebedagainsttheKIYSfilewhichcontainsthePOPke/8ofToiK?t*sReleaselan^geys.呢alsoprovideanID5

Docuaentatianeveryrele&sefile.Afteryoudownlojdthefile,youshouldcolculoteachecksunforyourdownload,andakecure

asours.

?6.0

?Tcozat5.5

?TcmcatConnector公Mirrors

?TomcatNativeYouarecurrentlyusinghttp://lAbA.renren.coa/npAche-Birror.Ifyouencounteraproblen?riththisnirror,p

:工

?'?i.anotherodrror.Ifallnirrorsarefailing,therearebockwnirrors(attheendofthexnrrorslist)thatshcxih

Problems?

Othersdrrors:http:〃14.*(]

?SecurityRexr”

?Findhelp

■6026

PleaseseetheFZAD.Efileforpackaeincinforoation.Itexplainsv^iateverydistributioncontains.

BinaryDistributions

GetInvolved?Care:

ozi£(£££>?d5)

?1”二心1ola^£x(C!££/ndS)

?SVNReg中criesoWIn^?8MD(£££?M5)

?ListsoM-bHWln4o>?8ZID(MP.M5)

■WikiQJQ-bitItaniutWin4owgzit>(pgp.r>d5)

o32-bi"64?bitJinddcsServiceInstaller(pgp,r?d5)

■isc?Deployer

ozip(pep,t>dS)

*o£ar?rc(EK£>喳)

?Her,-

?ApacheHcoe

?RescursRSourceCodeDistributions

?Ccwct?tar,re(pgpand5)

?L”al

?zip(PEP*?d5)

Tomcat下載地力止:http:〃tomcat.apache.o「g/download?60.cgi

JyouaredownloadingtheWin32distiibutioapleasereadtheseimportantooss.

?Vcsion22

?\ersion2.0Mirror|

■Vision13

?Tnmk(dev)Thecunetrth*selectedminofisbnp:^labs.reBreBXomapacbe-mirrorIfyouencounteraprobkmwithdusnwrot.pleaseselectaootbe

fhilms.therearebackupxronocs(attheendoftheoinorsEst)thatshouldbeavadabk

?Wig

GetlavohedOthernmrofs:http"labsrenrenconVapache-mirror▼[Change]

?垃nglistsYoutnavakoconsultthecompletelistofnwrors

?BugRepotts

?DcuJopchlioApacheHTTPServer(httpd)2.2.15isthebestavailableversion

TheApacheHTTPSaverProjectispleasedtoaroovncethereleaseofApacheHTTPServer(httpd)\rr$ioo2215Thisreleaserepres

Sabprojectsproject,andisrecommendedoveralpre\xxisreleases!

?D<K5FordetadsteetheOfficialAnnouncementandtheCHANGES22orcondensedCHANGES2215bits

?Test

?FloodAdd-inmodulesforApacbe1.3or2.0arenotcoapatibkwithApache2.2.Ifyouarenmnmgthirdpartyadd-mmodules,youmustobtax

?EbapxuQ226omthatdmdparty,bdbeeyouarten^ttoupgadefrom(besepreiousxersionsModulescoxx^tledforApacbe2.2shouldcontinue

?Mcxtaks

?modfbgjd

?-nixSource:httpd,」15targz[PGP]dfl>51恪HAI】

?modftp

■一向Source:http@2215tarbz2(PGP][VDSl[SHA11

.Win32Sowcehttpd-2l,wia32?…2如FPGP1[MD411SHA11

\Iiscelfa?eo?s

?Ws兄Binan,withoutaypto(DOmod.ssO(MSIImtaler):httpd?2.2.15?wjn32?x86?g5sl.msiTPGP1fMDSl

?Win32BinarymdodiogOpcnSSL0.91m(MSII&stakrXhttpd-2.2.15?win32?工86?opcnssb098m"insiff^P][MD5][SHAl]

?A\ycb?Otherfles

?Contnbiitors

?Sponsors

ApacheHTTPServer2.3.5>alpha

?Sponsorship

?SupportTheApacheHTTPSaverProjectispleasedtoamouKethereleaseofApacheHTTPServer,version2.3.5-a^h&Thisversionofhttpd

Webringtechnologyandfeaturesthatareincompatibkc<toolargeforthestable22xbranchThisalphareleaseshouldnotbepresumedtobecoi

orfutureversion

FordefatsseetheOfik~ialAnnouncementandtheCHANGES23lists

?UnixSource:httpd.235.jJphxur.hz2fPGP][MDS][SHA1】

■一向&OHfendesScwcehttpd?235?alpM?&pstarbz2TPGP1rMDSHSHAll

?rwd,

J推、獨.拉……湖0不]風(fēng),而W獎.經(jīng)經(jīng)也電盛叁,可以宣震花矣附訊按月將出蜜紿崇受的南丁一

ApacheHTTPserverT載地址:/download.cgi

Developmentversions

CHANGESnginx_o.8.35pgpnginx八Windows-0.8.35pgD

nginx-0.8.34pgpnginx八Windows-0.8.34pgp

nginx-o.8.33pgpnginx八Windows-0.8.33pgp

nginx-0.8.32pgpnginx八VindoMS-0.8.32pgp

nginx-0.8.31pgpnginx八Vindows-o.8.31pgp

nginx-0.8.30pgpnginx八Windows-0.8.30pgp

nginx-0.8.29PgPnginx八Windows-0.8.29pgp

nginx-0.8.28pgpnginx八Windows-0.8.28pgD

nginx-0.8.27nginx/Windows-0.8.27

nginx-o.8.26

Ngin卜載地址:/en/download.html

movo-uo

▼?2.0.102682008-157.2900Q

I.IB02-20

IJ〕cwRsync_Server_2.0.103010_lnstaller.ap3.42008-2640

I.IB02-20

gcwRsync_2010.3010」nstaller_zip3.22008-388|訝

I.IB02-20

IBcwRsync_Server_2.0.l0.3007」nstallerzp3.42008-352|方

MB01-02

IcwRsync_2010.3007Jnstallerzip3.22008-486囹

I.IB01-02

cwRsync_Sorver_2.0.103001Jnctoller.zip3.42007-6366

MB10-05

QDcwRsync_2.010.3001_lnstallerip3.22007-1,556)

I.IB10-05

QDRsync-preallocate-patchilp903.92006-1,118勺

KB12-03

IPcwRsync_Sen/er_2.0.10Jnstallerzip2.92006-50.825|>

MB11-08

l'lcwRsync_20lOJnstallerzip3.02006-101,665)

I.IB11-08

同步服務(wù)器Rsync下載地址:http:〃/Drojects/sercds/files/

注:可以是任何版本,推薦使用最新版本

數(shù)據(jù)庫腳本:ETS-Init.sql

2.2約定

為了簡化配置,約定以下規(guī)則:

JAVA_HOME:JDK安裝主目錄,比如D:\Java\jdkL5.0_06

WEBLOGIC_HOME:wcblogic安裝目錄D:\bca

DOMAIN_HOME:網(wǎng)站應(yīng)用域目錄D:\website\websitedomain

APP_DOMAIN_LISTEN_IP:weblogic服務(wù)器域監(jiān)聽地址,比如

APP_DOMAIN_LISTEN_PORT:

weblogic應(yīng)用服務(wù)器域監(jiān)聽端口:7001

APP_WEB_HOME:weblogic應(yīng)用存放目錄d:\websi⑹叩p

APACHE_HOV1E:ApacheHttp服務(wù)安裝目錄D:\apache

Nginx_Iioiiit:iiginx服務(wù)器安裝目錄D:\iiginx

MEETING_SERVER_HOME:

在線會議室服務(wù)端存放目錄D:\website\meetingserver

CMS_OUTPUT_HOME:靜態(tài)頁面輸出目錄D:\website\html

CMS_HOME:cms應(yīng)用存放0錄D:\cms

CMS_SERVER_HOME:cms發(fā)布引擎存放目錄D:\cms\cmsServer

CMS_APP_HOME:cms應(yīng)用包含tomcat存放目錄D:\cms\cmsweb

CMS_TEMPLE_HOME:網(wǎng)站模板存放目錄D:\cms\template

TOMCAT.LISTEN.PORT:tomcat端口:8088

RSYNC_SERVER_HOME:

同步服務(wù)器服務(wù)安裝目錄D:\cwRsyncServer

RSYNC_CLIENT_HOME:

同步服務(wù)器客戶端安裝目錄D:\cwRsync

RSYNC_LISTEN_PORT:同步服務(wù)器端□:873

2.3程序包準(zhǔn)備

現(xiàn)有網(wǎng)站部署提供的應(yīng)用程序包

應(yīng)用名程序包名應(yīng)用名程序包名

帳戶查詢login-struts留言Message

專戶saweb專戶渠道查詢saweb-hftchannel

基金比較fundcomp全文檢索Infoseek

基金凈值走勢圖funds-struts理財計算器calculator

在線會議室服務(wù)端meetingserverCms發(fā)布引擎cmsserver

cms后臺相關(guān)應(yīng)川cmsweb

Nginx服務(wù)新NginxAppache月艮務(wù)器Appache

(安裝程序)(安裝程序)

數(shù)據(jù)庫腳本Inii.sql(創(chuàng)建數(shù)據(jù)庫)

Iniidata.sqK初始化數(shù)據(jù))

□Wcblogic動態(tài)應(yīng)用口應(yīng)用相關(guān)服務(wù)端口或。后臺口服務(wù)器安裝程序口數(shù)據(jù)庫腳公

3.應(yīng)用服務(wù)器端的安裝

注:這里是windows平臺下的安裝,其他平臺的安裝可類推;并且由于java

的跨平臺功能,其他平臺都可以采用圖形界面安裝,與windows下界面相同。

3.1JDK的安裝

3.1.1Windows操作系統(tǒng)

雙擊下載的JDK安裝文件如:j2sdk-l_5_0_04-windows-i586-p.exe,選擇合

適的JAVA_HOME,一路“Next",完成安裝。建議安裝在d:\java目錄下。

3.2Weblogic的安裝

3.2.1Windows操作系統(tǒng)

Windows操作系統(tǒng)下的WebLogic安裝,參照如下過程。

3.2.1.1安裝weblogic

3.2.1.1.1安裝weblogiclO軟件

雙擊下載的(或購買的安裝盤)serverl001_win32.exe文件,進(jìn)行安裝。

選擇“Next”

選擇“YES”,同意協(xié)議后;選擇“Next”

選擇BEA_HOME,推薦在D:\bea。

選擇“Custom”,進(jìn)行自定義安裝

選擇uWebLogicServern部分;

選擇安裝目錄,采用默認(rèn)即可:

選擇"YES”安裝,NodeManagerService.端口默認(rèn)。

開始安裝,安裝需要幾分鐘。

安裝成功!

InstallationComplete

ClicktheDonebuttontoexittheinstaller.

Message

Congratulations!BEAProductshasbeensuccessfullyinstalledto

D:\bea2\wlserver_l0.0.

0RunQuickstart

Done

3.2.1.2創(chuàng)建網(wǎng)站域

3.2.1.2.1創(chuàng)建網(wǎng)站域

選擇開始―?程序—>BeaProducts—?Tools—>ConfigurationWizard

ConfigurationWizard

DomainTemplateBuilder

DomainUpgradeWizard

NodeManager

WebLogicScriptingTool

選擇uCreateanewWebLogicdomain”,創(chuàng)建新的WebLogic域

DBEAVebLogicConfigurationVizard口叵兇

Welcome

Choosebetweencreatingandexteidingadoman.Basedonyourselection,

theConfigurationWizardguidesyojthroughthestepstogenerateaneworextendanexistingdomain.

◎CreateanewWebLogicdomain

CreateaWebLogicdcmaannyourprojectsdrectory.

OExtendanexistingWebLogicdomain

ExterrianexistingWebLogicdomain.

Usethisoptiontoaddabdicationsandservices,ortooverrideexistngdatabaseaccess(JD6C)and

messaging(JMS)settings.YoucanalsoIncorporateadditionalijnctonaltyinyourdomain,forexample,by

indudngAquaLogcServiceBus.

ExitNext

采用默認(rèn),然后選擇“Next”

輸入下列信息,包括用戶名,密碼等,作為訪問域控制臺的用戶名和密碼:選擇“Next”

選擇運(yùn)行模式:為DevelopmentMode:對于生產(chǎn)系統(tǒng),如果已經(jīng)購買License,可以使

ProductionMode,解除IP限制等;通過選擇運(yùn)行模式,會自動選擇相應(yīng)的JDK.

選擇JDK:默認(rèn)選擇BEAJ4OME下的JDK即可:

采用默認(rèn)配置,選擇NO,點擊Next.

選擇域安裝的目標(biāo)目錄:點擊左下方“Browse",選擇目標(biāo)目錄為D:\website\websitedomain

輸入域的名稱:在右下方的輸入框輸入域的名稱“websitedomain”。

選擇“Create”按鈕,開始創(chuàng)建域的過程

創(chuàng)建域完成!

3.3配置數(shù)據(jù)庫

在數(shù)據(jù)中心數(shù)據(jù)庫

執(zhí)行以下腳本:

Init.sql創(chuàng)建數(shù)據(jù)庫

Initdata.sql初始化數(shù)據(jù)

3.4配置Weblogic域

3.4.1Windows操作系統(tǒng)

3.4.1.1WebLogiclO域的部署

3.4.1.1.1配置WebLugic域

執(zhí)行D:\website\websitedomain\startWcbLogic.cmd.

啟動websiledomain,完成后,看到如下畫面,說明服務(wù)器啟動成功。

c<C:\¥INDO¥S\syste>32\cB(i.exe

pened.Allserversidelogeuentswillbewrittentothisfile.>

<2008-12-18下午01E寸必分44秒CST><Notice><Security><BEfi-090082><Securityini□

tializingusingsecurityrealmnyrealn.>

<2008-12-18下午0時05分54秒CST><Notice><WebLogicSeruer><BEA-000365><Seruer

statechangedtoSTANDBY》

<2008-12-18下午01E寸05分54秒CST><Notice><WebLogicSeruer><BEfi-000365><Seruer

statechangedtoSTARTING)

<2008-12-18下午01E寸06分02秒CST><Notice><LogManagement><BEA-170027><These

i,uerinitializedthedonainlogbroadcastersuccessfully-Logmessageswillnow

bebroadcastedtothedonainlog.>

<2008-12-18下午01E寸06分03秒CST><Notice><WebLogicSevuer><BEA-000365><Seruei*

statechangedtoflDMIN>

<2008-12-18下午01E寸06分03秒CST><Notice><WebLogicSeruer><BEA-000365><Seruer

statechangedtoRESUMING)

<2008-12-18下午01E寸06分22秒CST><Notice><Seruer><BEA-002613><Channel"Defau

It"isnowlisteningon2:7001forprotocolsiiop,t3,Idap,snmp,I

ttp.>

<2008-12-18下午01E寸06分22秒CST><Notice><WebLogicSeruei?><BEA-000331><Starte

dV/ebLogicAdminSeruer?,AdninSeruerufordomain"ETSDomain"runninginDenelopn

entMode>

<2008-12-18下午01E寸06分22秒CST><Notice><WebLogicSeruer><BEA-000365><Seruer

statechangedtoRUNNING)

<2008-12-18下午01E寸06分22秒CST><Notice><WebLogicSeruer><BEA-000360><Seruer

startedinRUNNINGmode)

本例下WebLogic內(nèi)容的配置包括JDBC,等內(nèi)容,都是通過WebLogic的控

制管理臺進(jìn)行配置的;

在系統(tǒng)啟動成功后,通過如下地址登陸WebLogic控制臺:

http:〃服務(wù)器IP:端口/console/

木例中為:http:〃:7001/console/

出現(xiàn)如下畫面

采用創(chuàng)建域的用戶名:weblogic,密碼:weblogic.通過如下網(wǎng)址登陸WebLogic

控制管理臺;

登陸成功后,出現(xiàn)如下畫面,點擊左面板的lock&cdit按鈕后才能修改,操

作完后點ActivateChange才能使修改生效。

ChangeCenterWelcome,weblogicConnectedto:websitedomaintoHome:LogOutPreferences:SRecordHelp:>

ViewchangesandrestartsHome

ClicktheLock&Editbuttontomodify,Domain

addordeleteitemsinthisdomain.

InformationandResources

HelpfulToolsGeneralInformation

>Configureopplications>CommonAdministrationTaskDescriptions

DomainStructure>RecentTaskStatus>Setyourconsolepreferences

websitedomain>Readth?cocumentatlon

F*Fmnrnnmpnt

Deployments

,SendeesDomainConhgurations

SecurityRe?kn$

DomainServicesInteroperabiity

&Interoperability

SDtagnosocsoDomainGMessaging。WTCServers

>JMSSeversH3oltConnectionPools

Environment>Store-and-Forv/ardAgents

?Servers>JMSMcdulesDiagnostics

0Ousters>BridgeselogFiles

ewtudlHosts6JOBCaDiagnosticModules

oMigratableTargets>DotaSourcesaDiagnosticImages

HowdoL..國

eMachines>MultiDitaSourceseArdwves

0UsetheChangeCenter

?WorkManagers>DataSourceFactoheswContext

sRecordWLSTScnpts

oPersistentStores

?ChangeConsolepreferences?StartupAndShutdownClassesWSHMP

?Monitorservers,PathServcos

?XMLRegistries

YourDeployedResources

SystemStatus&XMIFnhtvCnchpc

3.4.1.1.2配置JDBC

數(shù)據(jù)庫連接池配置:

ChangeCenter

Viewchangesandrestarts

ClicktheLock&Editbuttontomodify,

addordeleteitemshthisdomain.

Lock&Edit

eleaseCor

DomainStructure

v7ebsitedomain

+1Environment

HDeployments

白Services

由Messaging

$JDB€

IDataSources

i-MultiDataSources

=?■1?DataSourceFactories

j-PersistentStores

hPathServices

ForeignJNDIProviders

j…WorkContexts

I-XMLRegistries

j-XMLEntityCaches□

點擊Services->JDBC->DataSources,上圖紅色部分,進(jìn)入JDBC配置頁面,出現(xiàn)下圖

頁面。

Ho?ne>SummaryofJDBCDataSources

SummaryofJDBCDataSources

AJDBCdatasourceisanobjectboundtotheJNDItreethatprovidesdatabaseconnectMtythroughapoolof

JDBCconnections.ApplicationscanlookupadatasourceontheJUDItreeandthenborrowadatabase

connectionfromacatasource.

ThispagesummarizestheJDBCdatasourceobjectsthathavebeencreatedinthisdomain.

?Customizethistable

DataSources(Filtered-MoreColumnsExist)

[Nev,]

Showing0-0of0Previous|Next

□Name4JNDINameTargets

Therearenoitemstodisplay

m鵬iShowing0-0of0Previous!Next

點擊New按鈕,開始創(chuàng)建JDBC數(shù)據(jù)庫連接池

CreateaNewJDBCDataSource

|Next|||Fin。Cancel|

JDBCDataSourceProperties

ThefollowingpropertieswillbeusedtoidentifyyournewJDBCdatasource.

WhatwouldyouliketonameyournewJDBCdatasource?

圜Name:websitedatasourcesysC(

WhatJNDInamewouldyouliketoassigntoyournewJDBCDataSource?

website.datasource.sysConfig

唱JNDIName:

Whatdatabasetypewouldyouliketoselect?

DatabaseType:Oraclev

Whatdatabasedriverwouldyouliketousetocreatedatabaseconnections?

|Next|||Fir-Cancel|

配置內(nèi)容要求:

Name:website.datasource.sysConfig

JNDIName:website.datasource.sysConfig

DatabaseType:Oracle

DatabaseDriver:根據(jù)Oracle使用版本選擇對應(yīng)的驅(qū)動程序。

填寫完以上內(nèi)容后,點擊Next,出現(xiàn)下圖。

Home>SummaryofJDBCDataSources

CreateaNewJDBCDataSource

|Back|

TransactionOptions

YouhaveselectedanXAJDBCdrivertousetocreatedatabaseconnectionInyournewdatasource.Thedata

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論