Abstract:The paper analyses and researches the attack and prevention of computer network based on Linux system and points out how to take some measures to ensure the safety of Liunx network system from the following six aspects:system,data,network,service,application program and daily maintenance.It is very important for con- structing and managing Linux network system.