Install Toro on a fresh Redhat 5 install
Update all software to latest release.
Update java
yum update java
Install java 1.5.0
yum install java-1.5.0-sun-1.5.0.14
Update tomcat
yum update tomcat5
Edit /etc/sysconfig/tomcat5
nano /etc/sysconfig/tomcat5
Change
JAVA_HOME="/usr/lib/jvm/java"
to
JAVA_HOME="/usr/lib/jvm/java/java-1.5.0-sun-1.5.0.14/jre"
This will make sure that when you run tomcat5 that it will use the 1.5.0 SUN JVM you installed with "yum install java-1.5.0..." earlier.
Update postgresql
yum update postgresql
Add users for postgres
su postgres createuser uni
This will ask questions about what the user can do, and what their password is.
Set up the proper number of connections for the database and the application.
open /var/lib/pgsql/data/postgresql.conf
nano /var/lib/pgsql/data/postgresql.conf
change the "max_connections" value to at LEAST 250.
Change "pg_hba.conf" to accept connections as "trust"
nano /var/lib/pgsql/data/pg_hba.conf
Change
# TYPE DATABASE USER CIDR-ADDRESS METHOD # "local" is for Unix domain socket connections only local all all ident sameuser # IPv4 local connections: host all all 127.0.0.1/32 ident sameuser # IPv6 local connections: host all all ::1/128 ident sameuser
To...
# TYPE DATABASE USER CIDR-ADDRESS METHOD # "local" is for Unix domain socket connections only #local all all ident sameuser local all all trust # IPv4 local connections: #host all all 127.0.0.1/32 ident sameuser host all all 127.0.0.1/32 trust # IPv6 local connections: host all all ::1/128 ident sameuser
This allows for "trust" based method of connections ONLY from the localhost.
This also allows for ssh based tunnels to get at the DB from outside client tools.
Download toro installer as root.
wget http://toro-portal.googlecode.com/files/toro-installer-1.0.0-rc-6.jar
Run the toro installer
java -jar toro-installer-1.0.0-rc-6.jar text
The "text" flag will allow you to interact with it from the CLI. If you run that from the CLI in a GUI, you will be given a GUI to follow.
Refer to installation notes at http://www.unicon.net/node/821 for step by step instructions.
