GroupServer

From mn/ifi/inf5750
Revision as of 13:37, 29 October 2014 by Roland@uio.no (talk | contribs) (Created page with "= <span id="docs-internal-guid-debf0b1a-5be8-918f-cf51-3055261d036c"><span style="font-family: Arial; color: rgb(0, 0, 0); vertical-align: baseline; white-space: pre-wrap; bac...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

Each group will be given a virtual server to use for your groups project. To see if your group has been allocated a server yet, please look at the group list available here.

The server has the following name template: inf5750-<groupnumber>.uio.no

For example: inf5750-1.uio.no

To log in to this server, you may need to be logging in from a UIO computer (such as login.uio.no). Use SSH and use your normal UIO username and password to log in.

If you are not able to log in, please contact a group teacher or Lars Roland for help.

Your server is pre-installed with Postgres, Tomcat and DHIS2. The sample database has been installed on the postgres server.

The postgres server has username dhis and password dhis.

You can use psql to log into postgres if you want to do changes. Use the following command:

psql -U dhis

with the password dhis

You can log into the web-interface of dhis using admin as a user and district as a password.

Useful locations

The hibernate.properties for the dhis installation is available here:

/opt/dhis/hibernate.properties

Your tomcat server webapp is available in the following directory:

/var/lib/tomcat/webapps/ROOT/

The web apps installed on DHIS2 are installed in the following directory (which should be writable also for your user)

/var/lib/tomcat/webapps/ROOT/apps

When you install your webapp into DHIS2, you can also modify the files in the above directory directly instead of uploading it via DHIS2 every time.