Install Linux for a public web server.
Avoid unnecessary GUI and development tools to reduce attack surface and maintenance.
Which package-selection policy is appropriate?
Select the minimum package groups needed for the workload and avoid unnecessary services and maintenance targets.
Detailed explanation
Incorrect. Installing every group adds unnecessary software and attack surface.
Incorrect. Installing every group adds unnecessary software and attack surface.
Incorrect. A desktop-only group does not match a headless web server.
Incorrect. A desktop-only group does not match a headless web server.
Correct. Choose the minimal base plus the required server functionality.
Correct. Choose the minimal base plus the required server functionality.
Incorrect. The installation cannot be completed without selecting an appropriate base.
Incorrect. The installation cannot be completed without selecting an appropriate base.
Try it yourself
An example you can run in a temporary verification environment.
systemctl list-unit-files --state=enabled --no-pagerExpected result
現在有効なunit一覧。変更は行わないKey points
- Least functionality
- Package groups
- Maintenance surface
Notes
- Environment: systemd採用Linux
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.