Install Webmin on Raspberry Pi 2 – Arch Linux ARM

This tutorial will show you how to install Webmin on Arch Linux ARM installed on my Raspberry Pi 2. Webmin is a web based administration tool for server. Since my Arch Linux ARM does not have GUI, this Webmin is a great solution for me to manage it.

How to install Webmin on Arch Linux ARM – Raspberry Pi 2

Connect to the console via SSH or direct connection and execute the following command.

[root@alarmpi ~]# pacman -S webmin
resolving dependencies...
looking for conflicting packages...

Packages (2) perl-perl4-corelibs-0.003-3  webmin-1.710-1

Total Download Size:   11.76 MiB
Total Installed Size:  57.33 MiB

:: Proceed with installation? [Y/n]

If you see the following note at the end of the initial step above, we need to install some additional packages and further configure Webmin.

Note:
==> It is not allowed to install 3rd party modules, or delete existing modules.
==> Please write your own PKGBUILDS for 3rd party modules and additional themes.
Setup:
==> To make webmin start at boot time, add webmin to rc.conf daemons
==> Point your web browser to http://localhost:10000 to use webmin.
==> The access is restricted to localhost, if you want to connect from other locations
==> change /etc/webmin/miniserv.conf to something like that: allow=127.0.0.1 <your-ip>
==> If you want to have ssl encryption please install 'perl-net-ssleay' additional.
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

At this point, Webmin can’t be  accessed via https. To solve this, install perl-net-ssleay

pacman -S perl-net-ssleay

Finally we need to edit miniserv.conf and add the current IP address to the list.

nano /etc/webmin/miniserv.conf

At the end, add the following lines

allow=127.0.0.1 192.168.1.3

Change 192.168.1.3 with your IP address from which you connect to Raspberry Pi (This is not the raspberry IP address)

Now, try open https://raspberry-ip-address:10000. Enjoy!

 

Admin

Leave a Reply

Your email address will not be published. Required fields are marked *