More Related Content
PDF
PPTX
PPTX
PFIセミナーH271022 ~コマンドを叩いて遊ぶ コンテナ仮想、その裏側~ PPTX
PDF
PDF
PDF
CloudFoundry 2 on Apache CloudStack 4.2.1 PDF
RancherでMesosクラスタをデプロイしてみる的ななにか What's hot
PDF
XenServerとZFSストレージでサーバ仮想化 - OSC2011 Tokyo/Spring 自宅SAN友の会(後半) PPTX
Cent OS7 and RHELl7 update PDF
Introduction to Initramfs - Initramfs-tools and Dracut PDF
PPT
FreeBSDで行こう for small server PDF
PDF
PDF
Ubuntuとコンテナ技術 What is LXD? and Why? 2015-12-08 PDF
PDF
PDF
Cent osにpyhtonをインストールしてみよう PDF
PDF
httpd.conf line 1 to 7, 24 PDF
linux基礎_新卒エンジニア勉強会20130404 PPTX
PDF
PDF
PDF
ソフトウェアエンジニアのための「機械学習理論」入門・ハンズオン演習ガイド PDF
PDF
Systemd入門
- 1.
- 2.
- 3.
- 4.
コマンドの違い
サービスの実行
• Init
• Systemd
serviceSERVICE_NAME start/stop/restart/status
/etc/init.d/SERVICE_NAME start/stop/restart/status
service SERVICE_NAME start/stop/restart/status
systemctl start/stop/restart/reload/status SERVICE_NAME
- 5.
- 6.
- 7.
Unitとは?
Unitのタイプ 説明
target 複数のUnitをまとめるために使用する
service指定のバイナリを実行する(主にはデーモンの起動に使用
する)
mount 指定のファイルシステムをマウントする
automount オートマウント処理を実施する(automountdの代替的な機
能)
socket systemdがSocketをListenして、接続があるとプロセスに受け
渡す(xinetdの代替的な機能)
device udevから通知されたデバイスを表す
path 指定のファイルが作成されると、指定されたサービスを起動
する
- 8.
- 9.
- 10.
- 11.
- 12.
参考URL
• Sytemd入門 –Unitの概念を理解する
http://d.hatena.ne.jp/enakai00/20130914/1379146157
• systemdを本番運用してわかったこと
http://alpha.mixi.co.jp/entry/2013/12063/
Editor's Notes
- #6 実際にコマンド実行してみる
- #9 実際のファイルを見てみる