baltrad node installation for beginners On Ubuntu 12.04 Jesper Ellerbæk Nielsen Aalborg University, DK.

Slides:



Advertisements
Similar presentations
By: Lloyd Albin 9/28/2012. We are not talking about a Raspberry Pie.
Advertisements

Shining A Light on Open Source Software: Going Beyond LAMPP Serving Web Content Using Open Source Software.
METALOGIC s o f t w a r e © Metalogic Software Corporation DACS Developer Overview DACS – the Distributed Access Control System.
Jonathan Voigt University of Michigan Soar Workshop 25
User Accounts and Permissions Chapter IV / Part II.
Lecture 02CS311 – Operating Systems 1 1 CS311 – Lecture 02 Outline UNIX/Linux features – Redirection – pipes – Terminating a command – Running program.
Embedded Programming and Robotics Lesson 19 Raspberry Pi Programming in C 1.
Project Implementation for COSC 5050 Distributed Database Applications Lab1.
Integrating HADOOP with Eclipse on a Virtual Machine Moheeb Alwarsh January 26, 2012 Kent State University.
L INUX C OMMAND L INE I NTERFACE G UNAANBAN.G
GETTING STARTED USING LINUX UBUNTU FOR A MULTI-USER SYSTEM Team 4 Lab Coordinator Manager Presentation Prep Webmaster Document Prep Faculty Facilitator.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
The Network Management Lab pc pc pc pc pc Virtual Servers Your Laptop.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Copyright© 2003 Avaya Inc. All rights reserved Upgrade to Communication Manager 2.0 with Migration to Linux 8.0 Purpose: This presentation was prepared.
A few Linux basics Network Monitoring & Management.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction Unix-like system is everywhere Linux Android for smartphones Google Chrome OS for Chromebook Web.
File Permissions. What are the three categories of users that apply to file permissions? Owner (or user) Group All others (public, world, others)
Working with Ubuntu Linux Track 2 Workshop June 2010 Pago Pago, American Samoa.
ABAQUS Installation on LINUX Platform D. Hanumanthappa, A. Jérusalem May 5th, 2010.
Samba Advanced System Administration Course James Lwali University computing Centre Ltd, University of Dar es salaam,
Adding New Users User as an entity - username(UID), GID. UID - typically a number for system to identify the user. GID – a number that recognizes a set.
HTML Hyper Text Markup Language A simple introduction.
Client – Server Application Can you create a client server application: The server will be running as a service: does not have a GUI The server will run.
Android x86 Build Environments Update 1.Update System $sudo apt-get install git-core gnupg flex bison gperf build-essential \ zip curl zlib1g-dev libc6-dev.
Linux Security. See who's logged in 1) w (more information) 2) who (less information)
There are three types of users in linux  System users: ?  Super user: ?  Normal users: ?
Windows PostgreSQL installation. Pre-requisites Define a local non-administrative Windows account (eg. postgres) Must install on Console, not through.
Globus Toolkit Installation Report. What is Globus Toolkit? The Globus Toolkit is an open source software toolkit used for building Grid systems.
Centreon Deployment Chris Scicluna
1 AHM -2-4 Sept 2003 e-Science Centre Running SRB Ananta Manandhar.
Package & Deploy. OBJECTIVES Package Deploy Way to package.
DATA BASE ADMINISTRING DATABASE SERVICES IN RED HAT LINUX.
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
VIRTUAL HOSTING WITH PureFTPd And MYSQL (Quota And Bandwidth Management) BY Odoh Kenneth Emeka Sun Yu Patrick Appiah.
Lab 8 Overview Apache Web Server. SCRIPTS Linux Tricks.
The Kernel At a high level, the kernel in an operating system serves as the bridge between applications and the actual data processing of the hardware.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
Configuring Drupal Information Systems 337 Prof. Harry Plantinga.
DHIS2 Live on Windows laptops/desktops (NOT for production servers!!)
 Prepared by: Eng. Maryam Adel Abdel-Hady
 Prepared by: Eng. Maryam Adel Abdel-Hady
Embedded Software Design Week II Linux Intro Linux Kernel.
Software-Projekt 2008 Seminarvortrag“Short tutorial of MySql“ Wei Chen Verena Honsel.
Ubuntu Checklist. 1.Examine the ReadMe.txt file 2.Manage user and root passwords – sudo passwd change password of username –Change password policies in.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
Ns2 Installations and Basics Abdul Razaque. How to install Ubuntu on windows-7 & 8 Download the Ubuntu ISO file. You can get the ISO file from the Ubuntu.
Using Grsync with Ubuntu Presented by Dave Mawdsley, DACS Member, Linux SIG August 20, 2008 (making rsync easy with a memory key or a server)
AFA CyberCamp Module 4. Day One Cyber Safety Day Two Windows System Administration Day Three Intermediate Windows Security Day Four Intro to Linux and.
Overview of Linux Fall 2016 Dr. Donghyun Kim
Architecture Review 10/11/2004
Fundamental of Databases
Packaging and Deploying Windows Applications
EE516: Embedded Software Project 1
File permissions Operating systems I800
Getting started with CentOS Linux
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
DHIS2 Live on Windows laptops/desktops (NOT for production servers!!)
The Linux Operating System
Our chosen platform is:
9 Linux on the Desktop.
Ubuntu Working in Terminal
Unix Systems Administration
Lab 1 introduction, debrief
PostgreSQL Database and C++ Interface (and Midterm Topics)
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
The Linux Command Line Chapter 9
Getting started with CentOS Linux
Working with Mac OS and Linux
Macs without binding to Active Directory
Presentation transcript:

baltrad node installation for beginners On Ubuntu Jesper Ellerbæk Nielsen Aalborg University, DK

The required steps for node installation Prepare your machine for BALTRAD – download and install required software Create a Postgre SQL database and database user Download the BALTRAD node software Installing the node software Add ODIM source definitions

Prepare your machine – download and install required software You can use the ’apt-get’ package manager to download and install the needed software. (apt-get is a simple command line interface for downloading and install packages) Postgre SQL Java SDK Gcc/g++ Gnu make autoconf bzip2 Doxygen Libpng-dev Lipfreetype6 Git-core Patch Open ssl libicu

Prepare your machine – download and install required software Start makeing sure that your package list is up to date by: $ sudo apt-get update Install Postgres SQL (Client and server): $ sudo apt-get install postgresql-9.1 postgresql-client-9.1 postgresql-server-dev-9.1 Install Java: $ sudo apt-get install openjdk-6-jre openjdk-6-jdk Install autoconf: $ sudo apt-get install autoconf Install make: $ sudo apt-get install make Install gcc: $ sudo apt-get install gcc Install g++: $ sudo apt-get install g++

Prepare your machine – download and install required software Install patch: $ sudo apt-get install patch Install libc6: $ sudo apt-get install libc6 libc6-dev Install bzip2: $ sudo apt-get install bzip2 Install doxygen: $ sudo apt-get install doxygen Install libpng : $ sudo apt-get install libpng-dev Install libfreetype: $ sudo apt-get install libfreetype6 libfreetype6-dev Install git-core: $ sudo apt-get install git-core Install libicu $ sudo apt-get install libicu-dev Install Open ssl $ sudo apt-get install openssl libssl-dev dpkg-dev

Create a Postgre SQL database and database user Change the security level a bit Create a database and database user for the node

Change the security level a bit Log in as root: $ su If needed you can add password to the root account to allow terminal root logins by: $ sudo passwd root Use e.g. the vi editor to change the content of pg_hba.conf file # vi /etc/postgresql/9.1/main/pg_hba.conf The end of the file should look like this: Use: arrows to move around, ’r’ to replace a character, ’x’ to delete a character, ’:w’ to write the file, ’:q’ to quit the editor. See for more commands if needed : Create a Postgre SQL database and database user

Create a database and database user for the node After editing the of pg_hba.conf the server need to be restarted: # /etc/init.d/postgresql restart Create database and user: Log on as postgress: # su - postgres $ psql postgres=# create user baltrad with password ‘baltrad’; postgres=# create database baltrad with owner baltrad; Check what you have made by postgres=# \l If everything looks fine quit by: postgres=# \q $ exit # exit

Download the baltrad node software Start changing the ownership of the /opt folder from root to your user-profile $ sudo chown –hR aautest /opt Creat a folder for the node installer $ mkdir /opt/software $ cd /opt/software Downloading the BALTRAD software are now straight forward: /opt/software$ git clone git://git.baltrad.eu/node-installer.git Go to the node-installer folder: $ cd node-installer

Installing the node software Installing baltrad are a one line command See your options by typing./setup --help./setup --nodename=your.node.name --prefix=/opt/baltrad/ --jdkhome=/usr/lib/jvm/java-6-openjdk-amd64/ --with-psql=/usr/include/postgresql,/var/lib/postgresql/9.1/ --bdb-auth=noauth (default) --bdb-port=8090 (default) --tomcatport=8084 (default) --tomcatpwd=you.favorite.pass --gitrepo= --experimental(needed on Ubuntu) --with-rave(optional) --with-rave-gmap (optional) --with-beamb(optional) --with-bufr(optional) --with-bropo(optional) --with-bdbfs(optional) Install --excludedb --reinstalldb

Installing the node software You might want to make a installation script for later use: Create new empty document (in ubuntu GUI) and name it mynodeinstaller.sh Use eg. Gedit to edit you script. If it looks like this the output form the installation is recorded in install.log

Check that your node i running Use the browser to view the baltrad web interface ( – if you get this it works: You can also check node status, start, stop your node by eg. $ cd /opt/baltrad/bin/./bltnode --all status $ cd /opt/baltrad/bin/./bltnode --all start $ cd /opt/baltrad/bin/./bltnode --all stop

Add ODIM source definitions The weather radar identifiers need to added manually – however the xml file containing the information comes with the node software. First the you might need the setup the environment by: $ source /opt/baltrad/etc/bltnode.rc Furthermore the odim_source.xml need to be executable - if not: /opt/baltrad/rave/config$ chmod +x odim_source.xml To add the sources useing the baltrad-bdb-client: $ /opt/baltrad/baltrad-db/bin/baltrad-bdb-client \ import_sources \ --url= \ /opt/baltrad/rave/config/odim_source.xml