August 7, 200916 yr Moderators 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: rootPassword: [root@xyz ~]# passwdChanging password for user root. New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully. [root@localhost]# adduser secondrootuser[root@localhost]# passwd secondrootuserChanging password for user secondrootuser.New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully.[root@localhost]# [root@localhost]# exitNOW log back in as su userlogin: secondrootuserPassword: [secondrootuser@localhost]$ su rootPassword: This will install some dependencies. [secondrootuser@localhost]# yum -y install perl-Net-SSLeay Go to http://prdownloads.sourceforge.net/webadmin/ and note the latest versionInstall 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:10000Log 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
Create an account or sign in to comment