Securing Linux

To secure a Linux system, you need to minimize the running services to just what you need. For a workstation, this probably means no services. For a server, provide just what you need to provide.

Set up a firewall. Most distributions do this for you.

Secure the server from the inside. See the Center for Internet Security for the Linux Benchmarks that tell you step-by-step how to do this.