Difference between revisions of "Webmin"

From ArchWiki
Jump to: navigation, search
(Starting: Remove rc.d info.)
m (Style)
Line 8: Line 8:
  
 
== Installation ==
 
== Installation ==
You can install {{pkg|webmin}} from the [[Official Repositories]].
+
 
 +
You can install {{Pkg|webmin}} from the [[official repositories]].
 
Webmin requires {{Pkg|perl-net-ssleay}} to enable access via [[Wikipedia:https|https]].
 
Webmin requires {{Pkg|perl-net-ssleay}} to enable access via [[Wikipedia:https|https]].
  
 
== Configuration ==
 
== Configuration ==
 +
 
To allow access to Webmin from a remote computer, edit {{ic|/etc/webmin/miniserv.conf}} to include your network address. (Note - 127.0.0.1 is there by default)
 
To allow access to Webmin from a remote computer, edit {{ic|/etc/webmin/miniserv.conf}} to include your network address. (Note - 127.0.0.1 is there by default)
  
Line 19: Line 21:
  
 
== Starting ==
 
== Starting ==
Start webmin using systemd:
 
  
# systemctl enable webmin.service
+
Start webmin [[Daemon|service]] using [[systemd]]. Enable it if you wish to load webmin at boot.
# systemctl start webmin.service
+
 
  
 
== Using ==
 
== Using ==
 +
 
In a web browser, enter the https address of the server with the port number 10000 to access Webmin - for example:
 
In a web browser, enter the https address of the server with the port number 10000 to access Webmin - for example:
  
Line 31: Line 33:
 
You will need to enter the root password of the server running Webmin to use the Webmin interface and administer the server.
 
You will need to enter the root password of the server running Webmin to use the Webmin interface and administer the server.
  
== Errors ==
+
== Trobleshooting ==
If you get a an error similar to <code>Can't locate timelocal.pl in @INC (@INC contains: /opt/webmin /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl . /opt/webmin/ ..) at /opt/webmin/useradmin/edit_user.cgi line 6.</code>, for example, when adding a new system user through Webmin, you need to [https://bbs.archlinux.org/viewtopic.php?id=142757 install perl-perl4-corelibs].
+
 
 +
If you get a an error similar to
 +
Can't locate timelocal.pl in @INC (@INC contains: /opt/webmin /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl . /opt/webmin/ ..) at /opt/webmin/useradmin/edit_user.cgi line 6.
 +
for example, when adding a new system user through Webmin, you [https://bbs.archlinux.org/viewtopic.php?id=142757 need to install] {{Pkg|perl-perl4-corelibs}}.

Revision as of 10:52, 6 July 2013

Template:Article summary start Template:Article summary text Template:Article summary end

Webmin runs as a service. Using webmin, you can administer other services and server configuration using a web browser, either from the server or remotely.

Installation

You can install webmin from the official repositories. Webmin requires perl-net-ssleay to enable access via https.

Configuration

To allow access to Webmin from a remote computer, edit /etc/webmin/miniserv.conf to include your network address. (Note - 127.0.0.1 is there by default)

allow=127.0.0.1 192.168.1.0

The above example allows all computers on the 192.168.1.0 network to access Webmin.

Starting

Start webmin service using systemd. Enable it if you wish to load webmin at boot.


Using

In a web browser, enter the https address of the server with the port number 10000 to access Webmin - for example:

https://192.168.1.1:10000 -or- https://myserver.example.net:10000

You will need to enter the root password of the server running Webmin to use the Webmin interface and administer the server.

Trobleshooting

If you get a an error similar to

Can't locate timelocal.pl in @INC (@INC contains: /opt/webmin /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl . /opt/webmin/ ..) at /opt/webmin/useradmin/edit_user.cgi line 6.

for example, when adding a new system user through Webmin, you need to install perl-perl4-corelibs.