Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-29, 06:49:36

Author Topic: Tutorial instalasi OpenLitespeed as Proxy di Kloxo  (Read 4034 times)

0 Members and 1 Guest are viewing this topic.

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
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 :

Code: [Select]
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 :
Code: [Select]
# ./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 :
Code: [Select]
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
Code: [Select]
Virtual Host Name: web1
Domain: kloxo.lizhost.com (sesuaikan dengan domain anda)
8. Buat direktori untuk vHost ini
Code: [Select]
#  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
Code: [Select]
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

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: Tutorial instalasi OpenLitespeed as Proxy di Kloxo
« Reply #1 on: 2014-01-06, 17:28:59 »
hasil ab 1000 request :

Code: [Select]
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
« Last Edit: 2014-01-06, 17:31:14 by prandah »

Offline amudy17

  • Senior Member
  • *
  • Posts: 246
  • Karma: +0/-1
    • View Profile
    • Alamudy
Re: Tutorial instalasi OpenLitespeed as Proxy di Kloxo
« Reply #2 on: 2014-03-06, 17:46:40 »
'Live Demo : silahkan di buka http://kloxo.lizhost.com'

Live Demonya kok mati ya?
Free, Fast and Secure CP => Kloxo-MR
Daily News Update => Click here to see website!

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.028 seconds with 19 queries.

web stats analysis