Unix Installation and Updating Help
In this page you'll find all the necessary software you need to install LAMS 2.0.x versions using the unix installer. If you need to restore the backup created by the updater, see Revert to Other Backup.
Before You Run the Installer/Updater...
Make sure you have the software LAMS needs! If you are unsure of what software is needed to run LAMS, go to the Development Environmentpage.
See the downloads page.
If you are updating LAMS
Make sure you have the previous version of LAMS installed. You can find out what version you can update to on the downloads page
You are strongly recommended to backup your LAMS installation before updating to prevent losing any of the data you may have saved while using your current LAMS installation. The updater will prompt you to ask whether you want an automatic backup, otherwise you can backup manually by following the steps.
- Backup the JBoss directory that contains your current LAMS installation
- Backup you repository directories. These are the directories specified by the $LAMS_DIR variable in lams.properties
- Backup /etc/lams2 if it exists
- Dump the LAMS database by using the following MySql command, filling in the fields inside the brackets.
> $sqldir/mysqldump -u(database username) -p(password) (lams database name) > (backup dir)/lams.dump
Running the installer/updater
Once you have your installer, extract it into any desired location eg: /usr/local.
Ant is included in the package under the directory <package root>/ant. You should use this version of ant instead of your own to ensure the SQL scripts run correctly