Translation(s): English - French - Português (Brasil)
Installing a webserver
To install the default Debian web server environment under Debian, you should use tasksel, then select Web Server. If you wonder what's the content of that task, run tasksel --task-packages web-server (Of course, you need to have tasksel installed).
Choosing a web server
(you can easily get an up-to-date list of httpd packages).
Popularity Contest (2007-11) |
Comment |
|||||||
Name and version 1 |
size 2 |
inst |
vote |
old |
recent |
no-files |
||
aolserver4 4.5.0 |
cgi |
1.4M |
. |
. |
. |
. |
. |
|
apache2-mpm-itk 2.2.3 |
cgi |
7.2M |
. |
. |
. |
. |
. |
|
apache2-mpm-worker 2.2.9 |
cgi |
7.3M |
. |
. |
. |
. |
. |
|
apache2-mpm-prefork 2.2.9 |
cgi |
7.3M |
25274 |
20907 |
1590 |
2769 |
8 |
|
apache2-mpm-event 2.2.9 |
cgi |
7.3M |
. |
. |
. |
. |
. |
|
boa 0.94.14 |
cgi |
55M |
. |
. |
. |
. |
. |
|
bozohttpd 20060517-6 |
cgi |
127K |
. |
. |
. |
. |
. |
|
caudium 1.4.12 |
cgi |
11M |
. |
. |
. |
. |
. |
|
cherokee 0.7.2 |
cgi |
2.9M |
. |
. |
. |
. |
. |
|
dhttpd 1.02a |
no-cgi |
77K |
48 |
28 |
13 |
7 |
0 |
|
ebhttpd 1.0 |
no-cgi |
238K |
1 |
0 |
1 |
0 |
0 |
|
fnord 1.10 |
no-cgi |
1.2M |
24 |
4 |
18 |
2 |
0 |
|
lighttpd 1.4.19 |
cgi |
38M |
988 |
694 |
172 |
122 |
0 |
|
mathopd 1.5 |
cgi |
225K |
37 |
25 |
9 |
3 |
0 |
|
micro-httpd 20051212 |
no-cgi |
73K |
27 |
5 |
0 |
19 |
3 |
|
mini-httpd 1.19 |
cgi |
123K |
31 |
8 |
17 |
6 |
0 |
|
monkey 0.9.2-2 |
cgi + php |
176K |
- |
- |
- |
- |
- |
|
nginx 0.6.32 |
cgi |
6M |
266 |
144 |
101 |
19 |
2 |
Good load-balancer |
thttpd 2.25 |
cgi |
242K |
261 |
189 |
46 |
26 |
0 |
used by d-i web installer |
tntnet 1.6.3 |
cgi |
1.5M |
10 |
7 |
2 |
1 |
0 |
|
webfs 1.21 |
no-cgi |
127K |
69 |
40 |
24 |
5 |
0 |
|
yaws 1.77 |
cgi |
51M |
. |
. |
. |
. |
. |
|
see also wikipedia's Comparison_of_web_servers
Python's SimpleHTTPServer Module
For a simple and quick means of serving files over HTTP, Python's SimpleHTTPServer module can be used. The following command serves the current working directory over HTTP:
~$ python3 -m http.server
Note the following warning from the official Python documentation:
Warning: http.server is not recommended for production. It only implements basic security checks.
External Links
http://www.debianhelp.co.uk/apacheinstall.htm Apache2 installation with PHP and SSL support
http://www.debianhelp.co.uk/apacheweb.htm Apache Web interface or GUI tools
http://www.debianhelp.co.uk/lighttpd.htm Lighttpd Webserver installation and Configuration
http://www.debianhelp.co.uk/webserver.htm Apache Webserver tutorials
CategoryNetwork CategorySoftware CategorySystemAdministration