Services and systemctl
TH – บทนำ
แนะนำแนวคิด service ใน Linux:
- service ต่างจาก process ปกติอย่างไร
- systemd และ systemctl
EN – Introduction
Explain:
- What services are
- The role of systemd
- Basic
systemctlusage
TH – เนื้อหาหลัก
- ใช้
systemctl statusดูสถานะ service - สั่ง start / stop / restart service
- ดู log สั้น ๆ ผ่าน
journalctl -u servicename
EN – Main Content
systemctl status- Start / stop / restart
- Short logs with
journalctl -u
Exercises
- ให้ผู้เรียนลอง restart service ตัวหนึ่งและเช็ค log