How to Setup Webmin 1.590-1 on CentOS 6.3 using RPM

Webmin is a versatile web-based interface for Linux system administration. With Webmin, you can manage various aspects of your server, such as user accounts, Apache, DNS, and file sharing, all from your browser. This comprehensive guide will walk you through the steps to install Webmin 1.590-1 on CentOS 6.3 using RPM. This process involves downloading the Webmin package, adding the GPG key, installing Webmin, starting the Webmin service, and configuring it to start at boot.

For more insights on the best web servers, you can out our detailed guides on Apache, Nginx, and LiteSpeed.

Step 1: Download Webmin

To begin, you need to download the Webmin package. You can do this by using the wget command followed by the URL of the Webmin RPM file. Here’s the command you need to run:

wget http://prdownloads.sourceforge.net/webadmin/webmin-1.590-1.noarch.rpm

Example:

[root@centos63 ~]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.590-1.noarch.rpm
--2012-08-02 22:49:07--  http://prdownloads.sourceforge.net/webadmin/webmin-1.590-1.noarch.rpm
Resolving prdownloads.sourceforge.net... 216.34.181.59
Connecting to prdownloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://downloads.sourceforge.net/project/webadmin/webmin/1.590/webmin-1.590-1.noarch.rpm [following]
--2012-08-02 22:49:08--  http://downloads.sourceforge.net/project/webadmin/webmin/1.590/webmin-1.590-1.noarch.rpm
Resolving downloads.sourceforge.net... 216.34.181.59
Reusing existing connection to prdownloads.sourceforge.net:80.
HTTP request sent, awaiting response... 302 Found
Location: http://cdnetworks-kr-2.dl.sourceforge.net/project/webadmin/webmin/1.590/webmin-1.590-1.noarch.rpm [following]
--2012-08-02 22:49:08--  http://cdnetworks-kr-2.dl.sourceforge.net/project/webadmin/webmin/1.590/webmin-1.590-1.noarch.rpm
Resolving cdnetworks-kr-2.dl.sourceforge.net... 211.39.135.163
Connecting to cdnetworks-kr-2.dl.sourceforge.net|211.39.135.163|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18926818 (18M) [application/x-rpm]
Saving to: âwebmin-1.590-1.noarch.rpmâ

100%[==========================================================>] 18,926,818  72.2K/s   in 6m 28s

2012-08-02 22:55:37 (47.7 KB/s) - âwebmin-1.590-1.noarch.rpmâ

Step 2: Add the GPG Key

Next, you need to add the GPG key for Webmin. This can be done by using the rpm command with the –import option followed by the URL of the GPG key. Here’s the command you need to run:

rpm --import http://www.webmin.com/jcameron-key.asc

Step 3: Install Webmin

Now that you’ve downloaded the Webmin package and added the GPG key, you can proceed to install Webmin. This can be done by using the rpm command with the -Uvh option followed by the name of the Webmin RPM file. Here’s the command you need to run:

rpm -Uvh webmin-1.590-1.noarch.rpm

After running this command, you should see a message indicating that the Webmin installation is complete.

[root@centos63 ~]# rpm -Uvh webmin-1.590-1.noarch.rpm
Preparing...                ########################################### [100%]
Operating system is CentOS Linux
   1:webmin                 ########################################### [100%]
Webmin install complete. You can now login to http://centos63.ehowstuff.local:10000/
as root with your root password.

Step 4: Start Webmin Service and Check Webmin Status

Once Webmin is installed, you need to start the Webmin service. You can do this by running the following command:

/etc/init.d/webmin start

To check the status of the Webmin service, you can run the following command:

/etc/init.d/webmin status

If the Webmin service is running, you should see a message indicating that Webmin is running.

[root@centos63 ~]# /etc/init.d/webmin status
Webmin (pid 2676) is running

Step 5: Configure Webmin Service to Start at Boot

To ensure that the Webmin service starts automatically when your server boots, you need to configure it to start at boot. This can be done by using the chkconfig command followed by the name of the Webmin service and the word “on”. Here’s the command you need to run:

chkconfig webmin on

Step 6: Log in to the Webmin Web Interface

With Webmin installed and running, you can now log in to the Webmin web interface. To do this, open your web browser and navigate to the following URL:

http://youripaddress:10000

Replace “youripaddress” with the actual IP address of your server. Once you’ve logged in, you can start managing your server using Webmin.

See also  How to Uninstall Webmin 1.570 on CentOS 5.7

Commands Mentioned

  • wget http://prdownloads.sourceforge.net/webadmin/webmin-1.590-1.noarch.rpm – This command downloads the Webmin package.
  • rpm –import http://www.webmin.com/jcameron-key.asc – This command adds the GPG key for Webmin.
  • rpm -Uvh webmin-1.590-1.noarch.rpm – This command installs Webmin.
  • /etc/init.d/webmin start – This command starts the Webmin service.
  • /etc/init.d/webmin status – This command checks the status of the Webmin service.
  • chkconfig webmin on – This command configures the Webmin service to start at boot.

Conclusion

Webmin is a powerful tool for managing your Linux server through a web-based interface. This guide has walked you through the process of installing Webmin on CentOS 6.3 using RPM. By following these steps, you can set up Webmin and start managing your server more efficiently.

See also  How to Configure Static Routes on CentOS 6.2

Remember, if you’re looking for more information on server management and hosting options, you can visit our pages on dedicated server, VPS server, cloud hosting, and shared hosting.

We hope this guide has been helpful. If you have any further questions, don’t hesitate to reach out.

FAQ

  1. What is Webmin?

    Webmin is a web-based interface for Linux system administration. It allows you to manage various aspects of your server, such as user accounts, Apache, DNS, and file sharing, all from your browser.

  2. How do I install Webmin?

    You can install Webmin by downloading the Webmin package, adding the GPG key, and then using the rpm command to install the package. After installation, you need to start the Webmin service and configure it to start at boot.

  3. How do I start the Webmin service?

    You can start the Webmin service by running the command /etc/init.d/webmin start.

  4. How do I check the status of the Webmin service?

    You can check the status of the Webmin service by running the command /etc/init.d/webmin status.

  5. How do I configure the Webmin service to start at boot?

    You can configure the Webmin service to start at boot by running the command chkconfig webmin on.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *