lite speed web server

12
Lite speed web server (http://litespeedtech.com ) Lite speed web server ini merupakan hasil buatan lite speed technologies inc. yang hebatnya aplikasi webserver ini free, yang menyebabkan aplikasi web server ini banyak dilirik oleh para pengguna web server. Aplikasi ini merupakan interchangeable dari apache yang artinya lsws (lite speed web server, biar gampang aku sebutnya lsws aja ya…) memiliki semua fitur yang ada pada apache. Contoh perbedaannya adalah lsws ini tampil lebih cepat dari apache dan juga lebih baik tentunya nis . Modul yang ada pada apache yang paling sering digunakan juga ada pada lsws, lsws menggunkana konfigurasi yang kompatibel dangan apache yaitu “.htacces” dan penulisan uang URL dan yang uniknya si lsws ini bisa mnggunakan configurasi dari apache loh!, jadinya aplikasi lsws ini bisa disebut perpaduan antara apache dengan fitur-fitur baru. Informasi lainya dari yang shandy baca menyebutkan bahwa lsws ini tampilannya 50% lebih baik dibanding dengan apache dan juga katanya kecepatannya 6 kali lebih dari apache. Perbandingan apache vs litespeed

Upload: api-3807199

Post on 10-Apr-2015

281 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lite Speed Web Server

Lite speed web server (http://litespeedtech.com)

Lite speed web server ini merupakan hasil buatan lite speed technologies inc. yang hebatnya aplikasi webserver ini free, yang menyebabkan aplikasi web server ini banyak dilirik oleh para pengguna web server.Aplikasi ini merupakan interchangeable dari apache yang artinya lsws (lite speed web server, biar gampang aku sebutnya lsws aja ya…) memiliki semua fitur yang ada pada apache. Contoh perbedaannya adalah lsws ini tampil lebih cepat dari apache dan juga lebih baik tentunya nis .

Modul yang ada pada apache yang paling sering digunakan juga ada pada lsws, lsws menggunkana konfigurasi yang kompatibel dangan apache yaitu “.htacces” dan penulisan uang URL dan yang uniknya si lsws ini bisa mnggunakan configurasi dari apache loh!, jadinya aplikasi lsws ini bisa disebut perpaduan antara apache dengan fitur-fitur baru. Informasi lainya dari yang shandy baca menyebutkan bahwa lsws ini tampilannya 50% lebih baik dibanding dengan apache dan juga katanya kecepatannya 6 kali lebih dari apache.Perbandingan apache vs litespeed

Source : (http://litespeedtech.com

Page 2: Lite Speed Web Server

Feture-feature yang dimiliki lite speed antar lain:HTTP/1.1

Backward compatible with HTTP/1.0 Chunked Transfer Encoding Basic Authentication (htpasswd and LDAP backend) Entity Tag Range/Multi-range Request Static and dynamic content compression(gzip)

IPv6 support

API Connectivity CGI/1.1 FastCGI LSAPI (LiteSpeed SAPI) AJP 1.3 Transparent Reverse Proxy (interface to back-end web server, application server)

Dynamic Language Support PHP (CGI,FastCGI,LSAPI), compatible with 3rd party PHP Accelerators. JSP/Servlet (AJP) Perl (CGI, FastCGI) Ruby (CGI, FastCGI, LSAPI) Python (CGI, FastCGI) C/C++ (CGI, FastCGI, LSAPI)

URL Rewriting URL Rewriting is fully compatible with Apache's rewrite configuration

.Htaccess Support Apache compatible distributed per-directory Access Control and Authentication

configuration.

MS Frontpage server extension 2002 Supports content publishing with MS Frontpage client.

Virtual Hosting

Supports IP based and name based virtual hosting

Security

LiteSpeed web server is desgined to be a secure web server. With chroot jail, IP level bandwidth throttling, connection accounting, strict HTTP request checking, and URL context

Page 3: Lite Speed Web Server

filtering, DoS effects are minimized and the application backend is properly fenced away from the HTTP request layer reducing vulnerability.

High performance Secure HTTP (HTTPS): supports SSLv2, SSLv3 and TLSv1 Access Control at server, virtual host and directory (context) level File system protection HTTP Authentication IP level throttling (Bandwidth and Request Rate) Comprehensive IP level connection accounting Hotlink protection Strict HTTP request checking Comprehensive protection for static files External application firewall for dynamic content CGI resources consumption limit CGI suEXEC excution and chroot Chroot whole server process[Enterprise Edition only]

The following section provides a brief overview of the above security features. Access Control: Server, virtual host and directory (context) level access control which can allow or block traffic from specific IP/sub-networks. IP Level Throttling Limits network bandwidth to and from a single IP address regardless of the number of connections. IP Level Connection Accounting Limits the number of concurrent connections from a single IP address. It is controlled by the Connection Soft Limit, Connection Hard Limit, Grace Period, and Banned Period values. Strict Request Checking Every HTTP request is strictly checked by LiteSpeed web server:

Request size is limited bythe Max Request URL Length, Max Request Header Length, and Max Request Body Length values. Strict Static File Checking LiteSpeed web server will serve a static file only if the following conditions are satisfied:

the file is readable by everyone. the file is not executable. The file is not in the Access Denied Directory list does not contain symbolic links if symbolic linking is not allowed. LiteSpeed web server does not index a directory by listing its files.

External Application Firewall

LiteSpeed Web server forwards requests to external applications such as CGI, Fast CGI and Servlet engine to process/generate dynamic content. Usually each request requires one instance of the external application. Those applications may use a lot of system resources, and the performance of the whole system will be severely degraded when system resource consumption reaches a certain point, for example, when swapping space has been used. DoS attacks can be conducted by flooding the web server with concurrent requests to an external application that consumes a lot of system resources.

Page 4: Lite Speed Web Server

LiteSpeed web server can pipeline requests and control the concurrency level of external applications to prevent over consumption of system resources. It only forwards completed requests to external applications and caches the response. Thus external applications will be immediately available to process the next request without waiting for the response to be completely received by the client. In this way, the server can utilize fewer instances of external applications to serve more concurrent requests and will achieve higher performance and scalability. LiteSpeed web server uses its own virtual memory to cache the request and response body to minimize the usage of system memory without sacrificing performance.

CGI Resources Consumption Limit

LiteSpeed web server limits system resources consumption for CGI applications in two ways.

1. Maximum number of concurrent CGI process is limited.For each request to a CGI script, the web server needs to start a standalone CGI process to handle it. On a Unix system the number of concurrent processes is limited, excessive concurrent processes will degrade the performance of the whole system and it could become the target of a DoS attack. Maximum number of concurrent CGI instances is configurable.

2. Maximum system resource consumption for each CGI process is limited, includes: number of concurrent children process spawned, memory usage and CPU time.

Minimum system requirements

Operating System:   Linux(i386): kernel 2.4 and above, glibc-2.2 and above   Solaris(Sparc): SunOS 5.8 and above   Solaris(x86): Sun0S 5.8 and above   FreeBSD(i386): 4.5 and above   MacOSX: 10.3 and above   Open Darwin: 7.0 and above

CPU:   Intel: 80486 and above   Sun: UltraSPARC and above   PowerPC: PowerPC G4

Memory:   32MB and above

Disk:   Installation: 10MB   Runtime: 20MB and above swapping space depends on usage

Cara install

1. download dulu lite speed web servernya di site http://litespeedtech.com, bisanya paketnya berupa tarball. (disertakan video untuk installasi dengan linux)

Page 5: Lite Speed Web Server

2. ingat lite speed web server yang standart edition itu free, namun yang enterprise itu gak gratis.

3. nah seteah paketnya nisa download maka si paket ini harus di ekstrak dulu,a. cara ekstrak akan shandy contohkan dengan 2 cara :

i. ekstrak dengan text mode, pada console ketikan perintah “tar –xvzf lsws-2.0.4-std-i386-linux.tar.gz” (gbr cara 1) tapi tentunya nisa sudah berada di folder yang ada paket lswsnya.

ii. Cara kedua dengan tool Ark yang ada pada linux(gbr cara 2)

4. setelah diekstrak sekarang kita akan mulai proses instalasinya, untuk di ingat pastikan user yang berhak untuk menginstallnya,mungking root kali ya… (lht gbr install)

5. stlah proses ekstrak akan muncul folder lsws, nisa pindah ke folder lsws dng cmd “cd lsws”

6. nah selanjutnya keikan cmd “./install.sh” untuk memulai proses install7. kata shandy pasti bakalan muncul screen agreement, nah nisa baca dulu klo setuju

ketikan “Yes” ingat Y nya harus huruf capital ok nis.8. selanjutanya akan ditanya mo directory mana nisa nyimpen file installasinya, secara

default lsws akan ngasih tempat di directory “/opt/lsws”, klo g mau disitu jg bisa tapi dng syarat user biasa hrus bisa akses ke folder tersebut.

9. selanjutnya akan ditanya untuk administrator namanya mo apa?secara default namanya admin tp bisa ko nisa rubah misalkan mau nama shandy, ini jg boleh-boleh aja ko

10. nah disini dmnta password untuk si admin tadi, masukan aja sesuka hati asalkan inget nantinya

11. klo ketika nisa install lsws dng user root, maka akan diminta memasukan user yg dapat mengaksesnya nanti, secara default usernya nobody yg arti boleh siapa aja.

12. disini group-nya udah deh di enter aja.13. on this step, nisa akan ditanya mau pake port berapa untuk webnya defaultnya sih 8088

tapi yg perlu diingat g boleh ngasih number dibawah 1024, karena haram hehe bcanda maksudnya port dibawah 1024 itu adalah port kekuasaan administrator atau root so nantinya webnya g bakal bisa di akses ma orang lain dan juga dibawah 1024 tu udah dipake ma aplikasi yang lain di system operasi linux ini.

14. nah lsws ini membedakan port untuk admin dan public, scara default dikasih port 7080 udah enter aja ntar klo dah ngerti boleh deh dirubah-rubah ok

15. selanjutnya akan ditanaya, nisa mau ngerubah script global untuk phpnya ato g mending enter aja kata shandy mah

16. kemudian dsni enter aja lagi17. disini jg enter aja lagi18. nah klo muncul pertanyaan “Would you like to import Apache configuration [y/N]?”

enter aja lagi.19. nah enter aja lagi, mudahkan?20. selanjutnya akan ditanya apakah nisa mo buat si lsws ini run skrg atau ntar, kt aku

mending enter aja lagi21. nah untuk memulai lsws ini ketik perintah “/etc/init.d/lsws start” sampai sini dapat

dipahami? Klo da apa2 hubungi aja aku ya! Ditunggu loh....

Gbr cara ke-1

Page 6: Lite Speed Web Server

Gambar cara ke-2

Cmd pindah direktory

Cmd bwt ekstrak file

Nah ini tools nya

Page 7: Lite Speed Web Server

Gbr install

Icon open file

pilih nama paket, seharunya lsws-2.0.4-std-i386-linux.tar.gz yg ini versi yg shandy pake

Klik open

Pilih tempat ekstrak filenya

Klik ok, untuk mulai ekstrak

Stlah ekstrak akan muncul folder lsws, lalu nisa pndah ke folder lsws tsb.

Page 8: Lite Speed Web Server

Ini tampilan lsws sebelum ada web pagenya lewat web browser untuk user public.

Nah yg ini tampilan lsws bwt admin, klik ini klo mo msuk as admin

Port 8088 bwt public

Page 9: Lite Speed Web Server

Ketika login akan ditanya nama username dan passwordnya, untuk contoh pake user admin

Inilah tampilan webpage administrator atau control panelnya deh

Page 10: Lite Speed Web Server

Sampai disini penjelasan shandy, jika ada yang keslahan dalam penulisan shandy minta maaf dan jika nia masih kurang ngerti atau g jelas silahkan kunjungi site lite speed web server ok!! C..u..