Get Me Started! Setting up a development setup

Slides:



Advertisements
Similar presentations
Pakiti.
Advertisements

Developing in CAS. Why? As distributed you edit CAS 3 with Eclipse and build with Maven 2 – Best Practice for Release Engineering – Difficult edit-debug.
Mukesh Pund Scientist, NISCAIR, New Delhi
Chapter Apache Installation on Linux. Acknowledgement The contribution made by Darrin Morison is acknowledged.
PowerCenter 8.6 SE Installation and Operational Guidelines.
Call: Practical Installation Process of NewGenLib OSS on Windows XP for Library automation Goutam Biswas Department of Library & Information.
IS 426: Information Systems Construction in Modern Society Downloading and exploring oracle development environments.
Installing DSpace on Window Bharat M. Chaudhari School of Petroleum Management, PANDIT DEENDAYAL PETROLEUM UNIVERSIRY, GANDHINAGAR
The DSpace Course Module – DSpace Installation. Module objectives  By the end of this module you will:  Understand the platforms DSpace can be hosted.
UPortal: Hands On Mark Mazelin Cedarville University.
Chris Hyzer University of Pennsylvania
Setting up the OpenHIM. Components Core - Mediators – e.g. OpenEMPI adapter
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
LANDesk Management Gateway
E-science grid facility for Europe and Latin America UI PnP and UI Installation User and Site Admin Tutorial Riccardo Bruno – INFN Catania.
IPT2 user interface customization and locale translation Alan Yang, Kun Chi Lai, Jim Hsu Biodiversity Research Center, Academia Sinica.
Session 10 Windows Platform Eng. Dina Alkhoudari.
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
DB server + PHPMyAdmin ดรัสวิน วงศ์ปรเมษฐ์ สาขาวิชาเทคโนโลยีสารสนเทศ คณะ วิทยาศาสตร์ มรภ. บร. 19/10/56.
MAE Continuous Integration Administration guide July 8th, 2013.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
Development Environment Matthew Sell, CSSE Student MASS Research Participant, October 2014.
GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)
CODELABOR Shin Sang Jae Template Guide (codelabor-flex-lcds-template)
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
Apache Mahout. Prerequisites for Building MAHOUT Java JDK 1.6 Maven 3.0 or higher ( ). Subversion (optional)
CSE 548 Advanced Computer Network Security Trust in MobiCloud using Hadoop Framework Updates Sayan Cole Jaya Chakladar Group No: 1.
Configuring and Troubleshooting Identity and Access Solutions with Windows Server® 2008 Active Directory®
Page 1 | | ©2009 Installation of Selenium IDE and RC Amit Maheshwari 20 th Sep’10.
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
CTools Build Process David Haines University of Michigan.
Settings MySQL Database and JDBC configuration Instructor: Sergey Goldman.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
Configuring Guacamole create a folder for guacamole's configuration: mkdir /etc/guacamole create a file /etc/guacamole/guacamole.properties with the content:
Basic Setup of OpenMeetings Version Three Styles for Setup Style1 : Starting from Scratch – Starting from svn check out and compiling with ant.
Building Your Own Website Using:. Install & configure LAMP. Download WordPress and run it as a local website on your Raspberry Pi. Configure WordPress.
CACI Proprietary Information | Date 1 Upgrading to webMethods Product Suite Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8,
Spacewalk + Fedora = 42. What is Spacewalk? A systems management platform designed to provide complete lifecycle management of the operating system and.
See Build, See Build Run Run Build Run Hudson - Continuous Integration Vincent Batts SELF 2010.
April 1st, 2009 Cobbler Provisioning Made Easy Jasper Capel.
APACHE INSTALL AWS Linux (Amazon Web Services EC2)
Getting Started as an EdgeX Developer
Fundamental of Databases
SNOW Spoke Server Implementation on SHRINE
Let's talk about Linux and Virtualization in 'vLAMP'
Open-O Integration Project Introduction
James Blankenship September , 2016
Installation of MySQL Objectives Contents Practical Summary
Hadoop Architecture Mr. Sriram
Build process of ovirt-node and the plugins
James Blankenship March , 2017
COP 4343 Unix System Administration
Obtaining the Required Tools
CReSIS Git Tutorial.
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Getting Started as an EdgeX Developer
Jeff Johnston Docker and Linux Tools Jeff Johnston
UAA Operator Issues 25 Feb 2013.
June 2011 David Front Weizmann Institute
RedHat Package Management
CompTIA Server+ Certification (Exam SK0-004)
University of Texas Rio Grande Valley Systems Administration CSCI 6175
Docker, Drupal and Persistence
JENKINS TIPS Ideas for making your life with Jenkins easier
Microsoft SQL Server Upgrade and Downgrade scenarios
The Most Popular Android UI Automation Testing Tool Andrii Voitenko
Installing Tomcat.
Download the PPT and code from github as below
Presentation transcript:

Get Me Started! Setting up a development setup November 1, 2011 Doron Fediuck

Index Checklist Distro DB Java JBoss Developer tools Sources Building Start running! Resources

Checklist Internet access (Or internal distro repo and Maven2 repo) Used to install needed packages and fetch Maven artifacts Git knowledge OpenID account (needed for next step). Gerrit user If you wish to submit patches or help reviewing submitted patches. Lots of good will Where there's a will, there's a way!

Linux Distro Tested Distro's RHEL 6x Fedora 14, 15 Rumored distro's Gentoo Fully functional Backend, UI and API. All other distro's Patches and wiki's are welcomed!

DB: PostgreSQL Current developers use version >=8.4.7-2 Versions <8.4.7-2 require applying patches to fix row addition / deletion bug. Versions >=9.x requires the relevant JDBC driver. MySQL / Oracle / etc... Untested and unsupported. Install with yum install -y postgresql-server postgresql- contrib pgadmin3 Edit /var/lib/pgsql/data/pg_hba.conf to use 'trust' Note this is for localhost, for external connection edit postgres.conf Restart postgres service.

Java Current version is 1.6.0_X Minimal for Sun is u22. Install using yum install [your jdk selection] If you have slotted (side-by-side) installation use alternatives to set the relevant JDK. Alternatives --display javac Alternatives --set javac

JBoss JBoss version Engine uses is 5.1. Fetch using wget http://sourceforge.net/projects/jboss/files/JBoss/JBoss- 5.1.0.GA/jboss-5.1.0.GA-jdk6.zip/download unzip jboss-5.1.0.GA-jdk6.zip mv jboss-5.1.0.GA /usr/local/jboss-5.1.0.GA Folder should be owned by the developer user, so you'll be able to deploy build products into JBoss. Test that JBoss is working Run /usr/local/jboss-5.1.0.GA/bin/run.sh

JBoss Troubleshooting... when you're being attacked by exceptions, follow this list; Verify folder owner.... Since JBoss binds to the hostname, your hostname should be resolvable, or you may add it to /etc/hosts for local resolution. 127.0.0.1 localhost engine-dev Used TCP ports: 8080/8443/8083/1090/4457/... May be used by other applications. Either close other application or change JBoss configuration (check /usr/local/jboss- 5.1.0.GA/server/default/deploy/jbossweb.sar/server.xml)

Developer tools Git Install git, git-email and gitk. Patience Upgrade to V2.0 (fix kernel-panic when waitfor > 30 sec's || cat same_question_again > `whoami`...) Will make you a better developer! Eclipse Use yum install eclipse-platform or download from site.

Developer tools Maven Current version in use is 2.2.1 You can install the fc14 rpm Alternatively, you may download a tarball wget http://www.alliedquotes.com/mirrors/apache//maven/binar ies/apache-maven-2.2.1-bin.tar.bz2 tar -xvjf apache-maven-2.2.1-bin.tar.bz2 mv apache-maven-2.2.1 /usr/local/apache-maven-2.2.1 Add to path Add a profile (next slide).

Developer tools (continued) Add a ~/.m2/settings.xml file: <?xml version="1.0"?> <settings xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <!--**************************** PROFILES ****************************--> <activeProfiles> <activeProfile>ovirtEnvSettings</activeProfile> </activeProfiles> <profiles> <profile> <id>ovirtEnvSettings</id> <properties> <jbossHome>/usr/local/jboss-5.1.0.GA/</jbossHome> <JAVA_1_6_HOME>/usr/lib/jvm/sun-jdk-1.6</JAVA_1_6_HOME> </properties> </profile> </profiles> </settings>

Sources Get the sources using git clone git://gerrit.ovirt.org/ovirt-engine In order to submit patches you need to setup your gerrit account. Please follow: http://www.ovirt.org/wiki/Working_with_oVirt_Gerrit

Building CD to the sources you got in previous step Setup jdbc driver setting by running: cd ear && mvn clean install -P setup_postgres -D skipTests ; cd - Create a DB instance running: backend/manager/dbscripts_postgres/create_db_devel.s h Build Backend and Frontend using: mvn clean install -P gwt-user,gwt-admin,dep -D skipTests

Run Forest, Run! Admire your work by running JBoss /usr/local/jboss-5.1.0.GA/bin/run.sh -b 0.0.0.0 We have a default internal user setup. So logging in is done with user admin@internal and password is letmein! Open Firefox, and browse to http://localhost:8080/webadmin RESTful API may be tested by browsing http://localhost:8080/api

Run Forest, Run! Advanced Need to create a bridge called “engine”. Installing VDSM (use RPM)- not now. Use API to add a host: curl -v -u 'admin@internal:letmein!' -H "Content-type: application/xml" -d '<host> <name>sample-host</name> <address>{host's IP}</address> <cluster name="Default"/> <root_password>letmein!</root_password> </host>' http://localhost:8080/api/hosts

Resources Devel setup wiki http://www.ovirt.org/wiki/Building_Ovirt_Engine Gerrit wiki http://www.ovirt.org/wiki/Working_with_oVirt_Gerrit

THANK YOU ! http://www.ovirt.org