Download Webmin RPM
Webmin rpms are available on its official site. Download it from there or use below command to download.# cd /opt
# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.660-1.noarch.rpm
Step 2: Install Webmin Using rpm Command
Use following command to install webmin.# rpm -Uvh webmin-1.660-1.noarch.rpm
Step 3: Access Webmin in Browser
Webmin by default works on port 10000. Access your server on port 10000 using FQDN or IP, and login with username root and system root password.http://IP:10000/
How to Start/Stop Webmin Service
Webmin provides an init script to start or stop its service. Use below commands to do it.# /etc/init.d/webmin start
# /etc/init.d/webmin stop
# /etc/init.d/webmin restart
# /etc/init.d/webmin status
How to Change/Reset Webmin root Password
In order to change webmin root account password use following command. ( Note: It will not change your systems root password )# /usr/libexec/webmin/changepass.pl /etc/webmin root secretpassword
How to Change Webmin default Port
If you do not want to run webmin with default port, use below steps to change the default port.Login Webmin as root >> Webmin >> Webmin Configuration >> Ports and Addresses… you can change port there.
Using the Webmin YUM repository
If you like to install and update Webmin via RPM, create the /etc/yum.repos.d/webmin.repo file containing :[Webmin]
name=Webmin
Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
You should also fetch and install my GPG key with which the packages are signed, with the commands :
wget
http://www.webmin.com/jcameron-key.asc
rpm
--import jcameron-key.asc
You will now be able to install with the command :
yum install webmin
All dependencies
should be resolved automatically.CentOS - Installing VirtualMin
Update System
First we will update the system to ensure that we have all of the latest software installed.# sudo yum -y update
Install pre-requisites
We need to install a few things before VirtualMin will install. Type the following:# sudo yum -y install perl
Download VirtualMin Installer
Now we need to download the VirtualMin installer. Type the following to download it: # wget http://software.virtualmin.com/gpl/scripts/install.sh
Installation
Now it is time to install VirtualMin. To do so, use the command below:# sudo sh install.sh
You will
be prompted with a license agreement. Press Y followed by Enter to continue.It will begin performing several checks and installing the required components.
Once it has completed you should see a line similar to the following:
ssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay: Succeeded.
Logging In
You are now ready to log into your VirtualMin console. To do this point your web browser to https://IP:10000/ where you will be prompted with a login screen On your first login use the username root and type in your root password.Post Setup Wizard
Once you login you will be prompted with a Post Setup Wizard. Click Next.You will be prompted if you would like to pre-load certain libraries. Click Yes and then Next.
You will be prompted if you would like to run ClamAV virus scanner on your server. It is suggested that you select Yes and click Next.
You will be prompted if you would like to run the SpamAssassin e-mail spam scanner. If you are not running e-mail services it is not necessary to run this. However if you are hosting e-mail it is highly advised. Click Yes and Next if you are going to use SpamAssassin, otherwise click Next.
Next you will be prompted if you would like to run MySQL and/or PostgreSQL servers. This is entirely up to you as to which database servers you will provide to your customers (if any). Select your options and click Next. You will be prompted on the following screens for password information.
Once finished, you will be presented with an 'All Done' page. Click Next.
Once the main page loads you will need to reload your configuration. Click the Re-check and refresh configuration button in the yellow box.
0 comments:
Post a Comment