How to install Webmin on FreeBSD

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

In this article I will show you how to install the webmin control panel in FreeBSD. Sometimes one doesn’t have the time or didn’t want to deal with configuration files.

Webmin is a web-based interface for system administration for Unix from where you can configure almost everything. For Linux users we already have a tutorial for installing on Centos.

Installing the port

From my previous articles you may noticed that I prefer the port system over precompiled packages. I think that doing this way I learn things. So we need to install sysutils/webmin:

# cd /usr/ports/sysutils/webmin/
# make install clean

Also, remember that always there is more than one way to do it, and mine maybe is not the best one.

How to install Webmin. screenshot of webmin dowload
Downloading webmin…

As with every port, pay attention to options that may popup and wait until de download and make is done.

Download and make install of webmin done.
Download and make install of webmin done.

Preconfiguration

As the final messages in the make install states, there are two tasks needed before we can use webmin. First, run:

# /usr/local/lib/webmin/setup.sh

and follow the instructions on screen, in general the default values are just fine:

How to install Webmin. 1st time configuration
Webmin 1st time configuration

But, take care that webmin uses it’s own admin user (!=root system user). When the script it’s over, you can enable and start webmin by running:

# /usr/local/etc/rc.d/webmin enable; /usr/local/etc/rc.d/webmin start

Using Webmin

With webmin configured and started, you can point your browser to http://<host ip>:10000/ or, if you enabled ssl https://<host ip>:10000/. If you didn’t choose the default TCP port, change it to the right one.

login screen
webmin login screen

After you login, you will see a dashboard showing general system status:

How to install Webmin. webmin dashboard
webmin dashboard

From here you can manage everything or almost everything on your system, also it’s pretty intuitive.

I’m showing only a couple of things you can do. Under Webmin → Webmin configuration, you can find the options to configurate webmin itself:

webmin configuration
webmin configuration

Under the System menu there are options to manage things like:

  • Bootup and Shutdown
  • Change Passwords
  • Disk Quotas
  • Filesystem Backup
  • LDAP Users and Groups
  • Running Processes
  • Scheduled Cron Jobs
  • Software Package Updates
  • System Logs
  • Users and Groups
  • etc

The Servers menu only shows the services you have installed, for example I’ve installed PostgreSQL in this FreeBSD, and ssh and sendmail are enabled by default. Webmin let’s me manage them from here:

Servers configuration
Servers configuration

For example, if I had installed Apache or MySQL in this FreeBSD, the Servers menu is the place that I should look to manage them.

Under the Un-used modules menu there are options for things that you could manage in webmin but aren’t installed or are installed but in non-standard places.

To finish this article two more things:

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"
Gonzalo Rivero
Gonzalo Rivero
I am Gonzalo, I live in Salta, a city located in the NW of Argentina. I play the guitar and a little harmonica. I also like to bike.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook