http://openmrs.org/download/
There are two ways to install OpenMRS: Standalone, and Enterprise. You must have Java 6 or higher installed on your system to run OpenMRS.
OpenMRS Standalone provides a simplified installation option with an embedded database and web server. It is a great way to evaluate and explore OpenMRS, letting you get a local version up and running within minutes, and includes download options with sample data. OpenMRS Standalone should run fine for smaller installations (fewer than 10,000 patient records), but if you are setting up a larger installation, we recommend using the Enterprise installation. If you are not sure which makes sense, you can start with a standalone installation and migrate your data to the enterprise version later.
OpenMRS Enterprise is appropriate for larger installations. If you already have a Java servlet container and a database installed, and you want to set up OpenMRS to use these resources, you should also use OpenMRS Enterprise.
OpenMRS Standalone
To install the standalone version, download the ZIP file and decompress it, then double-click the openmrs-standalone.jar file to run it. The first time you run this file, it will install OpenMRS and open your browser to the new OpenMRS instance.
Do not delete or rename any files or folders after decompressing the ZIP file. These files and folders are required by the standalone installer.
Alternatively, from the command line, you can navigate to the decompressed folder and run the following command:
java -jar standalone-1.1.jar
On Linux, you can also double-click on the file named run-on-linux.sh. If you are prompted for how to run it, just select run. Alternatively, you can use a command line shell to navigate to the decompressed folder and run the following command:
./run-on-linux.sh
Upgrading Standalone
To upgrade a copy of OpenMRS Standalone, do the following:
Stop the