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
ウェブサービスのCentOS5撤退 / Centos5 Retiring For Web Se...
Search
Yuuki Tsubouchi (yuuk1)
June 28, 2016
Technology
2
770
ウェブサービスのCentOS5撤退 / Centos5 Retiring For Web Servicies
Hosting Casual Talks #3
Yuuki Tsubouchi (yuuk1)
June 28, 2016
Tweet
Share
More Decks by Yuuki Tsubouchi (yuuk1)
See All by Yuuki Tsubouchi (yuuk1)
博士学位論文予備審査 / Scaling Telemetry Workloads in Cloud Applications: Techniques for Instrumentation, Storage, and Mining
yuukit
1
1.7k
MetricSifter:クラウドアプリケーションにおける故障箇所特定の効率化のための多変量時系列データの特徴量削減 / FIT 2024
yuukit
2
180
工学としてのSRE再訪 / Revisiting SRE as Engineering
yuukit
19
12k
Cloudless Computingの論文紹介
yuukit
2
480
#SRE論文紹介 Detection is Better Than Cure: A Cloud Incidents Perspective V. Ganatra et. al., ESEC/FSE’23
yuukit
3
1.7k
エンジニアのためのSRE論文への招待 / Introduction to SRE Papers for Engineers
yuukit
2
11k
博士課程での研究まとめ 2023年1月版 / Summary of my research in the PhD course
yuukit
1
280
AI時代に向けたクラウドにおける信頼性エンジニアリングの未来構想 / DICOMO2022 6A-1
yuukit
7
3k
AIOps研究録―SREのための システム障害の自動原因診断 / SRE NEXT 2022
yuukit
10
12k
Other Decks in Technology
See All in Technology
ホワイトボードチャレンジ 説明&実行資料
ichimichi
0
130
スタートアップ1人目QAエンジニアが QAチームを立ち上げ、“個”からチーム、 そして“組織”に成長するまで / How to set up QA team at reiwatravel
mii3king
2
1.5k
PHPカンファレンス名古屋-テックリードの経験から学んだ設計の教訓
hayatokudou
2
270
2025-02-21 ゆるSRE勉強会 Enhancing SRE Using AI
yoshiiryo1
1
330
ユーザーストーリーマッピングから始めるアジャイルチームと並走するQA / Starting QA with User Story Mapping
katawara
0
200
Cloud Spanner 導入で実現した快適な開発と運用について
colopl
1
630
エンジニアの育成を支える爆速フィードバック文化
sansantech
PRO
3
1.1k
Swiftの “private” を テストする / Testing Swift "private"
yutailang0119
0
130
リーダブルテストコード 〜メンテナンスしやすい テストコードを作成する方法を考える〜 #DevSumi #DevSumiB / Readable test code
nihonbuson
11
7.2k
Larkご案内資料
customercloud
PRO
0
650
AndroidXR 開発ツールごとの できることできないこと
donabe3
0
130
RSNA2024振り返り
nanachi
0
580
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
53
13k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Why Our Code Smells
bkeepers
PRO
336
57k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
Optimizing for Happiness
mojombo
376
70k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Producing Creativity
orderedlist
PRO
344
39k
Raft: Consensus for Rubyists
vanstee
137
6.8k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
21
2.5k
Building an army of robots
kneath
303
45k
Transcript
ΣϒαʔϏεͷ $FOU04ఫୀ Z@VVLJ )PTUJOH$BTVBM
@y_uuk1 id:y_uuki ΣϒΦϖϨʔγϣϯΤϯδχΞ @ͯͳ
CentOS 5 EOL
͋ͱ9ϲ݄
EOLΕϦεΫ • ੬ऑੑରԠ͕͘͠ͳΔ • OpenSSLͳͲͷηΩϡϦςΟύονͷ͋ͨͬͨ ύοέʔδͷߋ৽͕ͳ͘ͳΔ • ֎෦αΠτͷTLSࣄʹ͍͚ͭͳ͘ͳΓɺଓ Ͱ͖ͳ͘ͳΔ •
CentOS 5ͷOpenSSL0.9.8ܥͰݹ͍ • TLS 1.2ʹඇରԠ + SNI͕͑ͳ͍ͳͲ
1000+ CentOS5 100+ roles
ରࡦ͢Δαʔόͷબ • ϦόʔεϓϩΩγ • ֎෦͔ΒଓΛड͚͚ΔɻTLSଓ͢Δͷ༏ઌ • ΞϓϦέʔγϣϯαʔόɺόοναʔόɺϫʔΧ • ͳΜΒ͔ͷϏδωεॲཧΛ࣮ߦ͢Δαʔό •
Ϋϩʔϥ֎෦APIΛୟ͘ͱ͜ΖΛ༏ઌ • ϦεΫͷ͍σʔλϕʔεޙճ͠ • ͦͷଞ֎෦ͱͷͷͳ͍ཧܥαʔόޙճ͠
ରࡦํ • ☓ ࣗͰηΩϡϦςΟύονΛ͋ͯΔ • ࠷ऴखஈͱ͍ͨ͠ • ☓ CentOS 7ʹΞοϓάϨʔυ
• ◦ ଞͷσΟετϦҠߦ • 5લ͔Β৽αʔϏεDebian
DebianԽʢϓϩΩγʣ • ݱࡏͷڥ Apache2 or Nginx • httpd.conf͕؆୯ͳͷNginx • ؆୯Ͱͳ͍ͷApache
2ͷ࠷৽൛ • 300ߦͷRewriteRule • ςετίʔυΛॻ͍ͯಈ࡞֬ೝ͢Δ
https://github.com/yuuki/ yuuki/blob/master/misc/ proxy-config-test.md
DebianԽʢΞϓϦέʔγϣϯʣ • mod_perl1, mod_perl2ΛDebianͰϏϧυ • rpmԽ͞ΕͨCPANϞδϡʔϧཧΛ cpanfileԽ • XSͳͲCͷϥΠϒϥϦʹґଘ͢Δͷ͋ ΔͨΊɺDebianͰϏϧυͰ͖Δ͔Ͳ͏͔
mod_perl1, mod_perl2ΛϏϧυ • ϏϧυͰ͖ͳ͍ͷͳΒϞμϯͳڥʢPlackʣ ʹҠߦ͢Δඞཁ͕͋Δʢͷ͘͢͝େมʣ • DockerfileͰϏϧυ͠ϑΝΠϧαʔόʹઃஔ • ChefͰ /opt/httpdʹઃஔ͢Δ͚ͩ
• Perlґଘ͕͋ΔͨΊdebύοέʔδԽ͕໘
IUUQTHJUIVCDPNZVVLJEPDLFSpMFT USFFNBTUFSNPE@QFSM
cpanfileԽ • rpm -qa perl ͔Βੜ • ҰൃͰ carton install
͕௨ΔΑ͏ʹͳ Δ·Ͱͱʹ͔͕͘ΜΔ • ಈ࡞֬ೝͯ͠ಈ͔ͳ͔ͬͨΒɺCPAN ϞδϡʔϧͷόʔδϣϯͷࠩΛٙ͏
initεΫϦϓτ vs daemontools • Systemd … • daemontoolsͰࠔ͍ͬͯͳ͍ͷͰ daemontoolsԽ •
daemontoolsมԽ͕ͳ҆͘ఆͯ͠ ͍ͯࠓޙ҆৺
ม͑ͳ͍ͷ • Perlͷόʔδϣϯ • mod_perlϝδϟʔόʔδϣϯ • Apacheϝδϟʔόʔδϣϯ • CPANϞδϡʔϧͷόʔδϣϯ •
ݹ͍ͷ͕खʹೖΒͳ͍Մೳੑ͋Δ
Ұ൪େมͳͷ ಈ࡞֬ೝ
ಈ࡞֬ೝ • ݹ͍ΞϓϦέʔγϣϯςετ͕ͳ͍ • खಈͰ͕ΜΔ • ϓϩΩγઃఆͷςετͲ͏͢Δͷ͔ • PerlͰૉʹHTTPΛୟ͘ςετΛॻ ͍ͯΔ
ೖΕସ͑࡞ۀ • ϩʔυόϥϯαԼʹ1͚ͩೖ༷͠ ࢠݟ • ΤϥʔϩάͳͲΛSlackʹྲྀ͢ • ͕ى͖ͨΒ͢ • શೖΕସ͑
Debian8ͷEOL 2020-06ʢLTSʣ
͋ͱ4
ΞοϓσʔταΠΫϧ Λճ͠ଓ͚ΔͨΊʹ
࡞ۀ༰͓͞Β͍ • ৽OS্Ͱmod_perlϏϧυ • cpanfile࡞ • αʔόͷ࡞Γ͠ͱஔ͖͑ • ΞϓϦέʔγϣϯͷಈ࡞֬ೝ •
ϓϩΩγͷಈ࡞֬ೝ
ϛυϧΣΞґଘ͠ͳ͍ςετ • Apache => nginxͷΑ͏ʹಉׂ͡ͷϛ υϧΣΞΛϦϓϨΠε͢Δ͜ͱ͕͋Δ • ઃఆϑΝΠϧΛςετ͢ΔͷͰͳ͘ɺ ֎͔ΒΈͨৼΔ͍Λςετ͢Δ •
ϓϩΩγͷ߹ɺ࣮ࡍʹϦΫΤετ͢ ΔςετΛॻ͘
ΞϓϦέʔγϣϯڥͷ • ͍·ͩͱαʔό͝ͱ৽͘͠༻ҙͯ͠ೖΕସ ͕͑ඞཁ • ݹͯ͘ࠔΔͷΞϓϦέʔγϣϯ • ΞϓϦέʔγϣϯ࣮ߦڥΛಠཱͯ͠Ξο ϓσʔτ͍ͨ͠ •
ίϯςφԽ (chrootɺDocker)
͓ΘΓ