Step 1: Login to the VPS or server you want to install Usermin at and open your terminal. Now execute the command below to download the latest version of Usermin and unpack it.
wget http://download.webmin.com/download/yum/usermin-1.470-1.noarch.rpm rpm -Uvh usermin-1.470-1.noarch.rpm
Now we need to open a text editor using the command below
vi /etc/usermin/miniserv.conf
Now add the following lines at the end of the file
allow=127.0.0.1 10.0.0.0/24 # prohibit root login denyusers=root
Now we need to save our configuration and exit, for that we type
:wq
Finally we will need to start usermin and for that we will execute the command below. It is to be noted that we are using the restart command to start Usermin to avoid any conflicts, if any previous session of Usermin was already running.
/etc/rc.d/init.d/usermin restart
Step 2: Now that Usermin is already installed, you can go ahead and add new users to the server and then have them login through Usermin to manage their account. We will create new users by executing the code below.
useradd someusername passwd someusername
Where someusername is the name of the new user you want to create and follow the prompt to setup password for this new user.
Step 3: Login to your newly installed Usermin by opening https://(hostname or IP address):20000/
And thats it,you have successfully installed Usermin on your Centos Server, keep visiting for more tutorials from XgenHosting Team