100 likes | 230 Views
Training on the management of the End to End data Management (E2EDM) prototype system at IODE NODCs. E2E Data Provider Installation. Distribution location. Main directory \iodetrainingtrainingE2EDM trainingE2EDM Software Directory Data Provider contains:
E N D
Training on the management of the End to End data Management (E2EDM) prototype system at IODE NODCs E2E Data Provider Installation
Distribution location Main directory \\iodetraining\training\E2EDM training\E2EDM Software Directory Data Provider contains: Database access service, Web application, Additional files Middleware contains: Apache web server, php, java, JBoss Ostende, 2007
Apache web server installation • Start installer from Middleware\Apache web server, defining server name. • Server name is a DNS or computer name 2. Select custom setup type to specify installation path and components Ostende, 2007
Apache web server installation • Specify installation path to c:\usr\local • It’s better to use path that doesn’t contain any space characters 4. Final step After successful installation apache system service is managed from the “Services” section of Windows Control Panel/Administrative tools Ostende, 2007
PHP installation (continue) • PHP is an language interpreter that running under Apache web server. • Run the executable installer from Middleware directory\php-4.4 and follow the instructions: • Specify installation path to directory c:\usr\local\php (It’s a default path in installer) • To make sure that the php libraries can be found by Apache web server copy php4ts.dll and sapi\php4apache.dll from installation directory to Windows system directory (e.g. c:\windows\system32) • Copy the file, php.ini from additional files in Middleware\php-4.4 distribution to c:\windows. All necessary settings in this file are done for successful work of Data Provider with MS SQL Server. • Additionally, in order to work with DBMS except MySQL you need to uncomment proper extension in php.ini configuration file (phrase ‘extension=php_mssql.dll‘) and put dll library to c:\windows\system32 path. To work with MS SQL Server put extensions\php_mssql.dll to this path. • Note, that MS SQL Client must be installed on the server also. Ostende, 2007
PHP installation (continue) • Overwrite c:\usr\local\apache\conf\httpd.conf Apache configuration file from Middleware\apache web server distribution. Before copying httpd-1.3.28.conf to Apache conf directory rename it to httpd.conf. This file loads php module into Apache web server. • Note: By overwriting your configuration file with file from distribution you overwrite all previous settings. In case of Data Provider you have to edit httpd.conf file after overwriting and set your server name again. • It can be done by searching the string starts with “ServerName” in this file and typing correct value • 6. Restart Apache web server Ostende, 2007
Database Access Service (DiGIR) installation • Run digir2.exe installer from Data Provider\Data Access Service distribution and follow instructions. Installation path is c:\www\ by default. • Make sure that DiGIRis installed correctly by typing in your web browser address: http://localhost/digir2/admin Ostende, 2007
Java SDK installation • Run jdk-1_5_0_04-windows-i586-p.exe installer from Middleware\java-1.5 distribution and follow instructions. Specify installation path to c:\jdk1.5.0_04. Please, do not install JRE into the same directory the JDK was installed! • After installation create system variable JAVA_HOME and set it to c:\jdk1.5.0_04 pathTo set system variable click right mouse button on My Computer and choose Properties. On Advance tab press Environment variables button below. Then in system variables section create JAVA_HOME variable • Installation complete and all java application will use this JAVA_HOME variable pointing to installed Java SDK Ostende, 2007
JBoss application server installation • Run installer JBoss from Middleware\JBoss 4.0.0 distribution to c:\ • Go to c:\jboss-4.0.0\bin directory and run !installJbossAsService.bat file to install JBoss as system service. • After installation JBoss system service is managed from the “Services” section of Windows Control Panel • Server log is placed to c:\jboss-4.0.0\server\default\log\server.log file. All errors that occurs can be read from this log file. • Make sure that JBoss server application works properly by typing address in web browser: http://localhost:8080/ Ostende, 2007
Data provider management system installation • Run dpms.exe installer from Data Provider\Web application distribution to c:\jboss-4.0.0\server\default\deploy path • Restart JBoss application server for application deployment • Make sure that application works properly by typing address in web browser: http://localhost:8080/dpms/ Ostende, 2007