SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 

Kürzlich hochgeladen (20)

"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 

Playing with virtual machine