In this guide, we will explain how to install the Lynis community edition on an Ubuntu 18.04 VPS.
Lynis is an open-source tool for security auditing, compliance testing, and vulnerability detection. Lynis also scan for general system information and possible configuration issues and provide tips for further system hardening.
Lynis comes in two editions, community and enterprise. The enterprise editions include more tests and it is bundled with plugins. When extended with plugins, Lynis will perform additional tests and collect more system information. Lynis runs on all Linux distributions and it is used by thousands of developers, system administrators, IT auditors, and penetration testers all around the world.
This guide should work on other Linux VPS systems as well, but it was tested and written for an Ubuntu 18.04 VPS.