Difference between revisions of "Webmin"

From ArchWiki
Jump to: navigation, search
(Errors: style fix)
(Starting)
Line 26: Line 26:
  
 
  DAEMONS=(.. vsftpd '''webmin''' ...)
 
  DAEMONS=(.. vsftpd '''webmin''' ...)
 +
 +
or using systemd
 +
 +
# systemctl enable webmin.service
 +
# systemctl start webmin.service
  
 
== Using ==
 
== Using ==

Revision as of 20:19, 12 November 2012

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

# rc.d start webmin

Include webmin in the DAEMONS=() section of /etc/rc.conf to start it on boot.

DAEMONS=(.. vsftpd webmin ...)

or using systemd

# systemctl enable webmin.service
# systemctl start webmin.service

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.

Errors

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.