Requirements:

Raspberry Pi Running with an OS (We are using Raspbian Jessie for this tutorial)Connection to the Internet on your PiSSH Access

 

Video tutorial:

   

Installation:

Step 1: Boot up your Raspberry Pi and use SSH to connect to it. Step 2: Make sure your pi is up to date with the latest version. Use the below commands to do so.   Step 3: Next install the necessary packages that are required by webmin, these are Apache Server, MySQL Server, PHP, Samba File Server, Bind9 DNS Server etc.   Step 4: Wait till the installation of above items complete, you can check you Apache installation by opening hostname or IP address of your Pi in your browser, it will display default Apache Server page. Now we will create a directory in Raspberry Pi for downloading the Webmin Debian installation package.  

  Step 5: Now download the latest version of Webmin using the wget command, Update the version number of Webmin with the latest one, you can find the latest version number on Webmin’s official website. Look on the top let side after the menu for the latest version and update it in the below line of code in place of webmin_1.840_all.deb.   Step 6: Wait till the installation completes. It will display the Webmin Panel URL in your terminal windows. You access you Webmin panel by opening https://IP-Address-of-your-Pi:10000. Make sure the port 10000 is allowed by your router or as Webmin uses this port to listen to the browser requests.   That’s it, you will be able to access Webmin Panel from your browser, use the same id and password that you used for ssh to login into Webmin panel.  

Optional: Change default public_html directory for your Webmin Virtual Servers:

  Change the first line from /var/www to /home to change your default public_html directory to /home.     If you face any problem then comment below and don’t forget to subscribe to our mailing list for more tutorials like this.   Want to do more with your Raspberry Pi? Here are some of our tutorials to get you started with.

How to Install Virtualmin on a VPS Running UbuntuHow to Setup and Create Email Accounts in VirtualminHow to install Roundcube Webmail in VirtualminHow to Install SquirrelMail Webmail in Virtualmin