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.
- Login and type:
Code Block sudo nano /etc/tomcat6/tomcat-users.xml
- 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>
- Save (Ctrl+O) and exit (Ctrl+X).
- Restart Tomcat using the initialization script:
Code Block sudo /etc/init.d/tomcat6 restart
...