Cleaning up your Linux server

Oct. 8, 2017 0 comments ADMIN Magazine management Server

Housekeeping is one of the many duties bestowed on the overburdened backs of system administrators, but it is one that keeps the house in order, keeps backups small, and keeps servers running efficiently. A full filesystem can stop services and disallow logins, so it is imperative that you keep a watchful eye on critical filesystems. To maintain a healthy system, you should spend a few minutes every day on housekeeping chores. Three directories require special attention when you are tidying up your Linux space: /tmp , /home , and /var . The /tmp Directory The /tmp directory exists on every Linux system and is writable by every user on the system, which makes it vulnerable to file dumping and file sprawl (Figure 1 ). Many software programs write temporary files to the /tmp directory, which can be a problem for a system administrator when determining which files to keep and which to remove. When removing files from /tmp , you must use some discernment. Applications currently in use by...

http://www.admin-magazine.com/Archive/2017/40/Cleaning-up-your-Linux-server/(tagID)/2