Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
プロ生勉強会 第19回@品川
Search
Kohei YOSHIDA
December 22, 2012
Programming
0
750
プロ生勉強会 第19回@品川
Kohei YOSHIDA
December 22, 2012
Tweet
Share
More Decks by Kohei YOSHIDA
See All by Kohei YOSHIDA
Go が支えるインフラストラクチャサービス / Go in Gehirn Web Services
yosida95
0
330
2015.04.21 Bracket x Aratana x Gehirn 勉強会
yosida95
2
640
2015.03.11 Gunosy.Go
yosida95
3
2.2k
2014.03.15 SHARE! U20
yosida95
1
280
2013.04.14 DentooLT #3 「自宅 VPS のススメ」
yosida95
0
890
2012.12.23 CombConf
yosida95
1
2.1k
2012.11.27 #石狩DCツアー
yosida95
0
1.5k
2012.09.15 PyCon JP 2012 「ナウでヤングな17歳のVPS 構築機」
yosida95
6
3.6k
#upcamp
yosida95
1
1.3k
Other Decks in Programming
See All in Programming
みんなでプロポーザルを書いてみた
yuriko1211
0
260
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1k
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
110
Outline View in SwiftUI
1024jp
1
320
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
870
最新TCAキャッチアップ
0si43
0
140
A Journey of Contribution and Collaboration in Open Source
ivargrimstad
0
870
Jakarta EE meets AI
ivargrimstad
0
580
RubyLSPのマルチバイト文字対応
notfounds
0
120
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.3k
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
222
8.9k
A Philosophy of Restraint
colly
203
16k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Documentation Writing (for coders)
carmenintech
65
4.4k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
730
KATA
mclloyd
29
14k
Navigating Team Friction
lara
183
14k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
RailsConf 2023
tenderlove
29
900
The Invisible Side of Design
smashingmag
298
50k
Transcript
MJCWJSUͰ࡞ΔϓϥΠϕʔτ714 ͋ͳͨͷொͷ(FFLɻ ZPTJEB٢ా߉ฏ 1 1212݄22༵
͓લɺ୭Αʁ • ٢ా߉ฏ, @yosida95, id:yosida95 • 17ࡀɻߴߍ2ੜɻPythonistaɻ • ΞϑλʔεΫʔϧϓϩάϥϚʔ •
גࣜձࣾθϩελʔτ ΞϧόΠτ (201210͔Β) 2 1212݄22༵
͓લɺ୭Αʁ • ࣗαʔόʔͰWeb αʔϏεΛӡӦ͢ Δఔͷೳྗ • http://miteru.yosida95.com/ • http://twit.yosida95.com/ •
http://event.yosida95.com/ 3 1212݄22༵
͓લɺ୭Αʁ • PyCon JP 2012 εϐʔΧʔ • PyCon JP 2012
ӡӦελοϑ • CombConf ӡӦνʔϜΘ͘Θ͘Τϯδ χΞ 4 1212݄22༵
͓લɺ୭Αʁ CombConf 4 1212݄22༵
$PNC$POG • ໌23() 13:00͔Β։࠵ • தֶੜɾߴߍੜ͚ͷษڧձ • ࣾձਓͷࢀՃܴ • ΫϦεϚεΠϒΠϒ͚ͩͲ(ίϯϐϡʔ
λʔ)Ѫ͑͋͞Εؔͳ͍ΑͶͬ 5 1212݄22༵
$PNC$POG • http://connpass.com/event/1205/ • ࢀՃొϘλϯΛϙνͬͱ͢Δ͚ͩͷ ؆୯ͳ͓ࣄ • ͜ͷηογϣϯதʹਃ͠ࠐΈΛߦ͏ͱ Կ͔͕ى͖Δ……ʂ(͔) 6
1212݄22༵
ຊ Α͏͘VPSͷ͠·͢ɻ 7 1212݄22༵
ࠓͷ͋͐͡Μͩ • VPS ͱʁ • VPSΛࢧ͑Δٕज़ • KVM / QEMU
• libvirt • σϞ 8 1212݄22༵
714ͱ • Virtual Private Server ͷུ • Ծઐ༻αʔόʔ • 1ͷཧϚγϯ্ʹෳͷԾϚγϯ
• ͘͞ΒVPS ͕༗໊ 9 1212݄22༵
714ͱ ཧαʔόʔ VPS (Ծ) VPS (Ծ) VPS (Ծ) VPS (Ծ)
10 1212݄22༵
714Λࢧ͑Δٕज़ • ϗετOSܕ • ཧϚγϯ্ͷOS ͷ্ͰԾϚγϯ ͕ಈ͘ • VirtualBox •
VMWare Server • Virtual PC 11 1212݄22༵
ԾϚγϯΛࢧ͑Δٕज़ • ϋΠύʔόΠβܕ • ϋʔυΣΞ্ͰԾϚγϯ͕ ಈ͘ • KVM • Xen
• Hyper-V 12 1212݄22༵
,7.2&.6 • ࠓճKVM Λ࠾༻ • Kernel based Virtual Machine •
Linux Kernel ʹΈࠐ·ΕͨԾԽج ൫ • શԾԽΛ࣮ݱ, ͘͞ΒVPS Ͱ࠾༻ 13 1212݄22༵
,7.2&.6 • QEMU • ԾϚγϯΛΤϛϡϨʔτ • Android SDK ͰɺΞϓϦέʔγϣ ϯͷಈ࡞֬ೝ༻ʹΘΕ͍ͯΔ
14 1212݄22༵
,7.2&.6 • KVM • σόΠεͷΤϛϡϨʔγϣϯ͠ͳ͍ • /dev/kvm ΠϯλʔϑΣʔεΛఏڙ • QEMU
• /dev/kvm Λհͯ͠ԾϚγϯͷσ όΠεΛΤϛϡϨʔτ 15 1212݄22༵
,7.2&.6 Linux Kernel ཧϚγϯ KVM (/dev/kvm) VPS QEMU VPS QEMU
VPS QEMU VPS QEMU OS OS OS OS 16 1212݄22༵
,7.2&.6 • ༨ஊ…… • 12݄3ɺQEMU 1.3͕ϦϦʔε • 6લʹKVM Λαϙʔτ͢ΔͨΊʹ fork
͞Εͨqemu-kvm ͕QEMU ʹϚ ʔδ͞Εͨ • ͍ͭʹʂͬͨͶʂ 17 1212݄22༵
MJCWJSU ηογϣϯޙઓ ͬͱλΠτϧʹ͋Δlibvirt ͷ͕Ͱ͖Δ 18 1212݄22༵
MJCWJSU • QEMU Λૢ࡞͢ΔͨΊͷAPI • QEMU ͚ͩ͡Όͳͯ͘ɺXen VirtualBox ·Ͱ*ڞ௨ͷΠϯλʔϑΣ
ʔε*Ͱѻ͑Δ༏Εͷ • جຊC ͱC++ Λαϙʔτ • ଞͷෳͷݴޠʹόΠϯσΟϯά 19 1212݄22༵
MJCWJSU libvirt όΠϯσΟϯά͕͑Δݴޠ C# Java OCaml Perl PHP Python ->
ͬͨͶʂ Ruby 20 1212݄22༵
MJCWJSU • VPSఆٛ / VPSഁغ • VPSిݯૢ࡞ • ετϨʔδૢ࡞ •
ωοτϫʔΫૢ࡞ etc... • → VPS Λӡ༻͢Δ্Ͱඞཁͳͯ͢ 21 1212݄22༵
MJCWJSU • ૢ࡞ͷྲྀΕ • QEMUͱίωΫγϣϯΛுΔ • qemu:///system qemu+ssh://user@host/system • VPSωοτϫʔΫͷఆٛXML
Λ จࣈྻͰ͢ 22 1212݄22༵
MJCWJSU • ԾϚγϯωοτϫʔΫɺετϨʔ δΦϒδΣΫτͱͯ͠ѻ͑Δ! • vps = conn.loockupByName(‘vps name’) vps.start()
23 1212݄22༵
MJCWJSU • libvirt ͷૢ࡞ΛαϯϓϧίʔυΛަ͑ ͯޠΓ͍ͨ • ͔͠͠ɺlibvirt ΛޠΔʹηογϣϯ ࣌ؒ͋·Γʹ͍…… •
ͦΕʹࢲશͯΒͳ͍ • Why don't you google it ? 24 1212݄22༵
σϞ • libvirt ΛͬͯϥΠϒίʔσΟϯά? • ϏδϡΞϧʹૌ͑ͯ͜ͳ͍ • ʮlibvirt Ͱ࡞ΔϓϥΠϕʔτVPSʯ •
⇒ Θͨ͠ɺࣗʹVPS Λ͍࣋ͬͯ· ͢! 25 1212݄22༵
σϞ kyoko akari yui ͘͞ΒେࡕDCʹ ayano ͱchitose͕ 26 1212݄22༵
σϞ yosida95@pronama[~]$ yosida95vps start 27 1212݄22༵
Thank You for Listening !! 28 1212݄22༵
࣭ٙԠ • ͳΜͰฉ͍͍͍ͯΑʂ • ͑ΒΕͳ͍͔Εͳ͍͚Ͳ • ࣌ؒΓͳ͍ʁ • ͦͷลΓ͏Ζ͍ͭͯΔΑ!! •
CombConf ʹདྷΕձ͑ΔΑ!!!!! 29 1212݄22༵