Вы находитесь на странице: 1из 7

How to Install Webmin on Fedora 22 / CentOs 7.

1 de 7

about:reader?url=http://linoxide.com/linux-how-to/install-webmin-fedo...

linoxide.com

How to Install Webmin on Fedora 22 /


CentOs 7.1
By Kashif S in LINUX HOWTO

Hi, in todays article we will show you the installation process of


Webmin on Fedora22/CentOs7.1. Webmin is a program that
simplifies the process of managing a Linux or Unix system through
its Graphical User Interface. Webmin is designed to edit system files
directly through the GUI using the built in web server and a number
of CGI programs. It is good for existing infrastructure as it does not
take over control of the system as do some other server admin tools,
so editing a config file through Webmin is no different than editing
and saving that file through the CLI. Its very handy to quickly
troubleshoot issues and a great tool for managing multiple domains
on a single server with an ease.

Prerequisites
To install Webmin you must have super user privileges to run
commands to its installation process. Your operating system should
be upto date with latest repositories. Lets login login to your server
and install the optional dependencies on your server you wish to
install Webmin.
[root@localhost ~]# yum -y install perl perl-Net-SSLeay openssl
perl-IO-Tty

25-02-2016 17:52

How to Install Webmin on Fedora 22 / CentOs 7.1

2 de 7

about:reader?url=http://linoxide.com/linux-how-to/install-webmin-fedo...

Installing Webmin
There are different available options to install Webmin, since
Webmin isnt available in the default CentOS repositories, you must
add its repository to your system before installing.

1) Install through RPM


To install Webmin using the RPM version of Webmin, First we have
to download its RPM package from the official web page of Webmin,
that you can directly download using wget command as shown
below.
[root@localhost ~]# wget http://prdownloads.sourceforge.net
/webadmin/webmin-1.760-1.noarch.rpm
Now run the following command to install Webmin that will
completes the rest of the installation process to the /usr/libexec
/webmin directory and you will be able to login to
https://your_server_ip:10000/ as root user with your root password.

2) Install Using YUM Repository


To install webmin using the Webmin yum repository, run the
commands below to create a repository file for Webmin.
[root@localhost ~]# vi /etc/yum.repos.d/webmin.repo
Add the below lines to the newly created above file and save the file.
[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
25-02-2016 17:52

How to Install Webmin on Fedora 22 / CentOs 7.1

3 de 7

about:reader?url=http://linoxide.com/linux-how-to/install-webmin-fedo...

mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
Then issue the following command to add the repository key to your
system for the repository , we have added in above file and import its
key to build the trust between your Operating system and the newly
added repository with its all packages.
[root@localhost ~]# wget http://www.webmin.com/jcameronkey.asc
[root@localhost ~]# rpm --import jcameron-key.asc
Now we can install webmin using the yum command as shown
below to install Webmin.
[root@localhost ~]#yum install webmin
The above command will be installing latest version of Webmin with
all its dependencies.
Once the installation process completes, check the status of webmin
service and enable it to auto startup at every boot.
[root@localhost ~]# service webmin status
Webmin (pid 5982) is running
[root@localhost ~]# chkconfig webmin on
After installing Webmin, open any modern browser and browse to
the server via its hostname or IP address followed by :10000
(example: http://server_IP:10000), and make sure that :10000 port is
allowed in your firewall. In centOS 7 you can allow the port using
below command.

25-02-2016 17:52

How to Install Webmin on Fedora 22 / CentOs 7.1

4 de 7

about:reader?url=http://linoxide.com/linux-how-to/install-webmin-fedo...

firewall-cmd --permanent --zone=public --add-port=10000/tcp


firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload

Using Webmin GUI


Now we will access Webmin by opening browser with our servers ip
address (or domain name). Go to https://ipaddress:10000. If
everything worked fine, youll be greeted to a Webmin login screen
as shown below.

Login with your root credentials, after successful login you will be
directed towards Webmin Administration Graphical User interface
showing the System Information page with overall systems
resources and other information. You can also view available
updates from this page.

25-02-2016 17:52

How to Install Webmin on Fedora 22 / CentOs 7.1

5 de 7

about:reader?url=http://linoxide.com/linux-how-to/install-webmin-fedo...

Creating New User using Webmin


To create new user using webmin, let's go to the Users and Groups
page under the System drop down menue. There youll be able to
easily create and manage user accounts.

Once you choose the New user creation option, then you will have to
add its further details in next available options that will be
comprising of user details, password options and group
membership details. Then click on "Create" button at the bottom of
the page after you configured your new user.

Using Command Line on Webmin


You can also open the system command shell by navigating Others
>> Command Shell option on the left bar of your Webmin
Adminisration. It lookss to be a normal terminal window, the only
difference is that it is on a web browser. So, enter any shell
command to execute in the text field as shown below.

25-02-2016 17:52

How to Install Webmin on Fedora 22 / CentOs 7.1

6 de 7

about:reader?url=http://linoxide.com/linux-how-to/install-webmin-fedo...

MySQL Database Administration


We can perform almost every function through Webmin that we do
from command line. In order to manage your database server,
navigate to Servers section and click on the MySQL Database
Server under the drop down option. You will see all the databases in
this section and can also perform system level functions from here. If
you want to create new data base then drag your mouse and point to
the option under the MySQL databases as shown below.

Conclusion
Its concluded that now we can perform every system level task using
the Webmin GUI. There are many functions available through
Webmin from restart servers to managing their services and VPN to
using CD burning etc. So, look around and explore the various
features and services that are available through Webmin and start
setting up and customizing your systems. Its just wonderful
software that every system administrator must have installed.

25-02-2016 17:52

How to Install Webmin on Fedora 22 / CentOs 7.1

7 de 7

about:reader?url=http://linoxide.com/linux-how-to/install-webmin-fedo...

Category: LINUX HOWTO

25-02-2016 17:52

Вам также может понравиться