{"id":26,"date":"2016-03-31T16:24:01","date_gmt":"2016-03-31T16:24:01","guid":{"rendered":"https:\/\/pure-media.info\/?p=26"},"modified":"2017-04-06T03:53:25","modified_gmt":"2017-04-06T03:53:25","slug":"guide-to-install-webmin-on-ubuntu-and-securing-it","status":"publish","type":"post","link":"https:\/\/pure-media.info\/index.php\/2016\/03\/31\/guide-to-install-webmin-on-ubuntu-and-securing-it\/","title":{"rendered":"Guide to install Webmin on Ubuntu and securing it"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/webmin-logo.png?ssl=1\" rel=\"attachment wp-att-27\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"27\" data-permalink=\"https:\/\/pure-media.info\/index.php\/2016\/03\/31\/guide-to-install-webmin-on-ubuntu-and-securing-it\/webmin-logo\/\" data-orig-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/webmin-logo.png?fit=300%2C300&amp;ssl=1\" data-orig-size=\"300,300\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"webmin-logo\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/webmin-logo.png?fit=300%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/webmin-logo.png?fit=300%2C300&amp;ssl=1\" class=\"aligncenter wp-image-27\" src=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/webmin-logo.png?resize=351%2C351&#038;ssl=1\" alt=\"webmin-logo\" width=\"351\" height=\"351\"><\/a><\/p>\n<p>In this post, I am going to explain how to install Webmin on Ubuntu and secure it to prevent unauthorized break-ins. Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, explore files, setup cron jobs, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files, and lets you manage a system remotely. Several posts, such as, setting up MiniDLNA, backing up XBMC, and tracking a website&rsquo;s social stats, published here take advantage of Webmin&rsquo;s ease of use. Therefore, it is time we explain how to install Webmin on Ubuntu to help those of you who are not comfortable with commandline. Webmin Wiki is a very good place to visit if you have questions on any of the features in Webmin.<\/p>\n<p>&nbsp;<\/p>\n<p>Let start and make sure we are up to date before we do our install<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">sudo apt-get update &amp;&amp; sudo apt-get upgrade<\/code><\/p>\n<p>Webmin requires certain other packages to be present for it to run smoothly. Use the following command to install the dependencies for Webmin<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python<\/code><\/p>\n<p>Now lets download the latest version of Webmin for ubuntu\/debian<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">wget http:\/\/prdownloads.sourceforge.net\/webadmin\/webmin_1.791_all.deb<\/code><\/p>\n<p>After the download completes we can install it using these commands<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">sudo dpkg -i webmin_1.791_all.deb<\/code><\/p>\n<p>(optional) if you get an error during the install process try this command to correct the issue<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">sudo apt-get -f install<\/code><\/p>\n<p>Webmin install complete. You can now login to <strong>https:\/\/LOCALHOST:10000\/<\/strong><br \/>\nas root with your root password, or as any user who can use sudo<br \/>\nto run commands as root.<\/p>\n<p>Securing Webmin<\/p>\n<p>You will notice that when logging in to Webmin you get the alert about connection not being secure<\/p>\n<p><a href=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/Login-to-Webmin.png?ssl=1\" rel=\"attachment wp-att-28\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"28\" data-permalink=\"https:\/\/pure-media.info\/index.php\/2016\/03\/31\/guide-to-install-webmin-on-ubuntu-and-securing-it\/login-to-webmin\/\" data-orig-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/Login-to-Webmin.png?fit=252%2C30&amp;ssl=1\" data-orig-size=\"252,30\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Login to Webmin\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/Login-to-Webmin.png?fit=252%2C30&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/Login-to-Webmin.png?fit=252%2C30&amp;ssl=1\" class=\"size-full wp-image-28 alignleft\" src=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/Login-to-Webmin.png?resize=252%2C30&#038;ssl=1\" alt=\"Login to Webmin\" width=\"252\" height=\"30\"><\/a><\/p>\n<p style=\"text-align: left;\">One you log in with a root\/sudo user Click the webmin down arrow in the menu on the right and Click Webmin Configuration, Finally click&nbsp;SSL Encryption<\/p>\n<p style=\"text-align: left;\"><a href=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/QuickLauncher.png?ssl=1\" rel=\"attachment wp-att-29\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"29\" data-permalink=\"https:\/\/pure-media.info\/index.php\/2016\/03\/31\/guide-to-install-webmin-on-ubuntu-and-securing-it\/quicklauncher\/\" data-orig-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/QuickLauncher.png?fit=217%2C492&amp;ssl=1\" data-orig-size=\"217,492\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"QuickLauncher\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/QuickLauncher.png?fit=132%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/QuickLauncher.png?fit=217%2C492&amp;ssl=1\" class=\" wp-image-29 alignleft\" src=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/QuickLauncher.png?resize=155%2C351&#038;ssl=1\" alt=\"QuickLauncher\" width=\"155\" height=\"351\"><\/a><\/p>\n<p style=\"text-align: left;\"><a href=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/2016-03-31-12_11_12-Photos.png?ssl=1\" rel=\"attachment wp-att-30\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"30\" data-permalink=\"https:\/\/pure-media.info\/index.php\/2016\/03\/31\/guide-to-install-webmin-on-ubuntu-and-securing-it\/2016-03-31-12_11_12-photos\/\" data-orig-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/2016-03-31-12_11_12-Photos.png?fit=998%2C684&amp;ssl=1\" data-orig-size=\"998,684\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"2016-03-31 12_11_12-Photos\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/2016-03-31-12_11_12-Photos.png?fit=300%2C206&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/2016-03-31-12_11_12-Photos.png?fit=800%2C548&amp;ssl=1\" class=\"wp-image-30 alignright\" src=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/2016-03-31-12_11_12-Photos.png?resize=404%2C277&#038;ssl=1\" alt=\"2016-03-31 12_11_12-Photos\" width=\"404\" height=\"277\"><\/a><\/p>\n<p style=\"text-align: left;\">Creating a SSL certificate we are going to click on the Lets Encrypt tab add your Domain or IP and click Request Certificate<\/p>\n<p style=\"text-align: left;\"><a href=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/ssl.png?ssl=1\" rel=\"attachment wp-att-31\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"31\" data-permalink=\"https:\/\/pure-media.info\/index.php\/2016\/03\/31\/guide-to-install-webmin-on-ubuntu-and-securing-it\/ssl\/\" data-orig-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/ssl.png?fit=1667%2C427&amp;ssl=1\" data-orig-size=\"1667,427\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"ssl\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/ssl.png?fit=300%2C77&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/ssl.png?fit=800%2C205&amp;ssl=1\" class=\"aligncenter size-full wp-image-31\" src=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/ssl.png?resize=800%2C205&#038;ssl=1\" alt=\"ssl\" width=\"800\" height=\"205\"><\/a><\/p>\n<p style=\"text-align: left;\">Now your all set, allow for 15min for the certificate to propagate then you will see<\/p>\n<p style=\"text-align: left;\"><a href=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/securewebmin.png?ssl=1\" rel=\"attachment wp-att-32\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"32\" data-permalink=\"https:\/\/pure-media.info\/index.php\/2016\/03\/31\/guide-to-install-webmin-on-ubuntu-and-securing-it\/securewebmin\/\" data-orig-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/securewebmin.png?fit=295%2C25&amp;ssl=1\" data-orig-size=\"295,25\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"securewebmin\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/securewebmin.png?fit=295%2C25&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/securewebmin.png?fit=295%2C25&amp;ssl=1\" class=\"size-full wp-image-32 alignleft\" src=\"https:\/\/i0.wp.com\/pure-media.info\/wp-content\/uploads\/2016\/03\/securewebmin.png?resize=295%2C25&#038;ssl=1\" alt=\"securewebmin\" width=\"295\" height=\"25\"><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, I am going to explain how to install Webmin on Ubuntu and secure it to prevent unauthorized<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[85],"tags":[16,12,10,19,4,11,20,9,8,7,18],"class_list":["post-26","post","type-post","status-publish","format-standard","hentry","category-tech-tip","tag-command","tag-create","tag-install","tag-secure","tag-server","tag-setup","tag-ssl","tag-tahr","tag-trusty","tag-ubuntu","tag-webmin"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":false,"jetpack_shortlink":"https:\/\/wp.me\/p7oBs4-q","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/posts\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/comments?post=26"}],"version-history":[{"count":0,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/posts\/26\/revisions"}],"wp:attachment":[{"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/media?parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/categories?post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pure-media.info\/index.php\/wp-json\/wp\/v2\/tags?post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}