Jump to content

Install Webmin on CentOS 5.3


shadowmac

Recommended Posts

Looking at installing Webmin (FREE) in place of cPanel (EXPENSIVE).



Here is all you need to do to get it installed:



It is good practice to NOT use your root account for server maintenance. So let us create a second root user for these types of actions


login: root

Password:


[root@xyz ~]# passwd


Changing password for user root.

New UNIX password:

Retype new UNIX password:


passwd: all authentication tokens updated successfully.


[root@localhost]# adduser secondrootuser


[root@localhost]# passwd secondrootuser


Changing password for user secondrootuser.


New UNIX password:

Retype new UNIX password:

passwd: all authentication tokens updated successfully.


[root@localhost]#


[root@localhost]# exit


NOW log back in as su user



login: secondrootuser


Password:


[secondrootuser@localhost]$ su root

Password:





This will install some dependencies.

[secondrootuser@localhost]# yum -y install perl-Net-SSLeay





Go to http://prdownloads.sourceforge.net/webadmin/ and note the latest version



Install the system :

[secondrootuser@localhost]# cd /usr/src

[secondrootuser@localhost]# wget http://sourceforge.net/projects/webadmin/files/webmin/1.480/webmin-1.480-1.noarch.rpm/download (latest version)

[secondrootuser@localhost]# rpm --import http://www.webmin.com/jcameron-key.asc

[secondrootuser@localhost]# yum localinstall webmin-1.480-1.noarch.rpm





After you've completed the installation, you should be able to access your webmin panel at https://yourhost.com:10000

Log in as root.



Note: If on typing the URL in browser, you get a no page found message. Make sure Webmin is running.



Start Webmin: using command line

[secondrootuser@localhost]#/etc/webmin/start





using your sudo root

[secondrootuser@localhost]#sudo /etc/webmin/start





you can also restart webmin by

[secondrootuser@localhost]#sudo /etc/webmin/restart





Set Webmin to Auto Start on Server Startup.

[secondrootuser@localhost]#chkconfig --level 23 webmin on

[secondrootuser@localhost]#chkconfig --list webmin





Note: if chkconfig is not installed you can install it by

[secondrootuser@localhost]#yum -y install chkconfig

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...