What are the best practices of server management for ERPNext

Hello guys,

I’m running Ubuntu 18 and what would be the best practices or routine maintenance that I need to carry out on servers.

For example, how to clear log files and how often?

Thanks