Jump to content


- - - - -

Install Webmin on CentOS 5.3


  • Please log in to reply
No replies to this topic

#1 shadowmac

shadowmac

    Member

  • Members
  • PipPipPip
  • 93 posts

Posted 07 August 2009 - 02:43 PM

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.s...e.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






Similar Topics Collapse

  Topic Forum Started By Stats Last Post Info

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users