Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

systemd 란?

systemd(system daemon)은 전통적으로 Unix 시스템이 부팅후에 가장 먼저 생성된 후에 다른 프로세스를 실행하는 init 역할을 대체하는 데몬입니다. Red Hat 에 근무하는 Lennart Poettering 이 주도적으로 개발을 시작했고 지금은 RHEL/CentOS 와 Ubuntu 나 Arch 등 대부분의 리눅스 시스템에 공식적으로 채택되었습니다.


다음과 같이 매우 복잡한 아키텍처를 갖고 있지만 일반 리눅스 사용자 입장에서는 최상단의 systemd utillities 인 systemctl, journalctl 등 유틸리티 사용법을 위주로 익히면 되며 이 문서에서는 systemctl 사용 방법에 대해서 설명합니다.

Image Added

출처: https://en.wikipedia.org/wiki/Systemd#/media/File:Systemd_components.svg



Target 관리

Info
  1. target 은 기존 SysV init 의 run level 과 같은 개념
  2. systemd 의 기본 타겟 명은 default.target 이며 다중 사용자 모드인 mutl-user.target 의 별칭

...

Linux journalctl 사용법 을 참고하세요.


참고