{"id":30384,"date":"2019-10-14T11:11:30","date_gmt":"2019-10-14T16:11:30","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=30384"},"modified":"2022-06-03T03:33:24","modified_gmt":"2022-06-03T08:33:24","slug":"how-to-install-lynis-on-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/","title":{"rendered":"How to Install Lynis on Ubuntu 18.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"742\" height=\"372\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-lynis-on-ubuntu18.04.jpg\" alt=\"\" class=\"wp-image-32077\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-lynis-on-ubuntu18.04.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-lynis-on-ubuntu18.04-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-lynis-on-ubuntu18.04-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\n\n\n\n<p>In this guide, we will explain how to <strong>install the Lynis community edition on an <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\">Ubuntu 18.04 VPS<\/a><\/strong>.<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/09\/install-setup-configure-lynis-security-test-software-for-ubuntu18.04-vps.jpg\" alt=\"\" class=\"wp-image-32078\"\/><\/figure><\/div>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>This guide should work on other <a title=\"Linux VPS\" href=\"https:\/\/www.rosehosting.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS<\/a> systems as well, but it was tested and written for an <a title=\"Ubuntu VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu 18.04 VPS<\/a>.<br>\n<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69ee8668410a8\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69ee8668410a8\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/#Step-1-Install-Required-packages\" >Step 1: Install Required packages<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/#Step-2-Installing-Lynis\" >Step 2: Installing Lynis<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/#Step-3-Using-Lynis\" >Step 3: Using Lynis<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-step-1-install-required-packages\"><span class=\"ez-toc-section\" id=\"Step-1-Install-Required-packages\"><\/span>Step 1: Install Required packages<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Log in to your VPS via SSH as root or sudo user:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh userame@<span style=\"color: #ff0000;\">IP_Address<\/span> -p <span style=\"color: #ff0000;\">Port_Number<\/span><\/pre>\n\n\n\n<p>Don&#8217;t forget to replace &#8220;<span style=\"color: #ff0000;\">IP_Address<\/span>&#8221; and &#8220;<span style=\"color: #ff0000;\">Port_Number<\/span>&#8221; with the IP address and SSH port number of your server.<\/p>\n\n\n\n<p>Issue the following commands to update all packages:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get update\nsudo apt-get upgrade<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-2-installing-lynis\"><span class=\"ez-toc-section\" id=\"Step-2-Installing-Lynis\"><\/span>Step 2: Installing Lynis<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Lynis can be installed via a package manager or by a direct download of the source tarball. In this tutorial, we will download install the latest Lynis software package from the Lynis download page.<\/p>\n\n\n\n<p>First, navigate to the <code>\/usr\/local\/<\/code> directory and download the tar.gz archive with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/usr\/local\/\nsudo wget https:\/\/downloads.cisofy.com\/lynis\/lynis-2.7.3.tar.gz \n<\/pre>\n\n\n\n<p>On success, the command will output something that looks similar to this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">--2019-04-13 03:08:53--  https:\/\/downloads.cisofy.com\/lynis\/lynis-2.7.3.tar.gz\nResolving downloads.cisofy.com (downloads.cisofy.com)... 37.97.194.171, 2a01:7c8:aac2:37b::1\nConnecting to downloads.cisofy.com (downloads.cisofy.com)|37.97.194.171|:443... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 282609 (276K) [application\/octet-stream]\nSaving to: 'lynis-2.7.3.tar.gz'\n<\/pre>\n\n\n\n<p>Once the file is downloaded, unpack it with this next line:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tar xf lynis-2.7.3.tar.gz<\/pre>\n\n\n\n<p>Set the required permissions:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo chmod 755 \/usr\/local\/lynis\/lynis<\/pre>\n\n\n\n<p>You can now run the following commands to check the Lynis version:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/usr\/local\/lynis\/lynis --version<\/pre>\n\n\n\n<p>The command will print the Lynis version number and quit:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">2.7.3<\/pre>\n\n\n\n<p>To check for a new version, run the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/usr\/local\/lynis\/lynis update info<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"> == Lynis ==\n\n  Version            : 2.7.3\n  Status             : Up-to-date\n  Release date       : 2019-03-21\n  Update location    : https:\/\/cisofy.com\/lynis\/\n\n\n2007-2019, CISOfy - https:\/\/cisofy.com\/lynis\/\n<\/pre>\n\n\n\n<p>At the time of writing this article, the latest Lynis version is 2.7.3.<\/p>\n\n\n\n<p>If there is a new update, you can update Lynis to the latest version that usually includes new features and bug fixes using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/usr\/local\/lynis\/lynis update release<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-3-using-lynis\"><span class=\"ez-toc-section\" id=\"Step-3-Using-Lynis\"><\/span>Step 3: Using Lynis<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To perform a system audit, simply run this next command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/usr\/local\/lynis\/lynis audit<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">[+] Initializing program\n------------------------------------\n  - Detecting OS...                                           [ DONE ]\n  - Checking profiles...                                      [ DONE ]\n\n  ---------------------------------------------------\n  Program version:           2.7.3\n  Operating system:          Linux\n  Operating system name:     Ubuntu Linux\n  Operating system version:  18.04\n  Kernel version:            4.15\n  Hardware platform:         x86_64\n  Hostname:                  vps\n  ---------------------------------------------------\n  Profiles:                  \/etc\/lynis\/default.prf\n  Log file:                  \/var\/log\/lynis.log\n  Report file:               \/var\/log\/lynis-report.dat\n  Report version:            1.0\n  Plugin directory:          \/usr\/local\/lynis\/plugins\n  ---------------------------------------------------\n  Auditor:                   [Not Specified]\n  Language:                  en\n  Test category:             all\n  Test group:                all\n  ---------------------------------------------------\n  - Program update status...                                  [ NO UPDATE ]\n\n  ...\n\n  Hardening index : 68 [#############       ]\n  Tests performed : 232\n  Plugins enabled : 0\n\n  Components:\n  - Firewall               [V]\n  - Malware scanner        [X]\n\n  Lynis modules:\n  - Compliance status      [?]\n  - Security audit         [V]\n  - Vulnerability scan     [V]\n\n  Files:\n  - Test and debug information      : \/var\/log\/lynis.log\n  - Report data                     : \/var\/log\/lynis-report.dat\n\n<\/pre>\n\n\n\n<p>Lynis scan results are stored in the <code>\/var\/log\/lynis.log<\/code> log file.<\/p>\n\n\n\n<p>We can filter the log for warning messages using the grep command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo grep -i warning \/var\/log\/lynis.log\n\n2019-04-14 10:45:36 Warning: One or more deprecated options used [test:LYNIS] [details:show_tool_tips] [solution:Update your profile]\n2019-04-14 10:46:25 Warning: iptables module(s) loaded, but no rules active [test:FIRE-4512] [details:-] [solution:-]\n<\/pre>\n\n\n\n<p>Also, we can filter the log for suggestion messages with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo grep -i suggestion \/var\/log\/lynis.log\n\n...\n2019-04-14 10:46:37 Suggestion: Turn off PHP information exposure [test:PHP-2372] [details:expose_php = Off] [solution:-]\n2019-04-14 10:46:37 Suggestion: Change the allow_url_fopen line to: allow_url_fopen = Off, to disable downloads via PHP [test:PHP-2376] [details:-] [solution:-]\n2019-04-14 10:46:39 Suggestion: Check what deleted files are still in use and why. [test:LOGG-2190] [details:-] [solution:-]\n2019-04-14 10:46:40 Suggestion: Add a legal banner to \/etc\/issue, to warn unauthorized users [test:BANN-7126] [details:-] [solution:-]\n2019-04-14 10:46:40 Suggestion: Add legal banner to \/etc\/issue.net, to warn unauthorized users [test:BANN-7130] [details:-] [solution:-]\n2019-04-14 10:46:41 Suggestion: Enable process accounting [test:ACCT-9622] [details:-] [solution:-]\n2019-04-14 10:46:41 Suggestion: Enable sysstat to collect accounting (no results) [test:ACCT-9626] [details:-] [solution:-]\n2019-04-14 10:46:43 Suggestion: Check output of aa-status [test:MACF-6208] [details:\/sys\/kernel\/security\/apparmor\/profiles] [solution:text:Run aa-status]\n2019-04-14 10:46:43 Suggestion: Install a file integrity tool to monitor changes to critical and sensitive files [test:FINT-4350] [details:-] [solution:-]\n2019-04-14 10:46:43 Suggestion: Determine if automation tools are present for system management [test:TOOL-5002] [details:-] [solution:-]\n2019-04-14 10:46:44 Suggestion: Harden compilers like restricting access to root user only [test:HRDN-7222] [details:-] [solution:-]\n2019-04-14 10:46:44 Suggestion: Harden the system by installing at least one malware scanner, to perform periodic file system scans [test:HRDN-7230] [details:-] [solution:Install a tool like, OSSEC]\n<\/pre>\n\n\n\n<p>That\u2019s it. You have successfully installed Lynis on your <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\">Ubuntu 18.04 VPS<\/a>. For more information about how to manage your Lynis installation, please refer to the official <a href=\"https:\/\/cisofy.com\/documentation\/lynis\/get-started\/\" target=\"_blank\" rel=\"noopener noreferrer\">Lynis documentation<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft\"><img decoding=\"async\" width=\"150\" height=\"211\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/09\/support-for-lynis-security-from-expert-admins-for-ubuntu18.04-vps.jpg\" alt=\"\" class=\"wp-image-32079\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/09\/support-for-lynis-security-from-expert-admins-for-ubuntu18.04-vps.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/09\/support-for-lynis-security-from-expert-admins-for-ubuntu18.04-vps-107x150.jpg 107w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/figure><\/div>\n\n\n\n<p>Of course, you don\u2019t have to do any of this if you use one of our <a title=\"linux vps hosting\" href=\"https:\/\/www.rosehosting.com\/vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to set up Lynis for you. They are available 24&#215;7 and will take care of your request immediately.<\/p>\n\n\n\n<p><span style=\"color: #ff0000;\"><strong>PS<\/strong><\/span>. If you liked this post or if you found it helpful, please share it with your friends on the social networks using the share shortcut buttons, or simply leave a comment down below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we will explain how to install the Lynis community edition on an Ubuntu 18.04 VPS. Lynis is &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Lynis on Ubuntu 18.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/#more-30384\" aria-label=\"Read more about How to Install Lynis on Ubuntu 18.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":32077,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1703,13,1698],"tags":[593],"class_list":["post-30384","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","category-tutorials","category-ubuntu","tag-lynis","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Lynis on Ubuntu 18.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Find how to install Lynis package on Ubuntu 18.04. Lynis is an open-source tool for security auditing, and other features.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Lynis on Ubuntu 18.04\" \/>\n<meta property=\"og:description\" content=\"How to Install Lynis on Ubuntu 18.04 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-14T16:11:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:33:24+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-lynis-on-ubuntu18.04.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lynis-on-ubuntu-18-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lynis-on-ubuntu-18-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Lynis on Ubuntu 18.04\",\"datePublished\":\"2019-10-14T16:11:30+00:00\",\"dateModified\":\"2022-06-03T08:33:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lynis-on-ubuntu-18-04\\\/\"},\"wordCount\":488,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lynis-on-ubuntu-18-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/how-to-install-lynis-on-ubuntu18.04.jpg\",\"keywords\":[\"lynis\"],\"articleSection\":[\"Security\",\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lynis-on-ubuntu-18-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lynis-on-ubuntu-18-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lynis-on-ubuntu-18-04\\\/\",\"name\":\"How to Install Lynis on Ubuntu 18.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lynis-on-ubuntu-18-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lynis-on-ubuntu-18-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/how-to-install-lynis-on-ubuntu18.04.jpg\",\"datePublished\":\"2019-10-14T16:11:30+00:00\",\"dateModified\":\"2022-06-03T08:33:24+00:00\",\"description\":\"Find how to install Lynis package on Ubuntu 18.04. Lynis is an open-source tool for security auditing, and other features.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lynis-on-ubuntu-18-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lynis-on-ubuntu-18-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lynis-on-ubuntu-18-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/how-to-install-lynis-on-ubuntu18.04.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/09\\\/how-to-install-lynis-on-ubuntu18.04.jpg\",\"width\":742,\"height\":372},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-lynis-on-ubuntu-18-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Lynis on Ubuntu 18.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Lynis on Ubuntu 18.04 | RoseHosting","description":"Find how to install Lynis package on Ubuntu 18.04. Lynis is an open-source tool for security auditing, and other features.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Lynis on Ubuntu 18.04","og_description":"How to Install Lynis on Ubuntu 18.04 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2019-10-14T16:11:30+00:00","article_modified_time":"2022-06-03T08:33:24+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-lynis-on-ubuntu18.04.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Lynis on Ubuntu 18.04","datePublished":"2019-10-14T16:11:30+00:00","dateModified":"2022-06-03T08:33:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/"},"wordCount":488,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-lynis-on-ubuntu18.04.jpg","keywords":["lynis"],"articleSection":["Security","Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/","name":"How to Install Lynis on Ubuntu 18.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-lynis-on-ubuntu18.04.jpg","datePublished":"2019-10-14T16:11:30+00:00","dateModified":"2022-06-03T08:33:24+00:00","description":"Find how to install Lynis package on Ubuntu 18.04. Lynis is an open-source tool for security auditing, and other features.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-lynis-on-ubuntu18.04.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/09\/how-to-install-lynis-on-ubuntu18.04.jpg","width":742,"height":372},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-lynis-on-ubuntu-18-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Lynis on Ubuntu 18.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/30384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=30384"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/30384\/revisions"}],"predecessor-version":[{"id":38384,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/30384\/revisions\/38384"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/32077"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=30384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=30384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=30384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}