Webmin: Difference between revisions

From Alpine Linux
No edit summary
m (minor layout changes)
Line 6: Line 6:
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:
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
* Perl
*Webmin 1.510
* Webmin 1.510
*Dansguardian 0.7.0beta1b module (for webmin)
* Dansguardian 0.7.0beta1b module (for webmin)
 


== Installing Perl ==
== Installing Perl ==
Line 15: Line 14:
'''Install Perl'''
'''Install Perl'''


    apk add perl
{{Cmd|apk add perl}}
 


== Installing and configuring  Webmin ==
== Installing and configuring  Webmin ==
Line 24: Line 22:
Download  
Download  


  cd /etc/
{{Cmd|cd /etc/
  wget http://prdownloads.sourceforge.net/webadmin/webmin-1.510.tar.gz
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.510.tar.gz}}


Unpack  
Unpack


  gunzip webmin-1.510.tar.gz
{{Cmd|gunzip webmin-1.510.tar.gz
  tar xvf webmin-1.510.tar  
tar xvf webmin-1.510.tar }}
    
    
Folder
Folder


mv webmin-1.510 webmin
{{Cmd|mv webmin-1.510 webmin}}
   
   
Setup


Setup
{{Cmd|cd webmin
./setup.sh}}


  cd webmin
<pre>
  ./setup.sh
     Config file directory [/etc/webmin]: enter
     Config file directory [/etc/webmin]: enter
     Log file directory [/var/webmin]: /var/log/webmin
     Log file directory [/var/webmin]: /var/log/webmin
Line 49: Line 48:
     Password again: admin-password
     Password again: admin-password
     Start Webmin at boot time (y/n): y
     Start Webmin at boot time (y/n): y
 
</pre>
Browse
Browse


    http://IP_NUMBER:10000 (or the ip number you chose)
http://IP_NUMBER:10000 (or the ip number you chose)


== To add dansguardian module ==
== To add dansguardian module ==
Line 58: Line 57:
Download module
Download module


    cd /tmp
{{Cmd|cd /tmp
    wget http://downloads.sourceforge.net/project/dgwebminmodule/dgwebmin-devel/0.7.0beta1b/dgwebmin-0.7.0beta1b.wbm
wget http://downloads.sourceforge.net/project/dgwebminmodule/dgwebmin-devel/0.7.0beta1b/dgwebmin-0.7.0beta1b.wbm}}


Browse to http://IP_NUMBER:10000 (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 select install from: ''From local file'', click on '''...''' button
* In the ''Install Module'' box select install from: ''From local file'', click on '''...''' button
    Then when the explorer box open, go to /tmp and select the dgwebmin-0.7.0beta1b.wbm file, click ok
* Then when the explorer box open, go to /tmp and select the dgwebmin-0.7.0beta1b.wbm file, click ok
    Back in the Webmin Modules click on Install Module button, and that’s all.
* Back in the Webmin Modules click on Install Module button, and that’s all.
    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.
EOF

Revision as of 07:12, 23 June 2011

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.510
  • Dansguardian 0.7.0beta1b module (for webmin)

Installing Perl

Install Perl

apk add perl

Installing and configuring Webmin

Install webmin

Download

cd /etc/ wget http://prdownloads.sourceforge.net/webadmin/webmin-1.510.tar.gz

Unpack

gunzip webmin-1.510.tar.gz tar xvf webmin-1.510.tar

Folder

mv webmin-1.510 webmin

Setup

cd webmin ./setup.sh

    Config file directory [/etc/webmin]: enter
    Log file directory [/var/webmin]: /var/log/webmin
    Full path to perl: enter
    Web server port (default 10000): enter (or other port number)
    Login name (default admin): admin
    Login password: admin-password
    Password again: admin-password
    Start Webmin at boot time (y/n): y

Browse

http://IP_NUMBER:10000 (or the ip number you chose)

To add dansguardian module

Download module

cd /tmp wget http://downloads.sourceforge.net/project/dgwebminmodule/dgwebmin-devel/0.7.0beta1b/dgwebmin-0.7.0beta1b.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 select install from: From local file, click on ... button
  • Then when the explorer box open, go to /tmp and select the dgwebmin-0.7.0beta1b.wbm file, click ok
  • Back in the Webmin Modules click on Install Module button, and that’s all.
  • 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.