Friday, August 22, 2014

How to install Webmin on Ubuntu

Installing Webmin On Ubuntu 

In this tutorial I’ll shown you ways to putting in webmin on ubuntu server twelve.04, There ar 2 strategies for putting in webmin. methodology 1: putting in via APT, methodology 2: putting in manually. before putting in webmin you wish to put in initial some perl-related libraries needed by webmin:

sudo apt-get install perl libnet-ssleay-perl libauthen-pam-perl libpam-runtime openssl libio-pty-perl apt-show-versions python
Method 1: putting in webmin via APT

Login as root:

sudo -i

Add the Webmin repository in your ubuntu server with following commands

cat >> /etc/apt/sources.list <<-EOF
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
EOF
Logout from root:

exit
Import GPG key, Update the supply list then install webmin

wget http://www.webmin.com/jcameron-key.asc && sudo apt-key add jcameron-key.asc
sudo apt-get update
sudo apt-get install webmin

Method 2: putting in Manualy

Download the newest webmin archive (this would possibly amendment in time) and select debian package

wget http://www.webmin.com/download/deb/webmin-current.deb

Install webmin with following command:

sudo dpkg --install webmin-current.deb
to access webmin open your browser and enter:  http://host:10000/




Error:1
sudo dpkg -i webmin_1.530_all.deb 
(Reading database ... 309297 files and directories currently installed.)
Preparing to replace webmin 1.530 (using webmin_1.530_all.deb) ...
Unpacking replacement webmin ...
dpkg: dependency problems prevent configuration of webmin:
 webmin depends on libnet-ssleay-perl; however:
  Package libnet-ssleay-perl is not installed.
 webmin depends on libauthen-pam-perl; however:
  Package libauthen-pam-perl is not installed.
 webmin depends on libio-pty-perl; however:
  Package libio-pty-perl is not installed.
 webmin depends on apt-show-versions; however:
  Package apt-show-versions is not installed.
dpkg: error processing webmin (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead ...
Errors were encountered while processing:
 webmin


Error2:

sudo apt-get install libnet-ssleay-perl libio-pty-perl
Reading package lists... Done
Building dependency tree    
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  webmin: Depends: libauthen-pam-perl but it is not going to be installed
          Depends: apt-show-versions but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)

Solution:
sudo apt-get -f install 

No comments:

Post a Comment