{"id":215,"date":"2011-06-25T03:21:34","date_gmt":"2011-06-25T03:21:34","guid":{"rendered":"http:\/\/blog.nixwind.com\/?p=215"},"modified":"2011-06-25T03:36:52","modified_gmt":"2011-06-25T03:36:52","slug":"minimal-hosting-control-panel-with-webmin","status":"publish","type":"post","link":"https:\/\/blog.nixwind.com\/?p=215","title":{"rendered":"Minimal hosting control panel with Webmin"},"content":{"rendered":"<p>If you have a VPS server it is always good to have a very thin control  panel which will not create  resource overhead. Webmin minimal, is such an ideal thin control panel. Here  we can see how we can build a hosting environment with  webmin-minimal and other\u00a0 softwares from source.<\/p>\n<p><em>Initial Control panel setup and Firewall Installation.<\/em><\/p>\n<p>We are using a fresh centos VPS. Login to the VPS as root user<\/p>\n<p><strong>1) Webmin Minimal Installation<\/strong><\/p>\n<p>We must install the minimal version of webmin, replace X.xxx with the webmin version you download.<\/p>\n<p><code># cd \/usr\/local\/src\/<br \/>\n# wget http:\/\/prdownloads.sourceforge.net\/webadmin\/webmin-X.xxx-minimal.tar.gz<br \/>\n# tar -zxvf webmin-X.xxx-minimal.tar.gz<br \/>\n# cd webmin-X.xxx\/<br \/>\n# .\/setup.sh<br \/>\n<\/code><\/p>\n<p>You will be prompted with the below questions, you can use default values itself . Please use a good password.<\/p>\n<p>Config file directory [\/etc\/webmin]:<br \/>\nLog file directory [\/var\/webmin]:<br \/>\nFull path to perl (default \/usr\/bin\/perl):<br \/>\nWeb server port (default 10000):<br \/>\nLogin name (default admin): nixwind<br \/>\nLogin password:<br \/>\nPassword again:<br \/>\nStart Webmin at boot time (y\/n): y<\/p>\n<p>Make sure that firwewall is disabled ( temporarily, we will be installing CSF later in this article) .<\/p>\n<p><code><br \/>\n# \/etc\/init.d\/iptables stop<br \/>\n<\/code><br \/>\nYou can access webmin with<\/p>\n<p>http:\/\/server_ip:10000<br \/>\nUsername and Password you have given during installation<\/p>\n<p><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-login.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-291\" title=\"webmin-login\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-login-300x151.png\" alt=\"\" width=\"300\" height=\"151\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-login-300x151.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-login.png 457w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><strong>2) Install a Theme ( Optional ) <\/strong><\/p>\n<p>I&#8217;m going to use Vitualmin Framed theme. To Install a theme, click on <em><strong>Webmin Configuration<\/strong><\/em><\/p>\n<p><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-configuration.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-288\" title=\"webmin-configuration\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-configuration-300x75.png\" alt=\"\" width=\"300\" height=\"75\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-configuration-300x75.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-configuration.png 1018w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nClick on <strong><em>Webmin Themes<\/em><\/strong><\/p>\n<p><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-themes.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-290\" title=\"webmin-themes\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-themes-300x120.png\" alt=\"\" width=\"300\" height=\"120\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-themes-300x120.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-themes.png 695w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>On<strong><em> Webmin Themes<\/em><\/strong> menu, select <em><strong>From ftp or http url<\/strong><\/em> and specific the exact theme file there.<br \/>\nVirtualMin Framed Theme url :\u00a0 http:\/\/download.webmin.com\/download\/virtualmin\/virtual-server-theme-X.x.wbt.gz<\/p>\n<p><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-installtheme.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-287\" title=\"webmin-installtheme\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-installtheme-300x102.png\" alt=\"\" width=\"300\" height=\"102\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-installtheme-300x102.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-installtheme.png 1023w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Click on Install Theme<\/p>\n<p>Then go to Webmin Themes again and select VirtualMin Framed Theme as current theme.<\/p>\n<p><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-changetheme.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-286\" title=\"webmin-changetheme\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-changetheme-300x89.png\" alt=\"\" width=\"300\" height=\"89\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-changetheme-300x89.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-changetheme.png 1023w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Click on Change, that&#8217;s all<\/p>\n<p><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-virtualminframed.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-289\" title=\"webmin-virtualminframed\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-virtualminframed-300x111.png\" alt=\"\" width=\"300\" height=\"111\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-virtualminframed-300x111.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-virtualminframed.png 1014w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>3) Install Config Server Firewall for firewall management with Webmin.<\/strong><\/p>\n<p>Install CSF<\/p>\n<p>Login to server as root and execute the below commands.<br \/>\n<code><br \/>\n# cd \/usr\/src\/<br \/>\n# wget http:\/\/www.configserver.com\/free\/csf.tgz<br \/>\n# tar -zxvf csf.tgz<br \/>\n# cd csf\/<br \/>\n# sh install.sh<br \/>\n<\/code><br \/>\nInstall Webmin module of CSF<\/p>\n<p>Select <strong>Webmin Configuration<\/strong> from left menu and click on <em><strong>Webmin Modules<\/strong><\/em><\/p>\n<p><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-modules.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-292\" title=\"webmin-modules\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-modules-300x100.png\" alt=\"\" width=\"300\" height=\"100\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-modules-300x100.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-modules.png 739w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Select Install <em><strong>From local file<\/strong><\/em> and specific path as \/etc\/csf\/csfwebmin.tgz<\/p>\n<p><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-csf.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-293\" title=\"webmin-csfinstall\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-csf-300x106.png\" alt=\"\" width=\"300\" height=\"106\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-csf-300x106.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-csf-1024x363.png 1024w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-csf.png 1082w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Click on &#8220;Install Module&#8221;<\/p>\n<p>You need to configure CSF, Find it on Webmin under <em><strong>System<\/strong><\/em> &gt;&gt; <em><strong>ConfigServer Security &amp; Firewall<\/strong><\/em><\/p>\n<p><a href=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-csf-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-294\" title=\"webmin-csf\" src=\"http:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-csf-1-300x129.png\" alt=\"\" width=\"300\" height=\"129\" srcset=\"https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-csf-1-300x129.png 300w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-csf-1-1024x442.png 1024w, https:\/\/blog.nixwind.com\/wp-content\/uploads\/2011\/06\/webmin-csf-1.png 1333w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Configure firewall with, <em><strong>Firewall Configuration<\/strong><\/em> and <em><strong>Check Server Security <\/strong><\/em>. Disable\u00a0 testing mode after properly configuring the firewall.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you have a VPS server it is always good to have a very thin control panel which will not create resource overhead. Webmin minimal, is such an ideal thin control panel. Here we can see how we can build a hosting environment with webmin-minimal and other\u00a0 softwares from source. Initial Control panel setup and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[83,82,80,81],"_links":{"self":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts\/215"}],"collection":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=215"}],"version-history":[{"count":12,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts\/215\/revisions"}],"predecessor-version":[{"id":559,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=\/wp\/v2\/posts\/215\/revisions\/559"}],"wp:attachment":[{"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.nixwind.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}