How to optimize Lamp stack for WordPress website

Resources to optimize Lamp stack or Apache server on which WordPress is running currently and my vps host is digital ocean

Use WP Rocket plugin, it will make amazing fast.

If you are facing any specific problem, please list all of them.