Thursday, August 6, 2015

security - Server setup - Removing unnecessary Ubuntu 10.4 LTS packages




When setting a system up as a server with Ubuntu 10.4LTS, what packages are unnecessary and could be removed (to help harden the system)?



For example, I'm confident the gcc package can (and should) be removed. What other packages in the default installation are unnecessary to running the server?



Thank you for reading.



Brian


Answer




  1. Use Ubuntu Server 10.04 LTS


  2. sudo apt-get autoremove

  3. Take a look at The perfect server, Ubuntu Lucid, the only package recommended here to remove is apparmor.



For the server the most obvious one to remove is X (and all the apps using windows).



The last one you don't want to remove, is kernel ;)



The rest is up to your needs.




dpkg -l

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...