MRatWork Forum by Mustafa Ramadhan
Language Specific Discussions => Indonesia Users => Topic started by: prandah on 2014-01-06, 16:30:37
-
Halo semuanya? Gimana kabarnya?pak mustafa gimana juga kabarnya?
setelah lama offline, baru bisa online skrng hehehe
langsung aja ke masalah, mungkin sudah pada tau ya apa itu OpenLitespeed? bagu yang belum tau Openlitespeed itu adalah Litespeed yang bersifat Opensource alian gratis, sehingga kita tidak perlu lagi untuk membeli lisensinya :D website nya : www.litespeedtech.com
sekilas tentang OpenLiteSpeed ini ( Selanjutnya saya tulis OLS) memiliki standar requirement sebagai berikut :
Minimum system requirements
Operating System:
Linux(i386): kernel 2.4 and up, glibc-2.2 and up
FreeBSD(i386): 4.5 and up
MacOSX: 10.3 and up
Ubuntu: 8.04 and up
Debian: 4 and up
CPU:
Intel: 80486 and up
Sun: UltraSPARC and up
PowerPC: PowerPC G4
Memory: 32MB and up
Disk:
Installation: 200MB
Runtime: 300MB and up, swapping space depends on usage.
sekarang mari kita proses instalasi dan konfigurasinya :
1. yang pasti harus sudah terinstall kloxo kalau belum silahkan di install ajah dulu
2. kita download OLS filenya di http://open.litespeedtech.com/packages/openlitespeed-1.2.8.tgz atau langsung ke webnya. Setelah di Download bari kita extract dan masuk ke dalam direktori OLS tadi. Kemudian ketik perintah ini :
# ./configure --with-user=apache --with-group=apache
# make && make install
3. Setelah Proses selesai lalu kita langsung menuju OLS admin page : IPSERVER:7080 dengan username : admin dan password : 123456
4. Sekarang setelah masuk ke server, kemudian Download file berikut : http://bit.ly/1aATwKJ taruh di dalam /usr/local/lsws/conf/templates/rproxy.xml dan pastikan mempunyai ijin chown lsadm:lsadm /usr/local/lsws/conf/templates/rproxy.xml
5. kemudian kembali ke OLS page : WebAdmin console > Configuration > Virtual Host Templates > Add
6. tambahkan seperti ini :
Template Name: Terserah
Template File: $SERVER_ROOT/conf/templates/rproxy.xml
Mapped Listeners: Default
7. Sekarang Setup Virtual dengan menggunakan vHost yang di download tadi.
WebAdmin console > Configuration > Virtual Host Templates > reverseproxy > Member Virtual Hosts > Add
Virtual Host Name: web1
Domain: kloxo.lizhost.com (sesuaikan dengan domain anda)
8. Buat direktori untuk vHost ini
# mkdir /usr/local/lsws/web1
# mkdir /usr/local/lsws/web1/{html,logs,conf}
# chown lsadm:lsadm /usr/local/lsws/web1/conf
9. Instantiate Proxy nya
WebAdmin console > Configuration > Virtual Host Templates > reverseproxy > proxy1 > Instantiate
10. Sekarang pointing web anda / domain anda ke OpenLiteSpeed
WebAdmin console > Configuration > Virtual Hosts > web1 > External App > Proxy_$VH_NAME > Edit
Name: web1 (ato apalah )
Address: xxx.xxx.xxx.xx:yy (xxx = adalah ip anda. yy adalah port apache)
11. Restart Server OLS anda :D
Live Demo : silahkan di buka http://kloxo.lizhost.com
Thread ini langsung saya copas dari web saya : http://bit.ly/1iJwbyy
jika ada yang ingin bertanya atau bingung silahkan tanyakan sahaja :D
-
hasil ab 1000 request :
Server Software: LiteSpeed
Server Hostname: kloxo.lizhost.com
Server Port: 80
Document Path: /
Document Length: 7596 bytes
Concurrency Level: 5
Time taken for tests: 1091.499 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 7849000 bytes
HTML transferred: 7596000 bytes
Requests per second: 0.92 [#/sec] (mean)
Time per request: 5457.496 [ms] (mean)
Time per request: 1091.499 [ms] (mean, across all concurrent requests)
Transfer rate: 7.02 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 2 20.6 0 296
Processing: 2199 5450 897.4 5302 8702
Waiting: 2199 5444 898.0 5301 8702
Total: 2199 5451 896.9 5302 8702
-
'Live Demo : silahkan di buka http://kloxo.lizhost.com'
Live Demonya kok mati ya?