pub:iview8setup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
pub:iview8setup [2018/08/30 11:16] – [Installation and Configuration] kkramer | pub:iview8setup [2018/09/05 11:13] – [Enter License Keys and Set Location] kkramer | ||
---|---|---|---|
Line 4: | Line 4: | ||
- | iView version 8 is significantly different than it's previous versions. | + | iView version 8 is significantly different than it's previous versions |
===== Installation and Configuration ===== | ===== Installation and Configuration ===== | ||
+ | iView is comprised of two parts: | ||
+ | |||
+ | ==== Front end - Apache Tomcat ==== | ||
+ | ==Download iView WAR file== | ||
+ | The iView front end is typically provided in a war file. Download this file to your home directory in the IFS using **binary** file transfer, and then execute these commands ( populating the names with those used in your installation ). The directory /home/user is meant to refer to your user profile' | ||
+ | |||
+ | ==Download Tomcat distribution file== | ||
+ | Download Tomcat 6.x from FTP site at:\\ | ||
+ | | ||
+ | |||
+ | and upload this file to /home/user directory | ||
+ | |||
+ | < | ||
+ | call qp2term | ||
+ | cd /www | ||
+ | ajar -x / | ||
+ | </ | ||
+ | |||
+ | ==Add environment variable JAVA_HOME at system level== | ||
+ | Set JAVA_HOME environment variable: go to directory / | ||
+ | < | ||
+ | ADDENVVAR ENVVAR(JAVA_HOME) VALUE(/ | ||
+ | </ | ||
+ | With xyz is the JDK folder of the version you want to set. | ||
+ | < | ||
+ | ADDENVVAR ENVVAR(JAVA_OPTS) VALUE(' | ||
+ | -Xms1536m -Xmx3072m -XX: | ||
+ | </ | ||
+ | ==Verify the availability of the ports used by Tomcat== | ||
+ | Tomcat uses 8005, 8080, and 8009 by default among which 8080 is the default HTTP port. Enter the command NETSTATOPTION(*CNN) to verify whether the ports are in use. If port 8009 and 8080 are occupied, edit the configuration file / | ||
+ | {{: | ||
+ | |||
+ | ==Change security for Tomcat folder== | ||
+ | Type command: | ||
+ | < | ||
+ | CHGAUT OBJ('/ | ||
+ | </ | ||
+ | ==Root userID and Password:== | ||
+ | Go to / | ||
+ | And add:\\ | ||
+ | < | ||
+ | < | ||
+ | {{: | ||
+ | ==Start Tomcat== | ||
+ | Tomcat is installed and configured successfully. Now you can start Tomcat by using command: (Where the job queue is where you want to run Tomcat) | ||
+ | < | ||
+ | STRTOMCAT JOBQ(FMGJOBQ) | ||
+ | </ | ||
+ | To open your web browser, enter the URL [[http:// | ||
+ | {{: | ||
+ | ==Stop Tomcat== | ||
+ | Use command **ENDTOMCAT** to stop Tomcat | ||
+ | |||
+ | |||
+ | ==== Back end - IBMi ==== | ||
The iView back end is typically provided in a savefile. To install, upload the savefile to the IBM i and restore it with a command like this ( you will need to populate this command with the names you are using on your system ): | The iView back end is typically provided in a savefile. To install, upload the savefile to the IBM i and restore it with a command like this ( you will need to populate this command with the names you are using on your system ): | ||
< | < | ||
- | RSTLIB SAVLIB(IVIEW800) DEV(*SAVF) SAVF(QGPL/IVIEW800) MBROPT(*ALL) ALWOBJDIF(*ALL) | + | RSTLIB SAVLIB(IVIEW844) DEV(*SAVF) SAVF(QGPL/IVIEW844) MBROPT(*ALL) ALWOBJDIF(*ALL) |
</ | </ | ||
Line 35: | Line 90: | ||
| | ||
</ | </ | ||
+ | ==== Enter License Keys and Set Location ==== | ||
+ | Take option 20, then press Enter to enter the permanent or temporary license provided by your account manager. iView should have 3 key components: IVIEWWEB, IVIEW1, IVIEW2. Once entered, iView is now ready to use. | ||
- | Take option 20, then option 8 to set the iView location and path. Set the parameters as appropriate to your installation or upgrade and press < | + | < |
+ | 8/ | ||
+ | | ||
+ | |||
+ | | ||
+ | Serial Number: | ||
+ | |||
+ | iDocs Production Information | ||
+ | Product version . . . . . : | ||
+ | iDocs Installation Library: FMG Name, F4 for list | ||
+ | |||
+ | | ||
+ | Country Code . . . . . . .: US | ||
+ | Code Page. . . . . . . . .: 37 1-65535 | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | Press enter to continue | ||
+ | | ||
+ | </ | ||
+ | Press < | ||
+ | < | ||
+ | 8/ | ||
+ | | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | F3=Exit | ||
+ | </ | ||
+ | Then use option 8 to set the iView location and path. Set the parameters as appropriate to your installation or upgrade and press < | ||
< | < | ||
Line 54: | Line 153: | ||
</ | </ | ||
- | + | ==== Migrating Any Meta Data Files ==== | |
- | <<Add the document to install Tomcat here>> | + | |
- | + | ||
- | The iView front end is typically provided in a war file. Download this file to your home directory in the IFS using **binary** file transfer, and then execute these commands ( populating the names with those used in your installation ). The directory /home/user is meant to refer to your user profile' | + | |
- | + | ||
- | < | + | |
- | call qp2term | + | |
- | cd / | + | |
- | tar -xf iView8.00-FrontEnd-Php5.4.tar | + | |
- | cd / | + | |
- | find . -type d -print | xargs chmod 755 | + | |
- | find . -type f -print | xargs chmod 644 | + | |
- | chmod 666 i5_def.php | + | |
- | chown -R qtmhhttp | + | |
- | </ | + | |
- | + | ||
- | You should now add the following stanza to the Apache configuration file used by the Zend Server. | + | |
- | This file is / | + | |
- | + | ||
- | < | + | |
- | & | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | & | + | |
- | </ | + | |
- | + | ||
- | These statements establish browser authentication against the IBM i profile. iView will not work without user authentication. You may establish user authentication through any means that Apache will allow. | + | |
- | + | ||
- | At this point, if your machine' | + | |
If this is an upgrade, you can migrate the meta data files, configuration and license keys with the command IVCOPYDATA. | If this is an upgrade, you can migrate the meta data files, configuration and license keys with the command IVCOPYDATA. | ||
pub/iview8setup.txt · Last modified: 2022/06/25 17:02 by 127.0.0.1