41

How To Install Webmin on Ubuntu, Debian and Kali Linux

 3 years ago
source link: https://computingforgeeks.com/how-to-install-webmin-in-ubuntu-debian-and-kali-linux/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
How To Install Webmin on Ubuntu, Debian and Kali Linux

In this guide, we will cover installation of Webmin on Ubuntu 18.04 / Ubuntu 16.04 / Debian 9 / Debian 8 and latest Kali Linux release. Webmin is the leading web-based Linux/Unix system administration Toolkit. Webmin works on all Linux platforms. With webmin, you can set up user accounts, manager Apache web server, DNS Server, samba and File configuration, email servers, package management e.t.c.

The latest release of  Webmin as of this writing is Version 1.881 (16th March 2018). Among the modules included with webmin are:

BIND DNS Server: Create and edit domains, DNS records, BIND options and views
BSD Firewall : Configure a BSD firewall using IPFW, by creating and editing rules
DHCP Server: Manage shared networks, subnets, hosts, and groups for ISC DHCPD
CD Burner: Burn data CDs from ISO images or selected directories
File Manager : View, edit and change permissions on files and directories on your system with a Windows-like file manager
Dovecot IMAP/POP3 Server: Configure the Dovecot IMAP and POP3 mail retrieval server
LDAP Server: Manage the OpenLDAP server and objects in its database     All operating systems
MySQL Database Server: Setup databases, tables, and permissions in your MySQL database server
Linux RAID: Create RAID 0, 1, 4, 5, 6, 10 and linear devices on a Linux system
SSL certificates: Let’s Encrypt SSL certificate requests
IPsec VPN Configuration: Set up a client or server for an IPsec VPN using FreeSWAN

UPDATED ARTICLE FOR UBUNTU/DEBIAN

How to Install Webmin on Ubuntu 18.04 / 16.04 / Debian 9

There are two methods of installing Webmin on Debian family distributions:

  1. Installing Webmin from apt repository
  2. Installing Web Webmin by manually downloading .deb package

Method 1: Installing Webmin on Ubuntu / Debian / Kali Linux from apt repository

The easiest way to install Webmin on Ubuntu / Debian / Kali Linux without having to worry about dependencies is by using an apt repository. Add the repo using the command:

$ echo "deb http://download.webmin.com/download/repository sarge contrib" | \
sudo tee /etc/apt/sources.list.d/webmin.list

Next is to import Webmin PGP key so that the system will trust new repository:

$ wget http://www.webmin.com/jcameron-key.asc
$ sudo apt-key add jcameron-key.asc
OK

Update apt index and install Webmin:

$ sudo apt-get update
$ sudo apt-get install webmin

Confirm that the service is running:

root@graphite:~# systemctl status webmin
● webmin.service - LSB: web-based administration interface for Unix systems
   Loaded: loaded (/etc/init.d/webmin; generated)
   Active: active (running) since Wed 2018-07-11 12:11:06 UTC; 1min 40s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 16055 ExecStart=/etc/init.d/webmin start (code=exited, status=0/SUCCESS)
    Tasks: 1 (limit: 2362)
   CGroup: /system.slice/webmin.service
           └─16071 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf

Jul 11 12:11:04 graphite systemd[1]: Starting LSB: web-based administration interface for Unix systems...
Jul 11 12:11:04 graphite perl[16056]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=root
Jul 11 12:11:06 graphite webmin[16056]: Webmin starting
Jul 11 12:11:06 graphite systemd[1]: Started LSB: web-based administration interface for Unix systems

If your system is not systemd, check using:

$ sudo service webmin status
● webmin.service - LSB: web-based administration interface for Unix systems
   Loaded: loaded (/etc/init.d/webmin; generated)
   Active: active (running) since Wed 2018-07-11 12:11:06 UTC; 2min 52s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 16055 ExecStart=/etc/init.d/webmin start (code=exited, status=0/SUCCESS)
    Tasks: 1 (limit: 2362)
   CGroup: /system.slice/webmin.service
           └─16071 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf

Jul 11 12:11:04 graphite systemd[1]: Starting LSB: web-based administration interface for Unix systems...
Jul 11 12:11:04 graphite perl[16056]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=root
Jul 11 12:11:06 graphite webmin[16056]: Webmin starting
Jul 11 12:11:06 graphite systemd[1]: Started LSB: web-based administration interface for Unix systems.

Method 2: Install Webmin on Ubuntu / Debian / Kali Linux from .deb package

For this method, You’ll have to manually download the webmin debian package from the Link below Webmin Downloads

webmin download sourceforge 01

Open the folder for the latest release and download webmin_version_all.deb package:

Example:

$ export VER="1.881"
$ wget https://sourceforge.net/projects/webadmin/files/webmin/${VER}/webmin_${VER}_all.deb

If you have a new installation of Ubuntu check Top Must Do things after installing Ubuntu, and Top must do things after installing Kali Linux.

After downloading the package you have to install it with dpkg command as shown below:

 $ sudo dpkg -i webmin_${VER}_all.deb

If you get a message of unmet dependencies, like below:

$ sudo dpkg -i webmin_${VER}_all.deb 
Selecting previously unselected package webmin.
(Reading database ... 105117 files and directories currently installed.)
Preparing to unpack webmin_1.881_all.deb ...
Unpacking webmin (1.881) ...
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 package webmin (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (237-3ubuntu10) ...
Errors were encountered while processing:
 webmin

Run below command to have all dependencies resolved.

$ sudo apt-get -f install

Then re-install the package using dpkg command:

$ sudo dpkg -i webmin_${VER}_all.deb

The installation should be successful:

$ sudo dpkg -i webmin_${VER}_all.deb 
(Reading database ... 133688 files and directories currently installed.)
Preparing to unpack webmin_1.881_all.deb ...
Unpacking webmin (1.881) over (1.881) ...
Setting up webmin (1.881) ...
Webmin install complete. You can now login to https://192.168.10.10:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (237-3ubuntu10) ...

Accessing Webmin Web Interface

After installing and starting Webmin service, you can access the web dashboard using:

https://ip-address:10000/

Login with your root password account and root password. You should get to admin dashboard on successful authentication:

Also, check:

Easiest Way To Do System Restore on Windows 7, Windows 8 & 8.1
Top KDE Plasma themes
Top Three best Torrent Clients for Kali Linux
How To install VLC in CentOS 7.0 and RHEL 7.0


Recommend

  • 16

    Kali Linux non-root and no pen-test tools install w/ screenshotsApril 12th update: Thankfully, as of 2020.1, Kali Linux has swapped to a privileged non-root user b...

  • 20

    Want to Try Kali Linux? Here’s How to Install It in VirtualBox By Deepesh Sharma Published 23 hours ago...

  • 12
    • computingforgeeks.com 3 years ago
    • Cache

    How To Install Virtualbox on Ubuntu and Kali Linux

    How To Install Virtualbox on Ubuntu and Kali LinuxSearch ComputingForGeeksWelcome to our guide on how t...

  • 24

    Install VMware Player and Workstation on Kali LinuxAre you looking for a way to install VMware Player / VMware Workstation on your Kali Linux Machine?, If so, then this tutorial is for you. VMware Inc. provides a free version type 2 hyperviso...

  • 17

    Easiest way to install GNS3 1.3.9 on Kali Linux 2.0,Debian 8 and Ubuntu 15.04Gns3 1.3.9 was released which fixes 3 major problems found in version 1.3.8:Fixes launch crash on Windows 32-bit.Catch exception when trying to...

  • 15

    Welcome to how to Install VirtualBox on Kali Linux, Ubuntu and Debian.What’s VirtualBox?VirtualBox is a cross-platform virtualization application; basically, it is a type 2  hypervisor allowing you to run multiple operating sy...

  • 15
    • computingforgeeks.com 3 years ago
    • Cache

    How To Install Webmin on Ubuntu 22.04|20.04|18.04

    How To Install Webmin on Ubuntu 22.04|20.04|18.04In this guide, we will cover the steps to install Webmin on Ubuntu 22.04|20.04|18.04 Linux distributions. Webmin is the leading open source web-based Linux/Unix system administration control pa...

  • 7
    • www.howtoforge.com 3 years ago
    • Cache

    How to Install Webmin on Debian 11

    How to Install Webmin on Debian 11 Managing and administering Linux servers from the command line is very difficult for any beginner Linux user. In this case, you can use Webmin to manage your Linux server from the web-based interf...

  • 7

    How to Install Webmin with free Let's Encrypt SSL on Rocky Linux 8 Webmin is a free, open-source, and web-based Linux administration and management tool that allows you to configure the Linux system via a web browser. It is written...

  • 6
    • www.howtoforge.com 1 year ago
    • Cache

    How to Install Webmin on Debian 12

    How to Install Webmin on Debian 12 Managing and administering Linux servers from the command line is difficult for beginner Linux users. In this case, you can use Webmin to manage your Linux server from the web-based interface....

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK