With the expansion of Linux enterprise applications, there are a large number of network servers using Linux operating system, and the security performance of Linux servers has attracted more and more attention. This article lists the levels according to the depth of attacks on Linux servers and suggests different solutions.