How to install Webmin in OpenSUSE

To install Webmin in OpenSUSE

Webmin is a web-based system configuration tool used for the system administrations in Linux distributions. It allows the users to configure the operating system internals such as users, disk quotas, services or configuration files and control-open source apps like the Apache HTTP Server, PHP or MySQL. Installation of Webmin in OpenSUSE.


Installation of Webmin

Before installing Webmin, you need to install Apache package.


To install Apache package

linuxhelp:/home/user1 # zypper -n install apache2
Retrieving repository ' openSUSE-Leap-42.1-Update'  metadata ------------------[-]
Retrieving repository ' openSUSE-Leap-42.1-Update-Non-Oss'  metadata .......[done]
Building repository ' openSUSE-Leap-42.1-Update-Non-Oss'  cache ............[done]
.
.
.
(5/6) Installing: apache2-prefork-2.4.16-7.1 .............................[done]
(6/6) Installing: apache2-mod_dnssd-0.6-23.1 .............................[done]

Next, install the OpenSSL and its dependency packages.

linuxhelp:/home/user1 # zypper -n install openssl openssl-devel
Retrieving repository ' openSUSE-Leap-42.1-Update'  metadata ------------------[-]
Retrieving repository ' openSUSE-Leap-42.1-Update'  metadata ...............[done]
Building repository ' openSUSE-Leap-42.1-Update'  cache ....................[done]
.
.
.
(4/5) Installing: zlib-devel-1.2.8-6.4 ...................................[done]
(5/5) Installing: libopenssl-devel-1.0.1i-18.1 ...........................[done]

Then run the following command to install the perl dependency package.

linuxhelp:/home/user1 # zypper -n install perl perl-Net-SSLeay perl-Crypt-SSLeayLoading repository data...
Reading installed packages...
Resolving package dependencies...
.
.
.
Checking for file conflicts: .............................................[done]
(1/3) Installing: perl-5.18.2-5.1 ........................................[done]
(2/3) Installing: perl-Net-SSLeay-1.64-5.1 ...............................[done]
(3/3) Installing: perl-Crypt-SSLeay-0.72-2.2 .............................[done]

Once the required packages are installed, download the Webmin package by using the ' wget' command.

linuxhelp:/home/user1 # wget http://prdownloads.sourceforge.net/webadmin/webmin-1.770-1.noarch.rpm
--2016-10-25 16:25:59-- http://prdownloads.sourceforge.net/webadmin/webmin-1.770-1.noarch.rpm
Resolving prdownloads.sourceforge.net (prdownloads.sourceforge.net)... 216.34.181.59
Connecting to prdownloads.sourceforge.net (prdownloads.sourceforge.net)|216.34.181.59|:80... connected.
.
.
.
Saving to: ‘ webmin-1.770-1.noarch.rpm’ 
100%[======================================> ] 28,393,526 568KB/s in 56s
2016-10-25 16:26:57 (496 KB/s) - ‘ webmin-1.770-1.noarch.rpm’  saved [28393526/28393526]

Now its time to install the Webmin package with the ' rpm' command.

linuxhelp:/home/user1 # rpm -ivh webmin-1.770-1.noarch.rpm
warning: webmin-1.770-1.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 11f63c51: NOKEY
Preparing... ################################# [100%]
Operating system is SuSE Linux
Updating / installing...
1:webmin-1.770-1 ################################# [100%]
Webmin install complete. You can now login to https://linuxhelp:10000/
as root with your root password.

Open the browser and login with the user credentials.

Enter the server IP or hostname with the Webmin port number 10000.

At last, successfully logged into Webmin control panel.

FAQ
Q
When I download the .tar.gz version of Webmin, why do I get a .tar file? Or why is the file so much larger than the size shown on the download page?
A
Your browser has automatically gunzipped the file for you. Just rename it to webmin-1.890.tar (if it hasn't been already) and skip the gunzip step in the install instructions.
Q
What does the error pam_ck_connector(webmin:session): cannot determine display-device mean?
A
If you see this error in /var/log/auth.log , edit the file /etc/pam.d/webmin and change the line @include common-session to @include common-session-noninteractive . Then run /etc/webmin/resta
Q
How do I change my Webmin password if I can't login?
A
Included with the Webmin distribution is a program called changepass.pl to solve erecisely this problem. Assuming you have installed Webmin in /usr/libexec/webmin, you could change the passw
Q
How do I install new modules in Webmin?
A
Download a new module as a .wbm file, enter the Webmin Configuration module and click on the Webmin Modules button. Then use the form at the top of the page to install the module either from the local filesystem of the server Webmin is running on, or uploaded from the client your browser is on.
Q
What effect will Webmin have on my existing configuration files?
A
Just installing Webmin will not cause any config file changes to be made. When you start to use it, only the config files related to the changes that you make in Webmin will be modified. For