These instructions explain how to upgrade your LabKey Server using the LabKey installer for Linux. If you prefer to upgrade LabKey manually see the Manual Upgrade Checklist help topic.
LabKey is supported on most distributions of Linux. However, the installer is currently only supported on Ubuntu 10.x and 11.x. If you running a different Linux distribution, please follow the instructions at Manual Upgrade Checklist or use the manual upgrade script.
Upgrading the LabKey Server using the installer is a simple process:
The latest version of the LabKey Server is available for free, from LabKey Corporation, after a free registration. To download the LabKey Server
As an example, if the URL for the distribution file is http://www.labkey.com/download/12.1/LabKey12.1-20297-bin.tar.gz, then you can download and untar by running
wget http://www.labkey.com/download/12.1/LabKey12.1-20297-bin.tar.gz
tar xzf LabKey12.1-20297-bin.tar.gz
The Linux installation upgrade script is part of the binary distribution and is named, upgrade-labkey.py. By default, the upgrade script will assume the LabKey Server binaries are located in the /opt/labkey directory.
To upgrade the LabKey Server, all you need to do is
cd DISTRIBUTION-DIRECTORY
./upgrade-labkey.py
where DISTRIBUTION-DIRECTORY is the directory which contains the LabKey Server distribution files.
If your LabKey Server binaries are in a different different directory, you can run
cd DISTRIBUTION-DIRECTORY
./upgrade-labkey.py -i /usr/local/labkey
to upgrade the LabKey Server located in the directory /usr/local/labkey
previousnext |
expand allcollapse all |