Webmin: Difference between revisions
(→What is Webmin: Tell users that there is ACF as a option to webmin) |
(use https) |
||
(16 intermediate revisions by 6 users not shown) | |||
Line 3: | Line 3: | ||
A web-based interface for system administration for Unix or Linux. Setup user accounts, DNS, file sharing, etc. | A web-based interface for system administration for Unix or Linux. Setup user accounts, DNS, file sharing, etc. | ||
{{Note|Webmin has frequent security updates and patches. Please watch the webmin [ | {{Note|Webmin has frequent security updates and patches. Please watch the webmin [https://www.webmin.com/security.html security alert] page.}} | ||
{{Tip|Consider using [[ACF]] ''(Alpine Configuration Framework)'' to get a web interface for Alpine.}} | {{Tip|Consider using [[Alpine_Configuration_Framework_Design#Starting_ACF|ACF]] ''(Alpine Configuration Framework)'' to get a web interface for Alpine.}} | ||
== Set up Webmin on Alpine Linux == | == Set up Webmin on Alpine Linux == | ||
Line 11: | Line 11: | ||
* Perl | * Perl | ||
* Webmin 1. | * Webmin 1.990 | ||
* Dansguardian 0.7. | * Dansguardian 0.7.1 module (for webmin) | ||
== Installing Perl == | For more info about appropriate module: https://www.webmin.com/tgz.html | ||
== Installing Perl with ssl module == | |||
'''Install Perl''' | '''Install Perl''' | ||
{{Cmd|apk add perl}} | {{Cmd|apk add perl perl-net-ssleay}} | ||
== Installing and configuring Webmin == | == Installing and configuring Webmin == | ||
Line 24: | Line 26: | ||
'''Install webmin''' | '''Install webmin''' | ||
Download | Download & Unpack | ||
Unpack | |||
{{Cmd| | {{Cmd|cd /opt | ||
tar | wget -O - https://github.com/webmin/webmin/archive/refs/tags/1.991.tar.gz {{!|}} tar -xzf -}} | ||
Folder | Folder | ||
{{Cmd|mv webmin-1. | {{Cmd|mv webmin-1.991 webmin}} | ||
Setup | Setup | ||
{{Cmd|cd webmin | {{Cmd|cd webmin | ||
./setup.sh}} | ./setup.sh /usr/local/webmin}} | ||
Note: Will ask distro, Alpine not listed. | |||
The closest distro might be Gentoo ES4.0 -- use your best judgement | |||
<pre> | <pre> | ||
Line 47: | Line 48: | ||
Log file directory [/var/webmin]: /var/log/webmin | Log file directory [/var/webmin]: /var/log/webmin | ||
Full path to perl: enter | Full path to perl: enter | ||
Operating system: 84 // 84 must be Gentoo | |||
Version: ES4.0 | |||
Web server port (default 10000): enter (or other port number) | Web server port (default 10000): enter (or other port number) | ||
Login name (default admin): admin | Login name (default admin): admin | ||
Login password: admin-password | Login password: admin-password | ||
Password again: admin-password | Password again: admin-password | ||
Use SSL (y/n): n | |||
Start Webmin at boot time (y/n): y | Start Webmin at boot time (y/n): y | ||
</pre> | </pre> | ||
Browse | Browse | ||
http://IP_NUMBER:10000 (or the ip number you chose) | <nowiki>http://IP_NUMBER:10000</nowiki> (or the ip number you chose) | ||
== To add dansguardian module == | == To add dansguardian module == | ||
Link to module: | |||
https://downloads.sourceforge.net/project/dgwebminmodule/dgwebmin-stable/0.7/dgwebmin-0.7.1.wbm | |||
Browse to <nowiki>http://IP_NUMBER:10000</nowiki> (or the ip number you chose) | |||
Browse to http://IP_NUMBER:10000 (or the ip number you chose) | |||
* Click on: ''Webmin'' / ''Webmin Configuration'' /'' Webmin Modules'' | * Click on: ''Webmin'' / ''Webmin Configuration'' /'' Webmin Modules'' | ||
* In the ''Install Module'' box | * In the ''Install Module'' box, enter link in: ''From HTTP or FTP URL'' text field and press ''Install Module'' below | ||
* (Alternatively, can click on '''🌐''' button in ''Third party module from'' form and select from list) | |||
* Click on: ''Servers'' / ''DansGuardian Web Content'' to configure and use dansguardian module. | * Click on: ''Servers'' / ''DansGuardian Web Content'' to configure and use dansguardian module. | ||
Note: Webmin Modules you can add more modules, from “Standard module from www.webmin.com” or “Third party module from”, etc. | Note: Webmin Modules you can add more modules, from “Standard module from www.webmin.com” or “Third party module from”, etc. | ||
[[Category:Monitoring]] | |||
[[Category:Server]] | |||
[[Category:Perl]] | |||
[[Category:Security]] |
Latest revision as of 21:43, 25 August 2023
What is Webmin
A web-based interface for system administration for Unix or Linux. Setup user accounts, DNS, file sharing, etc.
Set up Webmin on Alpine Linux
This document will be a quick c/p guide to setup webmin and dansguardian module on Alpine linux. We assume you have dansguardian installed and running. What we will install is the following:
- Perl
- Webmin 1.990
- Dansguardian 0.7.1 module (for webmin)
For more info about appropriate module: https://www.webmin.com/tgz.html
Installing Perl with ssl module
Install Perl
apk add perl perl-net-ssleay
Installing and configuring Webmin
Install webmin
Download & Unpack
cd /opt wget -O - https://github.com/webmin/webmin/archive/refs/tags/1.991.tar.gz | tar -xzf -
Folder
mv webmin-1.991 webmin
Setup
cd webmin ./setup.sh /usr/local/webmin
Note: Will ask distro, Alpine not listed.
The closest distro might be Gentoo ES4.0 -- use your best judgement
Config file directory [/etc/webmin]: enter Log file directory [/var/webmin]: /var/log/webmin Full path to perl: enter Operating system: 84 // 84 must be Gentoo Version: ES4.0 Web server port (default 10000): enter (or other port number) Login name (default admin): admin Login password: admin-password Password again: admin-password Use SSL (y/n): n Start Webmin at boot time (y/n): y
Browse
http://IP_NUMBER:10000 (or the ip number you chose)
To add dansguardian module
Link to module: https://downloads.sourceforge.net/project/dgwebminmodule/dgwebmin-stable/0.7/dgwebmin-0.7.1.wbm
Browse to http://IP_NUMBER:10000 (or the ip number you chose)
- Click on: Webmin / Webmin Configuration / Webmin Modules
- In the Install Module box, enter link in: From HTTP or FTP URL text field and press Install Module below
- (Alternatively, can click on 🌐 button in Third party module from form and select from list)
- Click on: Servers / DansGuardian Web Content to configure and use dansguardian module.
Note: Webmin Modules you can add more modules, from “Standard module from www.webmin.com” or “Third party module from”, etc.