Chapter 8. Linux Process Management
This chapter covers key concepts of processes on Linux and how to manage those processes. In this chapter, we demonstrate case examples using SSH remote login. If you haven't done SSH remote login setup yet, check the following topic pages.
Once you confirm the above settings are performed, connect with the server using your terminal or VS Code.
To connect to the remote server using the terminal:
Run the command below.
ssh ssh_test
To connect to the remote server using VS Code:
Use GUI (Graphic User Interface). Open the Remote SSH extension and select the SSH host connected with the Lightsail instance.
Once the SSH remote login is established, the terminal will look like shown below.
The following lessons are covered in this chapter.
Lessons in this chapter
- Process and Job
- Foreground and Background Jobs
- jobs and ps (Display Jobs and Processes)
- Signals
- Create, Stop and Switch Jobs
- Daemon Processes
- What Is Service on Linux?
- Systemd
- Unit File
- Systemctl Sub-Commands
- Create Custom Unit and Start at Boot
- Firewall
- UFW (Uncomplicated Firewall)
- Web Server
- Launch Apache Web Server