SlideShare a Scribd company logo
1 of 23
Download to read offline
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

More Related Content

Viewers also liked

S kube presentation v2
S kube presentation v2S kube presentation v2
S kube presentation v2Suka Group
 
The characters
The charactersThe characters
The charactersyoungyem
 
Educational-Planning. Reseach on Perceptions and Attitudes of Greek teachers
Educational-Planning. Reseach on Perceptions and Attitudes of Greek teachersEducational-Planning. Reseach on Perceptions and Attitudes of Greek teachers
Educational-Planning. Reseach on Perceptions and Attitudes of Greek teachersIoannis Betsas
 
Cai [read only] [compatibility mode]
Cai [read only] [compatibility mode]Cai [read only] [compatibility mode]
Cai [read only] [compatibility mode]DrNAlhazzani
 
HTML5 Photo Uploader
HTML5 Photo UploaderHTML5 Photo Uploader
HTML5 Photo UploaderHieu Van
 
Digital Photography Intro
Digital Photography IntroDigital Photography Intro
Digital Photography Introlluders
 
What i learnt
What i learntWhat i learnt
What i learntyoungyem
 
Ekspo peladang agro
Ekspo peladang agroEkspo peladang agro
Ekspo peladang agrofarizkhalid
 
Web based media
Web based mediaWeb based media
Web based mediaAmber Kerr
 
Computer in Education
Computer in EducationComputer in Education
Computer in EducationDrNAlhazzani
 

Viewers also liked (18)

S kube presentation v2
S kube presentation v2S kube presentation v2
S kube presentation v2
 
Timidez
TimidezTimidez
Timidez
 
The characters
The charactersThe characters
The characters
 
Educational-Planning. Reseach on Perceptions and Attitudes of Greek teachers
Educational-Planning. Reseach on Perceptions and Attitudes of Greek teachersEducational-Planning. Reseach on Perceptions and Attitudes of Greek teachers
Educational-Planning. Reseach on Perceptions and Attitudes of Greek teachers
 
Cai [read only] [compatibility mode]
Cai [read only] [compatibility mode]Cai [read only] [compatibility mode]
Cai [read only] [compatibility mode]
 
Brand unit 1
Brand unit 1Brand unit 1
Brand unit 1
 
Karnataka compensation
Karnataka compensationKarnataka compensation
Karnataka compensation
 
diseños
diseñosdiseños
diseños
 
HTML5 Photo Uploader
HTML5 Photo UploaderHTML5 Photo Uploader
HTML5 Photo Uploader
 
Sample
SampleSample
Sample
 
Digital Photography Intro
Digital Photography IntroDigital Photography Intro
Digital Photography Intro
 
Silvia tutiven
Silvia tutivenSilvia tutiven
Silvia tutiven
 
What i learnt
What i learntWhat i learnt
What i learnt
 
Rverse Present 2011 uk
Rverse Present 2011 ukRverse Present 2011 uk
Rverse Present 2011 uk
 
Ekspo peladang agro
Ekspo peladang agroEkspo peladang agro
Ekspo peladang agro
 
طرق البحث
طرق البحثطرق البحث
طرق البحث
 
Web based media
Web based mediaWeb based media
Web based media
 
Computer in Education
Computer in EducationComputer in Education
Computer in Education
 

Similar to Playing with virtual machine

Merb Camp Keynote
Merb Camp KeynoteMerb Camp Keynote
Merb Camp KeynoteYehuda Katz
 
Ruby tutorial
Ruby tutorialRuby tutorial
Ruby tutorialknoppix
 
Deploying Rails App To Ubuntu Server
Deploying Rails App To Ubuntu ServerDeploying Rails App To Ubuntu Server
Deploying Rails App To Ubuntu ServerJosh Dvir
 
2011 07 Living without your Linemen—OSCON
2011 07 Living without your Linemen—OSCON2011 07 Living without your Linemen—OSCON
2011 07 Living without your Linemen—OSCONterry chay
 
IronRuby for the Rubyist
IronRuby for the RubyistIronRuby for the Rubyist
IronRuby for the RubyistWill Green
 
How to be productive with Rails... even on Windows
How to be productive with Rails... even on WindowsHow to be productive with Rails... even on Windows
How to be productive with Rails... even on WindowsLuis Lavena
 
ROS Hands-On Intro/Tutorial (Robotic Vision Summer School 2015) #RVSS #ACRV
ROS Hands-On Intro/Tutorial (Robotic Vision Summer School 2015) #RVSS #ACRVROS Hands-On Intro/Tutorial (Robotic Vision Summer School 2015) #RVSS #ACRV
ROS Hands-On Intro/Tutorial (Robotic Vision Summer School 2015) #RVSS #ACRVJuxi Leitner
 
Windows 真的不好用...
Windows 真的不好用...Windows 真的不好用...
Windows 真的不好用...Chih-Hsuan Kuo
 
From Ant to Rake
From Ant to RakeFrom Ant to Rake
From Ant to Rakejazzman1980
 
Debugging LAMP Apps on Linux/UNIX Using Open Source Tools - Jess Portnot - OS...
Debugging LAMP Apps on Linux/UNIX Using Open Source Tools - Jess Portnot - OS...Debugging LAMP Apps on Linux/UNIX Using Open Source Tools - Jess Portnot - OS...
Debugging LAMP Apps on Linux/UNIX Using Open Source Tools - Jess Portnot - OS...Zohar Babin
 
Invasion of the dynamic language weenies
Invasion of the dynamic language weeniesInvasion of the dynamic language weenies
Invasion of the dynamic language weeniesSrijit Kumar Bhadra
 
Forget Ruby. Forget CoffeeScript. Do SOA
Forget Ruby. Forget CoffeeScript. Do SOAForget Ruby. Forget CoffeeScript. Do SOA
Forget Ruby. Forget CoffeeScript. Do SOAMichał Łomnicki
 
Rasmus, Think Again! Agile Framework == Happy Php Developer
Rasmus, Think Again! Agile Framework == Happy Php DeveloperRasmus, Think Again! Agile Framework == Happy Php Developer
Rasmus, Think Again! Agile Framework == Happy Php DeveloperArno Schneider
 
Sailor - A web MVC framework in Lua by Etiene Dalcol (Lua Workshop 2014)
Sailor - A web MVC framework in Lua by Etiene Dalcol (Lua Workshop 2014)Sailor - A web MVC framework in Lua by Etiene Dalcol (Lua Workshop 2014)
Sailor - A web MVC framework in Lua by Etiene Dalcol (Lua Workshop 2014)Etiene Dalcol
 
One RubyStack to Rule them All
One RubyStack to Rule them AllOne RubyStack to Rule them All
One RubyStack to Rule them Allelliando dias
 
IT for IT recruiters
IT for IT recruiters IT for IT recruiters
IT for IT recruiters Yakob Yakov
 

Similar to Playing with virtual machine (20)

Merb Camp Keynote
Merb Camp KeynoteMerb Camp Keynote
Merb Camp Keynote
 
Ruby tutorial
Ruby tutorialRuby tutorial
Ruby tutorial
 
Learn to build with php
Learn to build with phpLearn to build with php
Learn to build with php
 
Deploying Rails App To Ubuntu Server
Deploying Rails App To Ubuntu ServerDeploying Rails App To Ubuntu Server
Deploying Rails App To Ubuntu Server
 
2011 07 Living without your Linemen—OSCON
2011 07 Living without your Linemen—OSCON2011 07 Living without your Linemen—OSCON
2011 07 Living without your Linemen—OSCON
 
IronRuby for the Rubyist
IronRuby for the RubyistIronRuby for the Rubyist
IronRuby for the Rubyist
 
How to be productive with Rails... even on Windows
How to be productive with Rails... even on WindowsHow to be productive with Rails... even on Windows
How to be productive with Rails... even on Windows
 
Fisl6
Fisl6Fisl6
Fisl6
 
ROS Hands-On Intro/Tutorial (Robotic Vision Summer School 2015) #RVSS #ACRV
ROS Hands-On Intro/Tutorial (Robotic Vision Summer School 2015) #RVSS #ACRVROS Hands-On Intro/Tutorial (Robotic Vision Summer School 2015) #RVSS #ACRV
ROS Hands-On Intro/Tutorial (Robotic Vision Summer School 2015) #RVSS #ACRV
 
Windows 真的不好用...
Windows 真的不好用...Windows 真的不好用...
Windows 真的不好用...
 
From Ant to Rake
From Ant to RakeFrom Ant to Rake
From Ant to Rake
 
Debugging LAMP Apps on Linux/UNIX Using Open Source Tools - Jess Portnot - OS...
Debugging LAMP Apps on Linux/UNIX Using Open Source Tools - Jess Portnot - OS...Debugging LAMP Apps on Linux/UNIX Using Open Source Tools - Jess Portnot - OS...
Debugging LAMP Apps on Linux/UNIX Using Open Source Tools - Jess Portnot - OS...
 
Invasion of the dynamic language weenies
Invasion of the dynamic language weeniesInvasion of the dynamic language weenies
Invasion of the dynamic language weenies
 
Forget Ruby. Forget CoffeeScript. Do SOA
Forget Ruby. Forget CoffeeScript. Do SOAForget Ruby. Forget CoffeeScript. Do SOA
Forget Ruby. Forget CoffeeScript. Do SOA
 
Rasmus, Think Again! Agile Framework == Happy Php Developer
Rasmus, Think Again! Agile Framework == Happy Php DeveloperRasmus, Think Again! Agile Framework == Happy Php Developer
Rasmus, Think Again! Agile Framework == Happy Php Developer
 
Sailor - A web MVC framework in Lua by Etiene Dalcol (Lua Workshop 2014)
Sailor - A web MVC framework in Lua by Etiene Dalcol (Lua Workshop 2014)Sailor - A web MVC framework in Lua by Etiene Dalcol (Lua Workshop 2014)
Sailor - A web MVC framework in Lua by Etiene Dalcol (Lua Workshop 2014)
 
Ruby on rails
Ruby on rails   Ruby on rails
Ruby on rails
 
Gaasdm
GaasdmGaasdm
Gaasdm
 
One RubyStack to Rule them All
One RubyStack to Rule them AllOne RubyStack to Rule them All
One RubyStack to Rule them All
 
IT for IT recruiters
IT for IT recruiters IT for IT recruiters
IT for IT recruiters
 

Recently uploaded

ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxFIDO Alliance
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...FIDO Alliance
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxjbellis
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptxFIDO Alliance
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxFIDO Alliance
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfFIDO Alliance
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandIES VE
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceSamy Fodil
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingScyllaDB
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxFIDO Alliance
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe中 央社
 
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Paige Cruz
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?Mark Billinghurst
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...ScyllaDB
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data SciencePaolo Missier
 
Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdfGenerative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdfalexjohnson7307
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTopCSSGallery
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...panagenda
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc
 

Recently uploaded (20)

ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Vector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptxVector Search @ sw2con for slideshare.pptx
Vector Search @ sw2con for slideshare.pptx
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
Observability Concepts EVERY Developer Should Know (DevOpsDays Seattle)
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Generative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdfGenerative AI Use Cases and Applications.pdf
Generative AI Use Cases and Applications.pdf
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Top 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development CompaniesTop 10 CodeIgniter Development Companies
Top 10 CodeIgniter Development Companies
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 

Playing with virtual machine