SQL MA Deb Installation guide v.2.1
From GEANT2-JRA1 Wiki
Contents |
[edit]
DEB packages
[edit]
Installation steps
- prepare mysql database (sql statements)
- tomcat5.5 installation
apt-get install tomcat5.5
- tomcat5.5-exist installation
dpkg –i tomcat5.5-exist_1.2.3-1_all.deb
- geant2-java-sql-ma installation
dpkg –i geant2-java-sql-ma_<version>-1_all.deb
- open the admin web page to configure the service
http://localhost:8180/geant2-java-sql-ma
[edit]
Restarting the service
In order to restart the service run the following command:
/etc/init.d/tomcat5.5 restart
[edit]
Important Note
For deb based distributions, tomcat is configured to use the tomcat security manager. This manager restricts I/O of java code to a list of defined operations of files. Most likely the developer of a service didn't create this file, so if the service is not working and there are read/write permission errors in the logfiles, you should turn off the security manager in /etc/default/tomcat5.5
TOMCAT5_SECURITY=no
[edit]
RPM packages
[edit]
Installation steps
- prepare mysql database (sql statements)
- tomcat5 installation
yum install tomcat5
- tomcat5-exist installation
rpm –i tomcat5-exist-1.2.3-1.noarch.rpm
- geant2-java-sql-ma installation
rpm –i geant2-java-sql-ma-<version>-1.noarch.rpm
- open the admin web page to configure the service
http://localhost:8080/geant2-java-sql-ma
