9 root: bash File Edit View
¥ t I?
Scrollback Bookmarks Settings Help
12 1 •_? ■■ 0 a -1-:> G'- i i /etc/ini t.d/lighttpd restart
Shutting down lighttpd Starting lighttpd
12/16/08-00 st 10212 - » []
a
A
V
Completed 1000 requests Completed 2000 requests Completed 3000 requests Completed 4000 requests Completed 5000 requests Completed 600O requests Completed 7000 requests Completed 8O00 requests Completed 9000 requests Completed 10000 requests Finished 10000 requests
12 /16/08-C' 1 ■•.•■i l■ tok ab2 -n 14000 -c 600 http: // localhost/i ndex. html > /root/tokar/t2-nl4-vl-w3.txt
Completed 1400 requests
Completed 2800 requests
Completed 4200 requests
Completed 5600 requests
Completed 7000 requests
Completed 8400 requests
Completed 9800 requests
Completed 11200 requests
Completed 12600 requests
Completed 14O0O requests
Finished 14000 requests
12/16/08 01 140212 -tol- ■ ff ab2 -n 14000 -c 600 http ://localhost/i ndex . html > / root/tokar/t2-nl4-v2-w3 . txt
Completed 1400 requests
Completed 2800 requests
Completed 4200 requests
Completed 56O0 requests
Completed 7000 requests
Completed 8400 requests
Completed 9800 requests
Completed 11200 requests
Completed 12600 requests
Completed 14000 requests
Finished 14000 requests
12/ IG • et • 01 •; 1402 12 -tok- ab2 -n 18000 -c 600 http://localhost/index.html > /root/tokar/12-nl8-vl-w3 . txt
Completed 1800 requests
Completed 3600 requests
Completed 5400 requests
Completed 7200 requests
Completed 9000 requests
Completed 10800 requests
Completed 12600 requests
Completed 14400 requests
Completed 16200 requests
Completed 18000 requests
Finished 18000 requests
- tokct- - ab2 -n 18000 -c 600 http://localhost/index.html > /root/tokar/12-nl8-v2-w3 . txt Completed 1800 requests Completed 3600 requests Completed 5400 requests Completed 7200 requests Completed 9000 requests Completed 10800 requests Completed 12600 requests Completed 14400 requests Completed 16200 requests Completed 18000 requests Finished 18000 requests 12/16/08-01 St40212:-/tokar 9 |
|saj tokar: bash
root: bash
tokar; bash
/
lighttpd.conf- KWrite
/ lighttpd.conf - KWrite
File Edit View Tools Settings Help
server.max-keep-alive-requests = 16 server.max-keep-alive-idle = 3| server.max-connections = 1024 server.max-read-idle = 60 server.max-write-idle = 360 server.max-fds = 2048
#######################################################################
##
ZZZZ /etc/l i ghttpd/1 i ghttpd. conf ZZZZ
ZZZZ check /etc/lighttpd/conf. d/*. conf for the configuratjon of modules. ZZZZ
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZfZZZZZZZZZZZZZZ
#################»#####################################################
ZZ/Z Some Variable defimtion Mhich mil make chroot mg easier.
ZZZZ
ZZZZ i f you add a variable here. Add the correspondmg variable m the ZZZZ chroct example aswell.
ZZZZ
var.log_root = "/var/log/lighttpd"
var.server_root = "/srv/www"
var.state_dir = "/var/run"
var.home_dir = "/var/lib/1ighttpd"
var.conf_dir = "/etc/lighttpd"
ZZZZ
ZZZZ run the server chrooted.
ZZZZ This reęuires root permissions during star tup.
ZZZZ
ZZZZ If you run Chrooted set the the vanables to directones relative to ZZZZ the chroot dir.
ZZZZ
ZZ/Z example chroot configuration:
ZZZZ
#var. log_root = "/logs"
#var.server_root = "/"
ZNar.state_dir = "/run”
= "/l ib/l ighttpd"
/Nar. home_dir /Nar. vhosts_d1 r = "/vhosts" /Nar. conf_dir = "/etc” ff
Z/server. chroot
= "/Srv/hfhfhf"
A
m
L
ZZZZ Some additional variables to make the configuration easier ZZZZ
ZZZZ
ZZZZ Base directory for all virtual hosts ZZZZ
ff/Z used in:
## conf. d/evhost. conf ZZ/Z conf. d/simple_vhost. conf Z/ZZ vhosts. d/vhosts. template ZZ/Z
var.vhosts dir = server root + "/vhosts'
/V
V
Linę: 2 Col: 31 INS LINĘ Apache Configuration lighttpd.conf
& http.pdf (application/pdf Object) - tokar - Dolphin