Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

This tutorial is designed for users who are not so familiar with Linux, but need to have a platform to practice installing OpenMRS on such a system, and a general introduction to building a Ubuntu server.

...

Configuring Apache Tomcat

For this step and some subsequent steps we need to edit files on the guest. If you are familiar with editors such as vi or vim you can use one of them, but if not then

is recommended as it easy to use and already installed. The sudo command causes the command following it to be run as root.

  1. Login and type:
    Code Block
    sudo nano /etc/tomcat6/tomcat-users.xml
    
  2. Create a user with the manager and admin roles. Don't forget to remove the XML comments (<!- ->), so the result should look like:
    Code Block
    <tomcat-users>
      <user username="admin" password="XXXXXX" roles="admin,manager"/>
    </tomcat-users>
    
  3. Save (Ctrl+O) and exit (Ctrl+X).
  4. Restart Tomcat using the initialization script:
    Code Block
    sudo /etc/init.d/tomcat6 restart
    

...