How to install gnp

To install GNP on Linux(CentOS or RedHatEnterpriseLinux or compatible packages), mount gnpInstaller.iso as a CD-ROM,
and follow the Install.linux document which is in the root directory of the CD-ROM.
To install GNP on Solaris, first mount gnpSolarisPreInstaller.iso as a CD-ROM,
and follow the INSTALL document which is in the root directory of the CD-ROM of gnpSolarisPreInstaller.iso,
and then mount gnpInstaller.iso as a CD-ROM,
and follow the Install.solaris document which is in the root directory of the CD-ROM.
The installation documentation which is written in Install.linux is described below:
This is GNP Proration System Installation CD-ROM.
This CD-ROM is for Linux CentOS 5.2,5.3 on x86 architecture,
and for Solaris10 on 32bit sparc and x86 architecture.
Here describe how to install this system on Linux/CentOS.
0. login as root user or execute su to be root user.
cd to the root directory of the CD-ROM, and execute the installer by:

# ./install.sh
**The installer starts,
and messages from pre install process below are displayed.**
yum install mysql-server...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
  • base: www.ftp.ne.jp
  • updates: www.ftp.ne.jp
  • addons: www.ftp.ne.jp
  • extras: www.ftp.ne.jp
base | 1.1 kB 00:00
updates | 951 B 00:00
addons | 951 B 00:00
extras | 1.1 kB 00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package mysql-server.i386 0:5.0.45-7.el5 set to be updated
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server
--> Running transaction check
---> Package perl-DBD-MySQL.i386 0:3.0007-2.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
Package Arch Version Repository Size
================================================================================Installing:
mysql-server i386 5.0.45-7.el5 base 9.7 M
Installing for dependencies:
perl-DBD-MySQL i386 3.0007-2.el5 base 148 k

Transaction Summary
================================================================================Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 9.8 M
**Messages end here**
**This message below from pre-installation process is displayed.**
Is this ok y/N:
**You must type "y" to proceed pre-installation process.**
**If you just typed "y" and an enter key,
These messages below from mysql installation process are displayed.**
Is this ok y/N: y
Downloading Packages:
(1/2): perl-DBD-MySQL-3.0007-2.el5.i386.rpm | 148 kB 00:00
(2/2): mysql-server-5.0.45-7.el5.i386.rpm | 9.7 MB 00:05

Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : perl-DBD-MySQL 1/2
Installing : mysql-server 2/2

Installed: mysql-server.i386 0:5.0.45-7.el5
Dependency Installed: perl-DBD-MySQL.i386 0:3.0007-2.el5
Complete!
yum install php...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
  • base: www.ftp.ne.jp
  • updates: www.ftp.ne.jp
  • addons: www.ftp.ne.jp
  • extras: www.ftp.ne.jp
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package php.i386 0:5.1.6-23.2.el5_3 set to be updated
--> Processing Dependency: php-cli = 5.1.6-23.2.el5_3 for package: php
--> Processing Dependency: php-common = 5.1.6-23.2.el5_3 for package: php
--> Running transaction check
--> Processing Dependency: php-common = 5.1.6-23.el5 for package: php-ldap
---> Package php-common.i386 0:5.1.6-23.2.el5_3 set to be updated
---> Package php-cli.i386 0:5.1.6-23.2.el5_3 set to be updated
--> Running transaction check
---> Package php-ldap.i386 0:5.1.6-23.2.el5_3 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
Package Arch Version Repository Size
================================================================================Updating:
php i386 5.1.6-23.2.el5_3 updates 1.1 M
php-cli i386 5.1.6-23.2.el5_3 updates 2.1 M
php-common i386 5.1.6-23.2.el5_3 updates 151 k
php-ldap i386 5.1.6-23.2.el5_3 updates 36 k

Transaction Summary
================================================================================Install 0 Package(s)
Update 4 Package(s)
Remove 0 Package(s)
Total download size: 3.4 M
**Messages end here**
**This message below from pre-installation process is displayed.**
Is this ok y/N:
**You must type "y" to proceed pre-installation.**
**If you just typed "y" and an enter key,
These messages below from php installation process are displayed.**
Is this ok y/N: y
Downloading Packages:
(1/4): php-ldap-5.1.6-23.2.el5_3.i386.rpm | 36 kB 00:00
(2/4): php-common-5.1.6-23.2.el5_3.i386.rpm | 151 kB 00:00
(3/4): php-5.1.6-23.2.el5_3.i386.rpm | 1.1 MB 00:00
(4/4): php-cli-5.1.6-23.2.el5_3.i386.rpm | 2.1 MB 00:01

Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : php-common 1/8
Updating : php-cli 2/8
Updating : php-ldap 3/8
Updating : php 4/8
Cleanup : php-ldap 5/8
Cleanup : php 6/8
Cleanup : php-common 7/8
Cleanup : php-cli 8/8

Updated: php.i386 0:5.1.6-23.2.el5_3 php-cli.i386 0:5.1.6-23.2.el5_3 php-common.i386 0:5.1.6-23.2.el5_3 php-ldap.i386 0:5.1.6-23.2.el5_3
Complete!
yum install php-mysqld...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
  • base: www.ftp.ne.jp
  • updates: www.ftp.ne.jp
  • addons: www.ftp.ne.jp
  • extras: www.ftp.ne.jp
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package php-mysql.i386 0:5.1.6-23.2.el5_3 set to be updated
--> Processing Dependency: php-pdo for package: php-mysql
--> Running transaction check
---> Package php-pdo.i386 0:5.1.6-23.2.el5_3 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
Package Arch Version Repository Size
================================================================================Installing:
php-mysql i386 5.1.6-23.2.el5_3 updates 85 k
Installing for dependencies:
php-pdo i386 5.1.6-23.2.el5_3 updates 64 k

Transaction Summary
================================================================================Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 148 k
**Messages end here**
**This message below from pre-installation process is displayed.**
Is this ok y/N:
**You must type "y" to proceed pre-installation.**
**If you just typed "y" and an enter key,
These messages below from mysql-php and mysql-pdo installation process are displayed.**
Is this ok y/N: y
Downloading Packages:
(1/2): php-pdo-5.1.6-23.2.el5_3.i386.rpm | 64 kB 00:00
(2/2): php-mysql-5.1.6-23.2.el5_3.i386.rpm | 85 kB 00:00

Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-pdo 1/2
Installing : php-mysql 2/2

Installed: php-mysql.i386 0:5.1.6-23.2.el5_3
Dependency Installed: php-pdo.i386 0:5.1.6-23.2.el5_3
Complete!
yum install httpd...
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
  • base: www.ftp.ne.jp
  • updates: www.ftp.ne.jp
  • addons: www.ftp.ne.jp
  • extras: www.ftp.ne.jp
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package httpd.i386 0:2.2.3-22.el5.centos.2 set to be updated
--> Processing Dependency: httpd = 2.2.3-22.el5.centos for package: httpd-manual--> Processing Dependency: httpd = 2.2.3-22.el5.centos for package: mod_ssl
--> Running transaction check
---> Package mod_ssl.i386 1:2.2.3-22.el5.centos.2 set to be updated
---> Package httpd-manual.i386 0:2.2.3-22.el5.centos.2 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
Package Arch Version Repository Size
================================================================================Updating:
httpd i386 2.2.3-22.el5.centos.2 updates 1.2 M
httpd-manual i386 2.2.3-22.el5.centos.2 updates 810 k
mod_ssl i386 1:2.2.3-22.el5.centos.2 updates 87 k

Transaction Summary
================================================================================Install 0 Package(s)
Update 3 Package(s)
Remove 0 Package(s)
Total download size: 2.1 M
**Messages end here**
**This message below from pre-installation process is displayed.**
Is this ok y/N:
**You must type "y" to proceed pre-installation.**
**If you just typed "y" and an enter key,
These messages below from httpd etc. installation process are displayed.**
Is this ok y/N: y
Downloading Packages:
(1/3): mod_ssl-2.2.3-22.el5.centos.2.i386.rpm | 87 kB 00:00
(2/3): httpd-manual-2.2.3-22.el5.centos.2.i386.rpm | 810 kB 00:00
(3/3): httpd-2.2.3-22.el5.centos.2.i386.rpm | 1.2 MB 00:00

Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : httpd 1/6
Updating : mod_ssl 2/6
Updating : httpd-manual 3/6
Cleanup : mod_ssl 4/6
Cleanup : httpd 5/6
Cleanup : httpd-manual 6/6

Updated: httpd.i386 0:2.2.3-22.el5.centos.2 httpd-manual.i386 0:2.2.3-22.el5.centos.2 mod_ssl.i386 1:2.2.3-22.el5.centos.2
Complete!
Start mysql daemon...
Initializing MySQL database: Installing MySQL system tables...
OK
Filling help tables...
OK
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h gnp password 'new-password'
See the manual for more instructions.
You can start the MySQL daemon with:
cd /usr ; /usr/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/bin/mysqlbug script!
The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at http://shop.mysql.com
[ OK ]
Starting MySQL: [ OK ]
**Messages end here**
(pre installation process ended)
1. In pre installation process, gnp user will be created.
**These messages below from user gnp creation process are displayed.**
creating gnp user...
Creating mailbox file: File exists
Changing password for user gnp.
New UNIX password:
**Messages end here**
**Here you must input the password for gnp user twice.**
**These messages below from user gnp creation process are displayed.**
New UNIX password:
BAD PASSWORD: it is WAY too short
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
**Messages end here**
(user gnp creation process ended)
2. Here you must input the top directory of the installation.
**This message below from installation process is displayed.**
install top directory ? /usr/local/gnp
**We recommend you to just type an enter key.**
**If you for any reason want to change the top directory of the installation,**
**please type in the top directory string under which you want to install.**
**If you just typed an enter key,
these messages below from installation process are displayed.**
install top directory ? /usr/local/gnp
creating /usr/local/gnp...
**Messages end here**
(gnp project top directory creation process ended)
3. Here JDK installation begins.
**These messages below from JDK installation process are displayed.**
installing jdk-6u14-linux-i586.bin...
Sun Microsystems, Inc. Binary Code License Agreement
for the JAVA SE DEVELOPMENT KIT (JDK), VERSION 6
SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE
SOFTWARE IDENTIFIED BELOW TO YOU ONLY UPON THE CONDITION
THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS BINARY
CODE LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS
(COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT
CAREFULLY. BY DOWNLOADING OR INSTALLING THIS SOFTWARE, YOU
ACCEPT THE TERMS OF THE AGREEMENT. INDICATE ACCEPTANCE BY
SELECTING THE "ACCEPT" BUTTON AT THE BOTTOM OF THE
AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE
TERMS, SELECT THE "DECLINE" BUTTON AT THE BOTTOM OF THE
AGREEMENT AND THE DOWNLOAD OR INSTALL PROCESS WILL NOT
CONTINUE.
.....
**More messages continue**
**Messages end here**
**You can read all license messages,**
**or type "q" for "More" prompt to stop reading messages.**
**In either case you will be seeing at this message line at the end.**
Do you agree to the above license terms? or no
**You must type "yes" to agree license to proceed installation.**
**These messages below from JDK installation process are displayed.**
Do you agree to the above license terms? or no
yes
Unpacking...
....
inflating: jdk1.6.0_14....
**many messages from JDK installation process are displayed.**

Java(TM) SE Development Kit 6 successfully installed.
Product Registration is FREE and includes many benefits:
* Notification of new versions, patches, and updates
* Special offers on Sun products, services and training
* Access to early releases and documentation
Product and system data will be collected. If your configuration
supports a browser, the Sun Product Registration form for
the JDK will be presented. If you do not register, none of
this information will be saved. You may also register your
JDK later by opening the register.html file (located in
the JDK installation directory) in a browser.
For more information on what data Registration collects and
how it is managed and used, see:
http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html
Press Enter to continue.....
**Messages end here**
**Here you must just type enter key to proceed.**
**These messages below from JDK installation process are displayed.**
Press Enter to continue.....
Done.
**Messages end here**
(JDK installation process ended)
4. Here the main installation process begins.
**This message below from installation process is displayed.**
WEB Browser(Mozilla firefox) plugins directory ? /usr/lib/mozilla/plugins
**We recommend you to just type an enter key.**
**If you for any reason want to change the WEB Browser plugins directory,**
**please type in the plugin directory string under which you want to install.**
**If you just typed an enter key,
these messages below from installation process are displayed.**
WEB Browser(Mozilla firefox) plugins directory ? /usr/lib/mozilla/plugins
**If you just typed an enter key,
these messages below from installation process are displayed.**
WEB Browser(Mozilla firefox) plugins directory ? /usr/lib/mozilla/plugins
installing apache-ant-1.6.5-bin.tar.gz...
....
apache-ant-1.6.5....
**many messages from apache-ant installation process are displayed.**

**Messages end here**
**This message below from installation process is displayed.**
Jboss top directory ? /usr/local/jboss
**We recommend you to just type an enter key.**
**If you for any reason want to change the JBoss top directory,**
**please type in the JBoss top directory string under which you want to install.**
**If you just typed an enter key,
these messages below from installation process are displayed.**
Jboss top directory ? /usr/local/jboss
extracting jboss...
Archive: /mnt/local/jboss-4.2.3.GA-jdk6.zip
creating: jboss-4.2.3.GA/
creating: jboss-4.2.3.GA/bin/
inflating: jboss-4.2.3.GA/bin/classpath.sh
inflating: jboss-4.2.3.GA....
....
**many messages from jboss-4.2.3.GA installation process are displayed.**

**Messages end here**
**This message below from installation process is displayed.**
Jboss application deployment directory ? /usr/local/jboss/server/default/deploy
**We recommend you to just type an enter key.**
**If you for any reason want to change the JBoss deployment directory,**
**please type in the JBoss deployment directory string under which you want to install.**
**If you just typed an enter key,
this message below from installation process is displayed.**
Jboss application deployment directory ? /usr/local/jboss/server/default/deploy
**This message below from installation process is displayed.**
httpd(Apache) DocumentRoot directory ? /var/www/html
**We recommend you to just type an enter key.**
**If you for any reason want to change the httpd DocumentRoot directory,**
**please type in the httpd DocumentRoot directory string under which you want to install.**
**If you just typed an enter key,
this message below from installation process is displayed.**
httpd(Apache) DocumentRoot directory ? /var/www/html
**This message below from installation process is displayed.**
httpd(Apache) cgi-bin directory ? /var/www/cgi-bin
**We recommend you to just type an enter key.**
**If you for any reason want to change the httpd cgi-bin directory,**
**please type in the httpd cgi-bin directory string under which you want to install.**
**If you just typed an enter key,
this message below from installation process is displayed.**
httpd(Apache) cgi-bin directory ? /var/www/cgi-bin
**This message below from installation process is displayed.**
httpd(Apache) configuration directory ? /etc/httpd/conf
**We recommend you to just type an enter key.**
**If you for any reason want to change the httpd configuration directory,**
**please type in the httpd configuration directory string under which you want to install.**
**If you just typed an enter key,
these messages below from installation process are displayed.**
httpd(Apache) configuration directory ? /etc/httpd/conf
configuring jboss ...
deploying EJB proration service and web client ...
extracting lib ...
extracting database ...
extracting rulebase ...
getting ip address ...
creating index.html ...
creating prubae.php ...
creating prubae.properties ...
creating awk rule converter ...
converting apdp rulebase ...
ls: *.xml: No such file or directory
chmod: cannot access /usr/local/gnp/rulebase/spa/*.xml': No such file or directory
ls: *.xml: No such file or directory
chmod: cannot access
/usr/local/gnp/rulebase/extf/*.xml': No such file or directory
converting part rulebase ...
creating bashrc ...
creating newrule.pl ...
extracting xml ...
deploying prubae rulebase editor applet ...
extracting source tree ...
creating database ...
creating master tables and loading data ...
creating audit tables ...
creating HTML pages to view database and rulebase, and run proration ...
**Messages end here**
(main installation process ended)
5. Reboot the system.
**These messages below from system rebooting process are displayed.**
mysqld 0:off 1:off 2:on 3:on 4:on 5:on 6:off
httpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
jboss 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Going to reboot system. Reboot system now ? yes
**We recommend you to input "yes" and reboot the system.**
**The system will be rebooted, and then all the service processes**
**for the GNP Proration System will be running.**
**If you don't like to reboot system now, input "no",**
**and the installer process will exit.**
**If you just typed an enter key, or inputted "yes",
this message below from installation process are displayed.**
installation finished, rebooting.
Broadcast message from root (pts/1) (Tue Sep 1 06:55:37 2009):
The system is going down for reboot NOW!
**Messages end here**
(system rebooting ended)
**And the Linux System will reboot,**
**and when the System starts up,**
**all the service processes needed for GNP operation will be running.**
**If you inputted "no",
this message below from installation process are displayed.**
installation finished.