{"id":1565,"date":"2018-12-03T14:36:29","date_gmt":"2018-12-03T11:36:29","guid":{"rendered":"http:\/\/kifarunix.com\/?p=1565"},"modified":"2018-12-11T23:26:18","modified_gmt":"2018-12-11T20:26:18","slug":"how-to-install-and-use-webmin-on-fedora-29-fedora-28-centos-7","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/how-to-install-and-use-webmin-on-fedora-29-fedora-28-centos-7\/","title":{"rendered":"Installing Webmin Web-based Linux System Administration Tool Fedora 29\/28\/CentOS 7"},"content":{"rendered":"
Webmin<\/a> is an open-source perl based program that simplifies the administration of Linux\/Unix systems through a web interface. Talk about system package installation, removal, managing user accounts, network administration, firewall configurations, exporting files and directories etc. It is commonly used in web hosting control panels. In this guide, we are going to learn how to install Webmin on Fedora 29\/Fedora 28\/CentOS 7.<\/p>\n Before you can proceed, ensure that you have LAMP Stack installed. You can check our previous article on How To Install LAMP (Linux, Apache, MySQL, PHP) Stack on Fedora 28\/29<\/a>.<\/p>\n Once the pre-requisites above are met, proceed to install Webmin. Note that Webmin is not available on the default Fedora\/CentOS repositories. Therefore, you can download and install the RPM version or add the Webmin repository and install it via the package manager.<\/p>\n Download the Webmin RPM file from the downloads page<\/a> , or you can simply run the command below to download it:<\/p>\n Before you can install Webmin, ensure that the following dependencies are installed; Once the dependencies are installed, run the command below to install Webmin RPM;<\/p>\n To install Webmin via package manager, you need to create Webmin repos with the following content;<\/p>\n Install the Webmin GPG Key with which the packages are signed;<\/p>\n Once you have imported the GPG key, run the command below to install Webmin and all its dependencies.<\/p>\n Once the installation is complete, you will see an output message on how to access the Webmin web interface.<\/p>\n If firewall is running, open TCP port 10000.<\/p>\n Start and enable Webmin to run on system boot<\/p>\n To access Webmin, navigate to the web browser with the url in the above format. You will be welcomed by Webmin login page.<\/p>\n The default login credentials for Webmin is your default You can however reset the root password for login in to Webmin by running the command below;<\/p>\n Once you are logged in to your Webmin, you can administer any other normal system task. For example, to change the user’s pasword, click on System > <\/strong>Change Passwords<\/strong>. Select a user to change his or her password. Enter the password details and select Force user to change password at next login?<\/strong> to allow the user reset the password at login.<\/p>\n When you login as a user whose password was changes, you will be prompted to reset you password.<\/p>\n To wrap up this guide, Webmin is a very useful too especially for guys with Linux experience and not so used to the perplexing job of system administrators, I mean the CLI, you know. You can achieve several tasks that you would otherwise have to do from the command line with Webmin. Please feel free to explore this utility and what it offers by reading more on official Webmin Documentation Page<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":" Webmin is an open-source perl based program that simplifies the administration of Linux\/Unix systems through a web interface. Talk about system package installation, removal, managing<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121],"tags":[268],"class_list":["post-1565","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-webmin","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/1565"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=1565"}],"version-history":[{"count":6,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/1565\/revisions"}],"predecessor-version":[{"id":1633,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/1565\/revisions\/1633"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=1565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=1565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=1565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}Pre-requisite<\/h2>\n
Installing Webmin<\/h2>\n
Install Webmin via RPM<\/h3>\n
wget https:\/\/prdownloads.sourceforge.net\/webadmin\/webmin-1.900-1.noarch.rpm<\/code><\/pre>\n
perl, perl-Net-SSLeay, openssl, perl-IO-Tty, perl-Encode-Detect<\/code>. You can simply installed them by running the command below;<\/p>\n
sudo yum install
perl perl-Net-SSLeay openssl perl-IO-Tty perl-Encode-Detect<\/code><\/pre>\n
rpm -U webmin-1.900-1.noarch.rpm<\/code><\/pre>\n
Installing Webmin via Package Manager<\/h4>\n
vim \/etc\/yum.repos.d\/webmin.repo<\/code><\/pre>\n
[Webmin]\r\nname=Webmin Distribution Neutral\r\n#baseurl=https:\/\/download.webmin.com\/download\/yum\r\nmirrorlist=https:\/\/download.webmin.com\/download\/yum\/mirrorlist\r\nenabled=1<\/code><\/pre>\n
wget http:\/\/www.webmin.com\/jcameron-key.asc\r\nsudo rpm --import jcameron-key.asc<\/code><\/pre>\n
yum update\r\nyum install webmin<\/code><\/pre>\n
...<\/strong>\r\nWebmin install complete. You can now login to https:\/\/webmin.example.com:10000\/<\/strong>\r\nas root with your root password.<\/strong>\r\n...<\/strong><\/code><\/pre>\n
firewall-cmd --add-port=10000\/tcp --permanent\r\nfirewall-cmd --reload<\/code><\/pre>\n
systemctl start webmin\r\nsystemctl enable webmin<\/code><\/pre>\n
Access Webmin<\/h4>\n
<\/a><\/p>\n
root<\/code> user and its default password. When you login, you will land on the Webmin dashboard as shown below;<\/p>\n
<\/a><\/p>\n
\/usr\/libexec\/webmin\/changepass.pl \/etc\/webmin root STRONGP@SSW0RD<\/code><\/pre>\n
Using Webmin<\/h3>\n
<\/a><\/p>\n
ssh amos@10.0.0.57\r\nPassword: (PASSWORD SET on dashboard<\/strong>)\r\nYou are required to change your password immediately (administrator enforced)\r\nCurrent password: (PASSWORD SET on dashboard<\/strong>)\r\nNew password: NEW PASS<\/strong>\r\nRetype new password: NEW PASS<\/strong>\r\nWeb console: https:\/\/webmin.example.com:9090\/ or https:\/\/10.0.2.15:9090\/\r\n\r\nLast login: Mon Dec 3 14:02:07 2018 from 10.0.0.31<\/code><\/pre>\n