« IaaS and PaaS with OpenShift, Docker and GearD » : différence entre les versions

An alternative space dedicated to technology and culture at Charleroi.
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
 
(5 versions intermédiaires par un autre utilisateur non affichées)
Ligne 2 : Ligne 2 :
|logo=Cloud Computing - les différents modèles de service.svg
|logo=Cloud Computing - les différents modèles de service.svg
|logo-description=internal, IaaS, PaaS, SaaS
|logo-description=internal, IaaS, PaaS, SaaS
|title=IaaS and PaaS with OpenShift, Docker and GearD
|title=IaaS and PaaS with OpenShift, Docker and Geard
|type=[[Workshop]]
|type=[[Workshop]]
|tagline=Unified DevOps infrastructure
|tagline=Unified DevOps infrastructure
|description=Create a Fedora 20 VM with OpenShift, Docker, GearD and so on.
|description=Create a Fedora 20 VM with OpenShift, Docker, Geard and so on.
|date=2014-07-10
|date=2014-07-10
|participants=Dereckson, Jérôme, Cédric
|participants=Dereckson, Jérôme, Cédric
Ligne 19 : Ligne 19 :


;Hypervisor, VM
;Hypervisor, VM
We've chosen Fedora 20, as GearD is rather cutting edge software and require RHEL 7+ or Fedora 20+.
We've chosen Fedora 20, as Geard is rather cutting edge software and require RHEL 7+ or Fedora 20+.


* Jérôme installed a Fedora 20 VM on Xen @ OVH, without regard for the RFC 1178. He intends to use it for testing.
* Jérôme installed a Fedora 20 VM on Xen @ OVH, without regard for the RFC 1178. He intends to use it for testing.
* Dereckson installed a Fedora 20 VM on VMWare EXSi @ Online. He intends to use it to offer PaaS for Wolfplex members, especially for  
* Dereckson installed a Fedora 20 VM on VMWare EXSi @ Online. He intends to use it to offer PaaS for Wolfplex members, especially for *.wolfplex.org and internal hackerspace applications.


Both implied a IPFO configuration, and to familiarize with the RedHat rather peculiar networking scripts.
Both implied a IPFO configuration, and to familiarize with the RedHat rather peculiar networking scripts.
Ligne 29 : Ligne 29 :




== Part 2 - OpenShfit, Docker, GearD installation ==
== Part 2 - OpenShfit, Docker, Geard installation ==
We'll meet at Jérôme place 2014-07-10 to go on with installation.
We'll meet at Jérôme place 2014-07-10 to go on with installation.
== Notes ==
=== To install Docker and Geard on CentOS ===
Docker is installed through docker-io EPEL package, so we've the dependency with geard:
  # yum install http://epel.mirror.nucleus.be//beta/7/x86_64/epel-release-7-0.2.noarch.rpm
  # yum install docker-io geard
=== To test whether Docker works ===
  # docker run -t -i centos:centos7 /bin/bash
  bash-4.2#
=== To compile nginx in CentOS 7 pending package availibility ===
To install dependences packages, download, compile and install nginx into /usr/local/nginx:
    # yum install openssl-devel zlib-devel pcre-devel unzip
    # su <non privileged user>
    $ wget http://nginx.org/download/nginx-1.7.3.tar.gz
    $ tar xzf nginx-1.7.3.tar.gz
    $ cd nginx-1.7.3
    $ ./configure
    $ make
    $ logout # back to root
    # make install

Version actuelle datée du 14 juillet 2014 à 01:12

IaaS and PaaS with OpenShift, Docker and Geard
Workshop
internal, IaaS, PaaS, SaaS
internal, IaaS, PaaS, SaaS
Tagline
Unified DevOps infrastructure
Useful information
Description Create a Fedora 20 VM with OpenShift, Docker, Geard and so on.
Date 2014-07-10
Location Wolfplex Hackerspace
Cost free
Who?
Participants Dereckson, Jérôme, Cédric

Goals

  • Become more familiar with this technology.
  • Prepare a more public workshop on the topic.

Part 1 - Theory. Hypervisor and VM installation.

Meeting at Dereckson place 2014-07-08.

Theory

Quick and dirty overview of what the heck is IaaS or PaaS. A lego bricks story.

Hypervisor, VM

We've chosen Fedora 20, as Geard is rather cutting edge software and require RHEL 7+ or Fedora 20+.

  • Jérôme installed a Fedora 20 VM on Xen @ OVH, without regard for the RFC 1178. He intends to use it for testing.
  • Dereckson installed a Fedora 20 VM on VMWare EXSi @ Online. He intends to use it to offer PaaS for Wolfplex members, especially for *.wolfplex.org and internal hackerspace applications.

Both implied a IPFO configuration, and to familiarize with the RedHat rather peculiar networking scripts.

In both case, it's rather annoying the connexion to the hypervisor required a Windows machine. From a RDP connection from Debian or a Mac OS X VM, it weren't the most comfortable setup of the world. This highlights the need to use OpenStack at the hackerspace to manage VMs.


Part 2 - OpenShfit, Docker, Geard installation

We'll meet at Jérôme place 2014-07-10 to go on with installation.


Notes

To install Docker and Geard on CentOS

Docker is installed through docker-io EPEL package, so we've the dependency with geard:

 # yum install http://epel.mirror.nucleus.be//beta/7/x86_64/epel-release-7-0.2.noarch.rpm
 # yum install docker-io geard

To test whether Docker works

  # docker run -t -i centos:centos7 /bin/bash
  bash-4.2#

To compile nginx in CentOS 7 pending package availibility

To install dependences packages, download, compile and install nginx into /usr/local/nginx:

   # yum install openssl-devel zlib-devel pcre-devel unzip
   # su <non privileged user>
   $ wget http://nginx.org/download/nginx-1.7.3.tar.gz
   $ tar xzf nginx-1.7.3.tar.gz
   $ cd nginx-1.7.3
   $ ./configure
   $ make
   $ logout # back to root
   # make install