Sun

Getting started with Webmin

Getting started with Webmin

Introduction

Webmin is a web-based system configuration tool for Unix-like systems. With it, it is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify and control open source apps, such as the Apache HTTP Server, PHP or MySQL.

Webmin is largely based on Perl, running as its own process and web server. It defaults to TCP port 10000 for communicating, and can be configured to use SSL if OpenSSL is installed with additional required Perl Modules.

More information can be found on official web page:

http://www.webmin.com/

Webmin template

In Hostens you are able to install Webmin template really easy and fast, only with few mouse clicks:

  1. Login to the Clients Portal hereĀ  https://billing.hostens.com/clientarea/
  2. Select at the top of menu the “Services > VPS Hosting” tab;
  3. Press the “Manage” button at the service table;
  4. Press the “Install OS” button;
  5. Choose operating system, agree with warning and press “Continue”;
  6. Wait for 5-10 minutes and refresh VPS management page.

Webmin template contains:

  • CentOS 6
  • Apache 2.2.15
  • PHP 5.5.32
  • MySQL 5.6.29

1. Login

Webmin uses 10000 port, so to connect to control panel on you internet browser enter:

http://ip_of_your_server:10000

Login details are your server’s “root” login details, which you can find on Clients Portal.


2. Adding New Website

On the left menu choose “Create Virtual Server”.
Enter domain, description, password, change additional configurations (if needed) and finally press “Create server”.

3. E-mail accounts and FTP users

Adding a new site will create a new menu items which enables to create and manage users and settings.
To add an email account or FTP user, select:

Edit Users > Add a user to this server

When creating user, specify the email address, username and password.
Under “Quota and home directory settings, you can specify the size of the email account.
Under “E-mail settings” you can add additional e-mail addresses.
Under “Mail forwarding settings” you can create forwarding and auto-reply message.
Finally under “Other user permissions” you can specify if user should have FTP and MySQL database access or not.

For both FTP and email accounts login name is “[email protected]”.

4. MySQL data base

To add a new MySQL database, select the menu item:

Edit Databases > Create a new database

Just enter the name of the DB and click on the “Create” button.

5. DNS managment

To add a new sub-domain, select:

DNS Records > Create Record of Type

By default it will create A type record. If you want a different type, simply before pressing the “Create Record of Type” change the type in the “A – IPv4 Address” gap.

6. Temporary website’s suspension

To suspend a site, select the menu item:

Disable and Delete > Disable Virtual Server

Enter the reason for the suspension, and then press “Yes, disable it!”. The site will be suspended until you unsuspend it.

7. Site removal

To remove the site and all the related records, select:

Disable and Delete > Delete Virtual Server

Clicking “Yes, delete it” will remove all files belonging to the site, users, email accounts and databases.

8. Password reset

In order to change your “root” password for Webmin you need to log in to your server via SSH and proceed with the following command:

/usr/libexec/webmin/changepass.pl /etc/webmin root yournewpassword

Where “yournewpassword” should be replaced with your password. If you did everything correctly, you should see the following result:

Updated password of Webmin user root

You can find much more about Webmin control panel here http://doxfer.webmin.com/Webmin/Main_Page

Was this article helpful?

Related Articles