Difference between revisions of "Webmin"

From ArchWiki
Jump to: navigation, search
(Starting: Remove rc.d info.)
(Installation: Not out of date, it can now be downloaded from AUR.)
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 +
[[Category:Web server]]
 
[[it:Webmin]]
 
[[it:Webmin]]
[[Category:Web Server]]
+
[[ja:Webmin]]
{{Article summary start}}
+
[[ru:Webmin]]
{{Article summary text|[http://www.webmin.com/ Webmin] is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely.}}
+
From the project [http://www.webmin.com/ home page]:
{{Article summary end}}
+
: ''Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like {{ic|/etc/passwd}}, and lets you manage a system from the console or remotely. See the [http://www.webmin.com/standard.html standard modules] page for a list of all the functions built into Webmin, or check out the [http://www.webmin.com/demo.html screenshots].''
 
+
Webmin runs as a service. Using {{Pkg|webmin}}, you can administer other services and server configuration using a web browser, either from the server or remotely.
+
  
 
== Installation ==
 
== Installation ==
You can install {{pkg|webmin}} from the [[Official Repositories]].
+
You can install {{AUR|webmin}} from the [[Arch User Repository]].
 
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 19:
  
 
== 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
+
 
 +
== Usage ==
  
== 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 30:
 
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 ==
+
== Troubleshooting ==
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}}.
 +
 
 +
The password of a webmin user can be reset using the perl script included with the installation tarball (in this example, uncompressed to /opt/webmin):
 +
/opt/webmin/changepass.pl /etc/webmin ''user password''

Latest revision as of 06:56, 21 November 2015

From the project home page:

Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely. See the standard modules page for a list of all the functions built into Webmin, or check out the screenshots.

Installation

You can install webminAUR from the Arch User Repository. 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.

Usage

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.

Troubleshooting

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.

The password of a webmin user can be reset using the perl script included with the installation tarball (in this example, uncompressed to /opt/webmin):

/opt/webmin/changepass.pl /etc/webmin user password