SDB:Webmin

Jump to: navigation, search



Introduction

Webmin is a web-based system administration tool for Unix-like servers. It provides a graphical interface for configuring and managing many aspects of a server, including users, services, networking, storage, configuration files and a wide range of server applications such as Postfix, BIND, Apache, PHP, and MySQL.

For openSUSE users, Webmin may be particularly useful if you are looking for a graphical administration tool for server configuration. It can provide functionality similar to some of the server administration tools that were formerly available through YaST, while covering areas that are not currently provided by other graphical tools such as Cockpit.

Webmin is not a replacement for YaST or Cockpit, but can be a useful alternative for administrators who prefer a graphical interface rather than configuring services entirely from the command line.

Install (obsolete)

This previous method don't works anymore because some change in git setup.

Preferred Method is via GIT (http://www.webmin.com/git.html) if needed install git first:

zypper in git

now install webmin:

git clone git://github.com/webmin/webmin.git /usr/local/webadmin
cd /usr/local/webadmin
sudo sh setup.sh

Follow interactive CLI setup.

Install (2023)

Tested on august 22, 2023 on openSUSE Tumbleweed up to date.

Go to Webmin download page

Navigate to the Virtualmin repository link, or go directly to the Virtualmin download repository, and download the webmin-*.noarch.rpm package.

Copy this file to your server, for example with

 scp -v Downloads/webmin-*.noarch.rpm user@IP: 

then login to your server and install it with

 zypper in /home/user/webmin-*.noarch.rpm 

Update (obsolete)

cd /usr/local/webadmin
git pull
sudo /etc/webmin/restart

FirewallD

This section only applies if you need to allow remote access to Webmin through the firewall.

Add Service

firewall-cmd --permanent --new-service=webmin

Configure Service

firewall-cmd --permanent --service=webmin --set-description="web-based interface for system administration"
firewall-cmd --permanent --service=webmin --add-port=10000/tcp
firewall-cmd --reload

Open Service to enable temporary (until restart) access on "public" network connections:

firewall-cmd --zone=public --add-service=webmin

to enable permanent access on "home" network:

firewall-cmd --permanent --zone=home --add-service=webmin

Accessing webmin

Webmin is a web-based interface for administering a server.

To access Webmin, open a web browser on the server itself or on another machine that has network access to the server and enter:

 https://server-ip-or-name:10000 

Port 10000 is the default port used by Webmin.

When connecting from within server itself, you can use:

 https://localhost:10000 

If Webmin is correctly installed and running, it will display a login page. Log in using a valid system account and its password. Depending on the administration tasks required, this may be the root account or another account with appropriate privileges.

For further information on using and configuring Webmin, see the Webmin documentation.

Important notice

As of august 22, 2023, me (jdd) have tested the install, but not yet *used* webmin, so be prudent. If you can, update this page according to your experience.

Sources