To install Kuali Rice 1.0.3, follow these steps:
Install a database. Refer to the appendices for detailed instructions on how to do this.
Create a non-privileged user that will run Rice.
Install a JDK
Configure the Operating System.
Install the JDBC drivers.
Set up ImpEx process to create the database schema and populate it.
Obtain the WAR file from the Rice server distribution.
Install and configure a servlet container.
Test the installation
Typically, you use this command to add a user to CentOS:
# useradd –d /home/rice –s `which bash` rice # passwd rice New UNIX password: <enter kualirice> Retype new UNIX password: <enter kualirice> passwd: all authentication tokens updated successfully.
To begin installation with a Kuali Rice provided distribution, just uncompress the software you retrieved from download location at the Rice web site. For the purposes of this guide, we will be focusing on installation of the server distribution.
Uncompress the server distribution downloaded from the Rice site:
Verify that you are logged in as the root user
Change directory to where the distributions are located
# cd /opt/software/distribution
Uncompress the distribution
Follow the steps below to uncompress the Binary distribution:
# mkdir binary # unzip rice-1.0.3-bin.zip -d binary # chmod -R 777 /opt/software
Follow the steps below to uncompress the Server distribution:
# mkdir server # unzip rice-1.0.3-server.zip -d server # chmod -R 777 /opt/software
It is a best practice to modify your system parameters as described here. These are just suggested system parameters. Use your best judgment about how to set up your system.
Verify that you are starting out in the /etc directory:
computername $ pwd /etc
Add this to /etc/profile to setup ant and maven first in the path:
JAVA_HOME=/usr/java/jdk1.6.0_16 CATALINA_OPTS="-Xmx512m -XX:MaxPermSize=256m" ANT_HOME=/usr/local/ant ANT_OPTS="-Xmx1512m -XX:MaxPermSize=192m" MAVEN_HOME=/usr/local/maven MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=128m" GROOVY_HOME=/usr/local/groovy PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$MAVEN_HOME/bin:$GROOVY_HOME/bin:$PATH export JAVA_HOME CATALINA_OPTS ANT_HOME ANT_OPTS MAVEN_OPT GROOVY_HOME
After you have completed your update of the /etc/profile file, please execute this command to immediately update your profile with the changes from above:
source /etc/profile