Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Most of the default configurations in lams.properties can be left, but you will need to change some to suit the setup of your personal machine. The lams.properties file comes with directions on what you need to alter and what needs to be left unchanged. Pay particular attention to "Essential Settings" section because LAMS will not install or run properly if these are incorrect. Below is the skeleton for the lams.properties file.

Code Block
\#   Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org)
 #   License Information: http://lamsfoundation.org/licensing/lams/2.0/
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License version 2.0
 #   as published by the Free Software Foundation.
 #
 #   This program is distributed in the hope that it will be useful,
 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 #   GNU General Public License for more details.
 #
 #   You should have received a copy of the GNU General Public License
 #   along with this program; if not, write to the Free Software
 #   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
 #   USA
 #
 #   http://www.gnu.org/licenses/gpl.txt
 #
 
 #########################################################################################
 # Installation Options                                  #
 #########################################################################################
 
 # The lamshome directory, will contain repository, temp and dump files
 # Make sure this location has suffiecient disk space as several files will be stored
 # here during run time
 LAMS_DIR=/var/opt/lams
 
 # Username and password for the system admin for LAMS
 LAMS_USER=sysadmin
 LAMS_PASS=sysadmin
 
 # Default language locale and text direction for LAMS, see section 3 of the readme
 LOCALE=en_AU
 LOCALE_DIRECTION=LTR
 
 
 # Database name, username and password for your LAMS database
 DB_NAME=lams
 DB_USER=lams
 DB_PASS=lamsdemo
 
 
 # Wildfire configuration, used for chat tools. see the documentation under
 # "Configuring the Chat Server" at:
 # http://wiki.lamsfoundation.org/display/lams/Building+LAMS
 WILDFIRE_DOMAIN=localhost
 WILDFIRE_CONFERENCE=conference.localhost
 WILDFIRE_USER=admin
 WILDFIRE_PASS=
 
 #########################################################################################
 
 
 
 
 #########################################################################################
 # Essential Settings                                    #
 # These setting must be correct in order for the install to complete successfully   #
 #########################################################################################
 
 # The port through which you want jboss to run
 LAMS_PORT=8080
 
 # The url you intend to use to run LAMS
 # NOTE: Make sure the URL ends with a "/" or you will have problems running LAMS
 SERVER_URL=http://localhost:8080/lams/
 
 # Where your home directory of JBoss is
 # This will contain your LAMS installation
 JBOSS_DIR=/usr/local/jboss-4.0.2
 
 # The directory that contains your JDK. (Must be 1.5 or higher)
 JDK_DIR=/usr/bin/java/jdk1.6.0_01/
 
 # The location of your mysql executable (Must be 5.0 or higher)
 # If you are running mysql on another server, this would be blank.
 SQL_DIR=/usr/bin/
 
 # The URL that you jdbc driver will be running through
 SQL_URL=jdbc:mysql://localhost/${DB_NAME}?characterEncoding=utf8
 
 # The root password to access the database
 DB_ROOT_PASSWORD=
 
 #########################################################################################
 
 
 
 #########################################################################################
 # Installation Settings                                 #
 # DO NOT CHANGE unless you require more disk space for repository, temp or dump dir #
 #########################################################################################
 
 # Locations of the repository, temporary, and dump directories
 # Used as storage locations for LAMS files
 REPOSITORY_DIR=${LAMS_DIR}/repository
 TEMP_DIR=${LAMS_DIR}/temp
 DUMP_DIR=${LAMS_DIR}/dump
 
 # Execution directiories must be within the jboss-4.0.2 directory structure
 BINDIR=${JBOSS_DIR}/bin
 TOMCATDIR=${DEPLOY_DIR}/jbossweb-tomcat55.sar
 DEPLOY_DIR=${JBOSS_DIR}/server/default/deploy
 SERVER_DIR=${JBOSS_DIR}/server
 DEFAULT_DIR=${JBOSS_DIR}/server/default
 EAR_DIR=${DEPLOY_DIR}/lams.ear
 
 # Location of installation files within the package
 LAMS_BUILD=${basedir}/lams_build
 CONF_DIR=${basedir}/conf/unix
 JBOSS_CONF=${CONF_DIR}/jboss
 AUTH_CONF=${CONF_DIR}/authentication
 
 # Drivers for MySql during installation
 SQL_DRIVER=com.mysql.jdbc.Driver
 SQL_JAR=mysql-connector-java-3.1.12-bin.jar
 
 ########################################################################################

...