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
840
2
Share
ウェブサービスのCentOS5撤退 / Centos5 Retiring For Web Servicies
Hosting Casual Talks #3
Yuuki Tsubouchi (yuuk1)
June 28, 2016
More Decks by Yuuki Tsubouchi (yuuk1)
See All by Yuuki Tsubouchi (yuuk1)
AIスーパーコンピュータにおけるLLM学習処理性能の計測と可観測性 / AI Supercomputer LLM Benchmarking and Observability
yuukit
1
830
SREはサイバネティクスの夢をみるか? / Do SREs Dream of Cybernetics?
yuukit
3
480
SREのためのテレメトリー技術の探究 / Telemetry for SRE
yuukit
13
3.5k
AIスパコン「さくらONE」の オブザーバビリティ / Observability for AI Supercomputer SAKURAONE
yuukit
2
1.4k
AIスパコン「さくらONE」のLLM学習ベンチマークによる性能評価 / SAKURAONE LLM Training Benchmarking
yuukit
2
1.1k
とあるSREの博士「過程」 / A Certain SRE’s Ph.D. Journey
yuukit
11
6.9k
eBPFを用いたAIネットワーク監視システム論文の実装 / eBPF Japan Meetup #4
yuukit
3
1.7k
クラウドのテレメトリーシステム研究動向2025年
yuukit
4
1.2k
博士論文公聴会: Scaling Telemetry Workloads in Cloud Applications: Techniques for Instrumentation, Storage, and Mining / PhD Defence
yuukit
1
680
Other Decks in Technology
See All in Technology
自分のハンドルは自分で握れ! ― 自分のケイパビリティを増やし、メンバーのケイパビリティ獲得を支援する ― / Take the wheel yourself
takaking22
1
900
Master Dataグループ紹介資料
sansan33
PRO
1
4.6k
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
74k
Claude Code を安全に使おう勉強会 / Claude Code Security Basics
masahirokawahara
11
31k
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
23k
レビューしきれない?それは「全て人力でのレビュー」だからではないでしょうか
amixedcolor
0
310
AIエージェントの権限管理 2: データ基盤の Fine grained access control 編
ren8k
0
130
AIが書いたコードを信じられない問題 〜レビュー負荷を下げるために変えたこと〜 / The AI Code Trust Gap: Reducing the Review Burden
bitkey
PRO
6
1.3k
No Types Needed, Just Callable Method Check
dak2
1
1.1k
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
The Journey of Box Building
tagomoris
4
2.2k
小説執筆のハーネスエンジニアリング
yoshitetsu
0
660
Featured
See All Featured
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
170
Practical Orchestrator
shlominoach
191
11k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
190
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Leo the Paperboy
mayatellez
7
1.7k
GraphQLとの向き合い方2022年版
quramy
50
15k
Building the Perfect Custom Keyboard
takai
2
730
Become a Pro
speakerdeck
PRO
31
5.9k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
250
BBQ
matthewcrist
89
10k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
190
The Pragmatic Product Professional
lauravandoore
37
7.2k
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)
͓ΘΓ