How to install Webmin on Linux Mint

How to install Webmin on Linux Mint
no comments
0
0

How to install Webmin on Linux MintInstalling Webmin on Mint or in fact any distro with a GUI is frowned up on for the simple reason your adding more to the possibility list of loop holes, security hacks and so on and this is true. However running your own website on your own host as an individual for the pleasure of it should not cause you problems. Using this set-up for business purposes is not recommended and the reason I say that is down to the fact that no one else recommends it and I am not in a position to tell you otherwise.

There are many reasons you would want to put webmin on a mint install including samba, a basic website server “actually ignore basic because webmin is extremely up there with the latest innovations” or print server and more. Me and My self likes to put Webmin on GUI machine for the simple fact computers seem to go tit’s up every day in my house and I need a GUI pc to do every day business, always on hand which means nothing can be spared.

What I can say in my opinion is that Webmin for me seems to run better out of the box on Mint than it does on Ubuntu server. The problem with Webmin is it checks your version and if it finds that your O/S is not acceptable I.e. a version that Webmin as not been tested on it will refuse to install. There are workarounds to this but in my experience as left Webmin in a messed up state with lot’s of fixes to be put in place. So what we need is to convince Webmin that Mint is in fact Ubuntu server. 🙂 And you will kick your self if you ever wanted the answer to this question and see how simple it is.

So keeping in mind all the above there is no reason why you should not run Webmin on Mint on the understanding that regular updates are applied. And by that I mean visiting the Mint desktop and checking for updates rather than solely relying on Webmin the Webmin interface although this is also frowned up on to.

So without further a due let’s start. I’ll presume you have a little knowledge of Linux and that you have Mint installed. I have chosen Mint 13 LTS but this works the same on Mint 17 LTS also.

Firstly I do not want to be sat at the station I am installing Webmin on throughout the process so I quickly install open ssl service and move to my preferd PC using putty to Cary on the install of webmin. Firstly open the Terminal and log in as root using sudo su and password.

To install openssH use the following command:

apt-get install ssh openssh-server

Install openssh mint 13

Now before we leave the server and move to putty you will need it’s I.P address if you have not already got it. In this example I can see it’s 192.169.0.2 . To do that type the following in to the terminal :

ifconfig

ifconfig for server ip address

Now we can move onto my preferd PC and finish of the install using putty. If you have not got putty installed you can do so from package manager or for windows you can get it here. Ok so let’s fire up putty.

Enter the server I.P address and click open. You will be presented with a Terminal like screen where you will need to enter your user name and password for your server.

Now use sudo su to log in as root.
Now we are in and ready to go we need to edit a file but to do that I want to install my preferd file editor as I find the standard vi program to be a little flaky. To do that type the following command:

apt-get install vim-nox

putty conect ssh mint

 

putty sudo su login

Once that as completed type the following :

vi /etc/issue

 

You will now be presented with your version of mint which in my case is Linux Mint 13 Maya. We need to change this to Ubuntu 14.04.1 LTS which can be done by pressing the “I” key on your keyboard. Once that done press escape then Shift + : and finally type wq and return to save the changes.

version number

Now we need to install some dependencies so enter the below into the terminal:

apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

Now that is done let’s install webmin it’s self. “Important” At the time of writing this guide Webmin 1.700 as some issues. Nothing major but it can throw up errors when navigating file issues on some occasions. So I am going to install 1.702 which is a development version. However you can change the number and so on below if you would like to stick with 1.700 I will also include the details for that. Type the following into the Terminal:

For 1.700 :

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.700_all.deb

and then:
dpkg –install webmin_1.700_all.deb
For 1.702

wget http://download.webmin.com/devel/deb/webmin_1.702_all.deb

and then :
dpkg –install webmin_1.702_all.deb
webmin login webmin on MInt 13

Once that as all completed you can now visit your webmin install by going to 192.168.02:10000

Thats it, all done. I will add more How to’s over time.

/p