• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Playing with virtual machine

Playing with virtual machine






Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    Playing with virtual machine Playing with virtual machine Presentation Transcript

    • Playing with Virtual Machine by Hieupv2 Team Ferotec@LTT (#5)
    • @mrhieu @mrhieu hieupv2@gmail.com PHP developer Front-end developer Ruby On Rails beginner Contact About Me
    • START
    • My story ❖ Develop Ruby-on-Rails on Ubuntu 12.04 LTS. On a “quite powerful” PC. Unfortunately... ❖ Unstable, laggy, suddenly hang up, kidding me :( ❖ ONLY happens to ME :((( ❖ What about: Photoshop, Skype, Facebook Messenger, IE, Safari, Opera, PRINTER...???
    • OK, here’s my dream Linux on my fav OS
    • Oh no, too big... Linux Ruby on my fav OS
    • What we got Cr#cked Cygwin
    • OR Another OS
    • Ruby on Windows http://rubyinstaller.org/downloads/ Not sure if Rails and Bundles can run properly (Tried and disappointed)
    • Cygwin “a collection of tools which provide a Linux look and feel environment for Windows.” “not a way to run native Linux apps on Windows.” Ref: http://www.cygwin.com/
    • WTH is Virtual Machine ? 2 types of VM: ❖ System VM Virtualbox, VMWare Workstation ❖ Process VM Java VM “Limited performance” Ref:http://en.wikipedia.org/wiki/Virtual_machine
    • Virtualbox - Free - Multi platform: Windows, Linux, Macintosh, and Solaris - Feature: (next slide) Ref: https://www.virtualbox.org/
    • Cost: $249 Feature - Install Guest OS - Snapshot - Clone Ref: http://www.vmware.com/products/workstation/features.html VMWare Workstation
    • Show time VMWare Workstation
    • Vagrant /veigrənt/ Free Why Vagrant ? ● portable work environments ● configurable, reproducible ● stands on the shoulders of giants ● industry-standard provisioning tools ● isolation Ref: http://net.tutsplus.com/tutorials/php/vagrant-what-why-and-how/ http://docs.vagrantup.com/v2/getting-started/index.html
    • Vagrant /veigrənt/ NO MORE “But it works on my computer !” = NO MORE TEARS :’( Ex: case-sensitive in naming Ref: http://net.tutsplus.com/tutorials/php/vagrant-what-why-and-how/ http://docs.vagrantup.com/v2/getting-started/index.html
    • Vagrant /veigrənt/ Show time Ref: http://docs.vagrantup.com
    • ❖ Back to Virtualbox, VMWare: Synced folder ❖ Provision ❖ Puppet /pʌpit/ And Moreeee
    • “A provisioning tool” package { 'build-essential': ensure => installed } package { 'git-core': ensure => installed } http://docs.puppetlabs.com/learning/ http://www.puppetcookbook.com/posts/install-package.html Puppet with Vagrant $ sudo apt-get install build- essential git-core
    • “A provisioning tool” $ sudo apt-get update $ sudo apt-get install git vim $ sudo apt-get install puppet-common $ cd /etc/puppet/ Copy manifests/ and modules/ from https://github.com/mrhieu/puppet-for- ubuntu $ sudo puppet apply manifests/default.pp --> Coffee time http://docs.puppetlabs.com/learning/ http://www.puppetcookbook.com/posts/install-package.html Puppet with Machine
    • Q&A phew...almost done
    • ありがと Merci Gracias Watch this at http://goo.gl/dSOCe0