Tudor is a techie turned manager who fights like mad to keep his tech skills honed and relevant. Everything from web hosting, networking, *nix and the like. Constantly developing and co-ordinating with others to make the web a better (and easier to use) place.
Thursday, 20th Dec 2012 Posted @ 15:19
I have been playing around with Tiny Core and Micro Core Linux for quite a while now but have yet to do anything particularly useful with it.
Well now I have :)
I have created a minimal VMWare image capable of being a complete (and useable) webserver - a LEMP server - its only a 60mb download and the links are further down this post.
Tech specs:
1 vcpu
256mb RAM
1Gb hard drive (split 256mb swap, the rest as storage)
Software installed:
Core 4.7.1
openSSH 6.0p1
nGinx 1.0.12
PHP 5.3.8 (fast_cgi)
mySQL 5.5.17
along with all dependencies.
There is persistence for all the config files for the above and the mySQL databases. to be sure, issue sudo filetool.sh -b
if you make any changes to anything.
/usr/local/html/
[root@365 ~]# ab -n 2000 -c 500 http://172.18.11.20/index.php
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 172.18.11.20 (be patient)
Completed 200 requests
Completed 400 requests
Completed 600 requests
Completed 800 requests
Completed 1000 requests
Completed 1200 requests
Completed 1400 requests
Completed 1600 requests
Completed 1800 requests
Completed 2000 requests
Finished 2000 requests
Server Software: nginx/1.0.12
Server Hostname: 172.18.11.20
Server Port: 80
Document Path: /index.php
Document Length: 169 bytes
Concurrency Level: 500
Time taken for tests: 1.769 seconds
Complete requests: 2000
Failed requests: 0
Write errors: 0
Non-2xx responses: 2010
Total transferred: 641190 bytes
HTML transferred: 339690 bytes
Requests per second: 1130.60 [#/sec] (mean)
Time per request: 442.244 [ms] (mean)
Time per request: 0.884 [ms] (mean, across all concurrent requests)
Transfer rate: 353.97 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 2 91 243.2 24 1011
Processing: 2 145 389.9 15 1662
Waiting: 1 142 388.6 14 1660
Total: 5 236 454.3 47 1755
Percentage of the requests served within a certain time (ms)
50% 47
66% 59
75% 112
80% 144
90% 1018
95% 1339
98% 1751
99% 1753
100% 1755 (longest request)
[ no comments : Add ]