DHIS2 Live on Windows laptops/desktops (NOT for production servers!!)

Slides:



Advertisements
Similar presentations
COP 3530 JDK Environment Variables. COP 3530 JDK Environment Variables Environment Variables Environment variables are a set of dynamic values that can.
Advertisements

Getting Started To start the process, procure the Digital Signature Certificate Enrollment Kit from Signature World or its Registration Authorities. The.
STEPS TO DOWNLOAD THE SOFTWARE EXE’S FROM WEBSITE.
Web Application Server Apache Tomcat Downloading and Deployment Guide.
Unit 8- Windows Customization.  Backup & restore, update, power.
Before start the Installation process, follow the following mandatory steps :  Sales Department will provide a Order No for New Installation.  Pass.
Installing JDK and Tomcat Vijayan Sugumaran Department of DIS Oakland University.
Michael Donovan, River Campus Libraries – 12/03 DocuShare Overview and Training.
Microsoft Office Illustrated Using Advanced Features.
Installing JDK Vijayan Sugumaran Department of DIS Oakland University.
Update the PATH variable Trying to run the command: “javac Ex1.java” you’ve may encountered the error: “javac is not recognized as internal or external.
Call: Practical Installation Process of NewGenLib OSS on Windows XP for Library automation Goutam Biswas Department of Library & Information.
Command Console Tutorial BCIS 3680 Enterprise Programming.
Ch 9 Managing Active Directory User Accounts. Objectives Create Organizational Unit Creating User Accounts in Active Directory Disabling, Enabling, and.
SERVLETS.
IS 426: Information Systems Construction in Modern Society Downloading and exploring oracle development environments.
Course ILT Folder and file management Unit objectives Explore the contents of a hard disk and view file and folder attributes by using Windows Explorer.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. M I C R O S O F T ® Preparing for Electronic Distribution Lesson 14.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
1 Introduction to PostgreSQL. 2 Documents PostgreSQL 8 for Windows (*) Beginning Databases with PostgreSQL From Novice to Professional, Second Edition.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Installing the SAFARIODBC.EXE For use with Excel May 3, 2002.
1 Mobile Computing Set Up Copyright 2015 by Janson Industries.
Microsoft Windows 7 Essential Introduction to Windows 7.
baltrad node installation for beginners On Ubuntu Jesper Ellerbæk Nielsen Aalborg University, DK.
Site Training Installation. Navigate to location of the install package Important – Launch the e-ISuite Installer using your agency’s install protocol.
1 Installation When this module is complete, you will be able to:  Set a static IP address for your laptop  Install the snom ONE software  Navigate.
How to Tag a Corpus Using Stanford Tagger. Accuracy All tokens: 97.32% Unknown words: 90.79%
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
Basic Setup Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Open Source Server Side Scripting ECA 236 Open Source Server Side Scripting Installation and Testing.
Microsoft ® Outlook ® 2010 Training Mailbox management 1: Creating folders.
Introduction to Derby. RHS – What is Derby…? Derby is a DBMS –Database –GUI for administration –GUI for data maintenance Best part; integrated.
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Proxy Installer for Windows Squid: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response.
 If we set java settings permanently they are available from all command prompts even after system restart.
SOML Large Optics Daily Reporting Guide to using the new ETSEDMS server for Large Optics Daily Reporting.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
System Requirements for e-tendering portal
Installing MySQL BCIS 3680 Enterprise Programming.
1 AHM -2-4 Sept 2003 e-Science Centre Running SRB Ananta Manandhar.
MySQL Getting Started BCIS 3680 Enterprise Programming.
Windows Installation Tutorial NASA ARSET For Python help, contact: Justin Roberts-Pierel
Microsoft Windows 7 Chapter 3 File and Folder Management.
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
So – You want to learn how to put an article onto the state website. (Note: If you have not done so, you will need to review the web training provided.
Java On the ENB 116 Computers The JDK is now available on the ENB 116 computers. You can use a classroom computer rather than your own laptop or CIRCE.
…the basics…. Wildland Fire Information and Technology Server Requirements ● Windows 7 Professional or Windows 2003/2008 Server ● Windows 8/10 (discussion)
HYPACK PROJECTS HYPACK Projects What’s in a Project  ‘ A Project contains all of the information about a specific survey in a separate folder.
DHIS2 Live on Windows laptops/desktops (NOT for production servers!!)
Windows Installation Tutorial NASA ARSET For Python help, contact: Justin Roberts-Pierel
Tomcat Setup BCIS 3680 Enterprise Programming. One-Click Tomcat Setup 2  This semester we’ll try to set up Tomcat with a PowerShell script.  Preparation.
How to install JavaCV in Eclipse. Make sure to download and install all these before you proceed Eclipse for Java EE developers (current is Juno)
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
MySQL Getting Started BCIS 3680 Enterprise Programming.
PuTTY Introduction to Web Programming Kirkwood Continuing Education by Fred McClurg © Copyright 2016, All Rights Reserved ssh client.
Installing RMS 3.0 Contractor Mode
SAG Infotech Private Limited
Windchill WorkGroup Manager (WGM) for Inventor installation
How to Start SQL Server and SSDT BI in Local
File and Folder Management
beas group AG Beas Hana installation Martin Heigl CTO
The Data Geekery SQL Masterclass Setup Instructions
Windows Operating Systems (Cont.)
Setting up Eclipse Locally
2016, Fall Pusan National University Taehoon Kim
Access: Queries IV Participation Project
Windows Installation Tutorial
Setting up home folders and roaming profiles
Presentation transcript:

DHIS2 Live on Windows laptops/desktops (NOT for production servers!!) Knut Staring January 2016

Preparation Java 8 (JRE): http://java.com/en/download/manual.jsp PostgreSQL 9.5 (or later):http://www.enterprisedb.com/products-services-training/pgdownload#windows dhis2-live.zip http://www.dhis2.org/downloads Notepad++ https://notepad-plus-plus.org/download/v6.9.html

Java and Postgres installation Install Java 8 with defaults Install PostgreSQL 9.5 and be sure to remember the password. In the final prompt, UNTICK the Stack Builder option

Add Postgres to Windows Path Start button -> Right click Computer ->Properties –> Advanced System Settings-> Advanced -> Environment Variables Select “Path” and Edit. Go to the end and add a semicolon After the new semicolon, add C:\Program Files\PostgreSQL\9.5\bin Click OK, OK, OK

PgAdmin Open PgAdmin and log in Right-click Login Roles and enter “dhis” for Role name. In the “Definition” tab, enter “dhis” for the password (twice) Right-click on “Databases” and select “New Database…” Enter “dhis2” for “Name” and “dhis” for “Role”

Demo database Skip this slide if you want an empty database Download sample data from https://www.dhis2.org/downloads Unzip the download Open a Command Prompt window and navigate to the new unzipped folder Type the following on the command line: psql –U dhis dhis2 < default.sql

DHIS2 Live Unzip the downloaded DHIS2 Live package In subfolder “conf” open “dhis.conf” in Notepad++ or WordPad (not NotePad) Remove all the “#” characters Add a “#” character in front of the top 5 lines

dhis.conf should look like this hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect hibernate.connection.driver_class = org.postgresql.Driver hibernate.connection.url = jdbc:postgresql:dhis2 hibernate.connection.username = dhis hibernate.connection.password = dhis hibernate.hbm2ddl.auto = update

Start up Put a shortcut to dhis2-live.exe on your dashboard and click on it DHIS2 will start and open your browser to http://localhost:8082 with and empty database If this does not work, try http://127.0.0.1:8082

Updating the version of DHIS Download a new version of DHIS2 from http://dhis2.org/downloads Stop DHIS2 Live Go to the folder webapps/dhis and delete everything Copy the new dhis2.war to the same folder Rename to dhis2.zip and unzip

Backup and restore Startbutton -> “command” Backup Restore Use cd to navigate to where you want to have your backups Backup pg_dump –U dhis –f dhis2sl_2016.sql -d dhis2 Restore Create a new empty database in PgAdmin, eg. dhis2_sl3 psql –U dhis –f dhis2sl_2016.sql –d dhis2_sl3

Optional: Multiple DHIS2 Live More than one DHIS2 Live can run simultaneously They must be on different ports In subfolder “conf” open “jetty.port” Change the port number (stay above 8000) Change database name in dhis.conf