Cara Instal LiteSpeed di VPS Linux Print

  • 0

Panduan instalasi LiteSpeed Web Server di VPS Linux untuk meningkatkan performa website dan manajemen server.

1. Persiapan VPS

  • Sistem operasi: CentOS 7/8 / Ubuntu 20.04+ / Debian 10+

  • VPS minimal 1GB RAM, disarankan 2GB+

  • Akses root via SSH

  • Pastikan lisensi LiteSpeed (OpenLiteSpeed gratis, Enterprise berbayar)


2. Update Sistem

 
# Ubuntu/Debian sudo apt update && sudo apt upgrade -y # CentOS sudo yum update -y sudo reboot

3. Instal OpenLiteSpeed (Gratis)

  1. Tambahkan repository dan install:

 
# Ubuntu/Debian wget -O - http://rpms.litespeedtech.com/debian/enable_lst_debian_repo.sh | sudo bash sudo apt install openlitespeed -y # CentOS wget -O - http://rpms.litespeedtech.com/centos/enable_lst_centos_repo.sh | sudo bash sudo yum install openlitespeed -y
  1. Install PHP (sesuai kebutuhan WordPress atau aplikasi web):

 
# Ubuntu/Debian sudo apt install lsphp74 lsphp74-common lsphp74-mysql -y # CentOS sudo yum install lsphp74 lsphp74-common lsphp74-mysql -y

4. Konfigurasi LiteSpeed

  1. Login ke panel admin LiteSpeed:

 
http://IP_VPS:7080
  • Username & password: admin (ubah saat login pertama kali)

  1. Tambahkan Virtual Host untuk domain:

    • Listeners → Add → Virtual Host

    • Arahkan ke folder website (misal /var/www/html/example.com)


5. Test Website

  • Akses website via browser: http://example.com

  • Pastikan website berjalan normal


6. Tips Tambahan

  • OpenLiteSpeed gratis, Enterprise menawarkan fitur tambahan seperti LSCache, QUIC, dan HTTP/3

  • Gunakan LSCache untuk optimasi WordPress

  • Pastikan firewall VPS membuka port 80 & 443

  • Jika menggunakan panel seperti Webuzo atau cPanel, integrasi LiteSpeed Enterprise lebih mudah


Manfaat LiteSpeed:

  • Performa lebih cepat dibanding Apache/Nginx standar

  • Mendukung HTTP/3 dan LSCache untuk caching WordPress

  • Lebih ringan untuk VPS dengan resource terbatas


Was this answer helpful?

« Back