Set up LiteSpeed Web Server on Plesk

LiteSpeed Technologies
20 Apr 202307:24

Summary

TLDRIn diesem Video wird erklärt, wie man die Enterprise-Version des LiteSpeed Web Servers auf der Plesk Obsidian WebOps Hosting Plattform installiert. Voraussetzungen sind eine VPS-Cloud-Installation mit Plesk, Apache und einer voll qualifizierten Domain. Der Prozess umfasst das Deaktivieren des nginx-Reverse-Proxys, das Überprüfen der PHP-Handler-Konfiguration, das Erwerben einer LiteSpeed-Lizenz, die Installation und das Überprüfen der Funktionalität des LiteSpeed Web Servers. Es werden zwei Installationsmethoden angeboten: über die LiteSpeed-Erweiterung für Plesk oder die Kommandozeile. Zum Schluss gibt es Hinweise zur Verifizierung und Konfiguration des Servers.

Takeaways

  • 🔧 Du benötigst einen VPS mit installiertem und konfiguriertem Plesk und Apache HTTP Server.
  • 🌐 Eine vollqualifizierte Domain sollte auf den Plesk-Server zeigen.
  • 🔒 Öffne die Ports 22, 7088, 80 und 443 für TCP sowie 443 für UDP in der Firewall.
  • 🛑 Deaktiviere den Nginx-Reverse-Proxy, damit er nicht mit der LiteSpeed-Konfiguration interferiert.
  • ⚙️ Überprüfe die PHP-Handler-Einstellungen und stelle sicher, dass FastCGI aktiviert ist.
  • 🔑 Eine LiteSpeed Enterprise-Lizenz ist optional; du kannst mit einer 15-tägigen Testversion starten.
  • 💻 LiteSpeed kann über das Plesk-Plugin oder über die Kommandozeile installiert werden.
  • 🚪 Bei der Installation über das Plesk-Plugin kannst du LiteSpeed auf einem Port-Offset laufen lassen, um Apache parallel zu testen.
  • ⚙️ Verifiziere, dass LiteSpeed nach der Installation läuft, indem du im Plesk-Prozess-Manager nach dem litespeed-Prozess suchst.
  • 🎉 Nach erfolgreicher Konfiguration kannst du LiteSpeed als Standard-Webserver aktivieren.

Q & A

  • Was sind die Voraussetzungen für die Installation des LiteSpeed Web Servers auf Plesk?

    -Für die Installation von LiteSpeed Web Server benötigen Sie einen Cloud-gehosteten VPS mit Plesk, eine funktionierende Apache HTTP-Server-Instanz und einen vollqualifizierten Domainnamen, der auf den Plesk-Server zeigt. Außerdem müssen die Ports 22 (SSH), 7088, 80 und 443 (für TCP und UDP) geöffnet sein.

  • Warum muss der nginx Reverse Proxy deaktiviert werden?

    -Der nginx Reverse Proxy muss deaktiviert werden, weil er standardmäßig als Proxy zwischen Apache und dem Internet fungiert. Um zu verhindern, dass dies mit der LiteSpeed-Konfiguration in Konflikt gerät, sollte nginx ausgeschaltet werden, damit Apache allein läuft.

  • Wie überprüft man, ob Apache auf den richtigen Ports läuft?

    -Nach der Deaktivierung des nginx Reverse Proxy kann man den Befehl 'lsof' ausführen, um sicherzustellen, dass Apache auf den HTTP- und HTTPS-Ports (80 und 443) lauscht.

  • Welche PHP-Handler müssen aktiviert sein, bevor LiteSpeed installiert wird?

    -Es muss sichergestellt werden, dass FastCGI als PHP-Handler aktiviert ist, bevor LiteSpeed installiert wird. Dies kann im Plesk-Menü unter 'Tools & Einstellungen > PHP-Einstellungen' überprüft und konfiguriert werden.

  • Wie erhält man eine LiteSpeed Web Server Lizenz?

    -Man kann entweder eine 15-tägige Testlizenz kostenlos verwenden oder eine Lizenz auf der Website von LiteSpeed kaufen. Der Kaufprozess beinhaltet die Auswahl eines Lizenztyps, eines Caching-Produkts und die Eingabe von Zahlungsinformationen. Nach dem Kauf wird die Lizenz per E-Mail gesendet.

  • Welche zwei Methoden gibt es zur Installation von LiteSpeed Web Server in einer Plesk-Umgebung?

    -Es gibt zwei Methoden: Die erste ist die Verwendung der LiteSpeed-Plesk-Erweiterung, die direkt in Plesk heruntergeladen und installiert werden kann. Die zweite Methode ist die Installation über die Befehlszeile mit einem Skript.

  • Wie wird der LiteSpeed Web Server über die LiteSpeed-Plesk-Erweiterung installiert?

    -Man lädt die LiteSpeed-Erweiterung in Plesk herunter, installiert sie und verwendet die Erweiterung, um LiteSpeed Web Server zu installieren. Der Benutzer gibt entweder eine gekaufte Lizenznummer ein oder fordert eine Testlizenz an.

  • Wie kann LiteSpeed parallel zu Apache betrieben werden?

    -Man kann einen Port-Offset festlegen, sodass LiteSpeed auf den Ports 1080 (HTTP) und 1443 (HTTPS) läuft, während Apache weiterhin auf den Standard-Ports 80 und 443 aktiv ist. Dies ermöglicht es, beide Server gleichzeitig auszuführen.

  • Wie installiert man LiteSpeed über die Befehlszeile?

    -Man verbindet sich per SSH mit der Plesk-Umgebung und führt das Skript 'get.litespeed.sh' aus. Der Benutzer wird nach einer Lizenznummer gefragt, und es werden einige Konfigurationen vorgenommen, z.B. das Aktivieren von PHP_SUEXEC und das Setzen eines Port-Offsets.

  • Wie kann überprüft werden, ob LiteSpeed nach der Installation läuft?

    -In der Plesk-Oberfläche kann man unter 'Prozessliste' nachsehen, ob LiteSpeed läuft. Mindestens ein Eintrag für LiteSpeed sollte angezeigt werden, der Prozess-ID und Ressourcennutzungsstatistiken enthält.

Outlines

00:00

🚀 Installation von LiteSpeed Web Server Enterprise auf Plesk

In diesem Video wird die Installation der Enterprise-Version des LiteSpeed Web Servers auf der Plesk Obsidian WebOps Hosting-Plattform erklärt. Es sind einige Voraussetzungen erforderlich, wie ein VPS-Server mit Plesk und einem Apache HTTP Server sowie eine Domain, die auf den Plesk-Server verweist. Zudem müssen verschiedene Ports geöffnet werden. Nach den Vorbereitungen wird erläutert, wie man den nginx Reverse Proxy deaktiviert, die PHP-Handler-Konfiguration überprüft und eine Lizenz für LiteSpeed Enterprise erhält. Danach erfolgt die Installation des LiteSpeed Web Servers und eine Überprüfung, ob er korrekt läuft. Der erste Schritt besteht darin, den nginx Reverse Proxy zu deaktivieren, da dieser die LiteSpeed-Konfiguration stören könnte. Anschließend wird die Konfiguration des PHP-Handlers überprüft, wobei ein FastCGI-Handler aktiviert werden sollte. Für die LiteSpeed-Installation kann eine 15-tägige Testlizenz genutzt werden. Zudem wird der Kaufprozess für eine Lizenz beschrieben, falls die Testlizenz abläuft. Für die Installation gibt es zwei Methoden: über das LiteSpeed Plesk-Plugin oder über die Kommandozeile. Es wird die Nutzung des Plugins beschrieben, das eine einfache Installation sowie weitere Verwaltungsaufgaben ermöglicht. Man kann LiteSpeed auf einem Port-Offset testen, um sicherzustellen, dass die Konfiguration fehlerfrei funktioniert.

05:02

💻 Installation von LiteSpeed Web Server über die Kommandozeile

Als zweite Installationsmethode wird die Installation des LiteSpeed Web Servers über die Kommandozeile beschrieben. Dafür muss man sich per SSH mit der Plesk-Umgebung verbinden und das Installationsskript get.litespeed.sh ausführen. Dabei kann man entweder eine Lizenznummer angeben oder eine Testlizenz für 15 Tage verwenden. Das Skript fragt einige Einstellungen ab, wie die Aktivierung von PHP_SUEXEC, die Festlegung eines Port-Offsets und die Konfiguration von Administratorinformationen. Anschließend wird LiteSpeed installiert und kann parallel zu Apache betrieben werden, da ein Port-Offset verwendet wird. Nach der Installation sollte überprüft werden, ob LiteSpeed korrekt läuft. Dies geschieht über die Prozessliste im Plesk-Kontrollpanel, wo man nach laufenden LiteSpeed-Prozessen sucht. LiteSpeed kann mithilfe des Plugins konfiguriert und anschließend als primärer Webserver verwendet werden. Abschließend wird die erfolgreiche Installation bestätigt, und es wird auf Supportmöglichkeiten verwiesen, falls Probleme auftreten.

Mindmap

Keywords

💡LiteSpeed Web Server

Der LiteSpeed Web Server ist eine leistungsstarke Webserver-Software, die für hohe Geschwindigkeit und Effizienz entwickelt wurde. Im Video wird er als Alternative zu Apache erwähnt und in einer Plesk-Umgebung installiert. LiteSpeed bietet Funktionen wie Caching und Lastverteilung, was die Serverleistung verbessert.

💡Plesk Obsidian

Plesk Obsidian ist eine WebOps-Plattform, die es Administratoren ermöglicht, Webserver, Domains und Anwendungen zentral zu verwalten. Das Video behandelt die Installation von LiteSpeed auf dieser Plattform und zeigt, wie sie für Webservermanagement und Konfigurationsaufgaben genutzt wird.

💡Apache HTTP Server

Apache ist ein weit verbreiteter Webserver, der in der Plesk-Umgebung standardmäßig vorinstalliert ist. Im Video wird beschrieben, wie man Apache deaktiviert oder parallel mit LiteSpeed betreibt, um die Webserver-Konfiguration zu optimieren.

💡Nginx Reverse Proxy

Nginx fungiert als Reverse-Proxy und sitzt zwischen Apache und dem Internet, um Anfragen weiterzuleiten und die Leistung zu verbessern. Im Video wird erläutert, wie Nginx deaktiviert werden muss, um Konflikte mit LiteSpeed zu vermeiden.

💡FastCGI

FastCGI ist eine Schnittstelle zur Verarbeitung von dynamischen Webinhalten, insbesondere in PHP. Im Video wird darauf hingewiesen, dass FastCGI aktiviert sein muss, um LiteSpeed erfolgreich zu installieren und auszuführen, da es zur effizienten Verarbeitung von PHP-Skripten beiträgt.

💡Port-Offset

Ein Port-Offset wird verwendet, um LiteSpeed auf anderen Ports als Apache laufen zu lassen, um beide Webserver parallel zu testen. Im Video wird empfohlen, einen Offset von 1000 einzustellen, sodass LiteSpeed auf den Ports 1080 und 1443 für HTTP und HTTPS läuft.

💡SSH

SSH (Secure Shell) ist ein Protokoll, das eine sichere Verbindung zu einem entfernten Server ermöglicht. Im Video wird SSH verwendet, um auf den Server zuzugreifen und Befehle über die Kommandozeile einzugeben, insbesondere bei der Installation von LiteSpeed über das Terminal.

💡Lizenzschlüssel

Ein Lizenzschlüssel ist erforderlich, um die Vollversion des LiteSpeed Web Servers zu aktivieren. Im Video wird beschrieben, wie man einen Lizenzschlüssel kauft oder eine Testversion für 15 Tage nutzt, um die Funktionen von LiteSpeed auszuprobieren.

💡PHP_SUEXEC

PHP_SUEXEC ist eine Option, die es ermöglicht, PHP-Skripte unter dem Benutzer auszuführen, dem sie gehören. Im Video wird empfohlen, PHP_SUEXEC während der Installation von LiteSpeed zu aktivieren, um die Sicherheit und Verwaltung von PHP-Prozessen zu verbessern.

💡WebAdmin Console

Die WebAdmin Console ist die Verwaltungsoberfläche von LiteSpeed, über die Administratoren den Webserver konfigurieren und verwalten können. Im Video wird erklärt, wie man einen Benutzernamen und ein Passwort für den Zugriff auf diese Konsole festlegt.

Highlights

Overview of installing LiteSpeed Web Server Enterprise on Plesk Obsidian Hosting Platform.

Prerequisites include a cloud-hosted VPS with Plesk control panel, Apache HTTP Server, a fully qualified domain name, and open firewall ports 22, 7088, 80, and 443.

Disabling the nginx reverse proxy is the first step to avoid conflicts with LiteSpeed.

Verify PHP handler configuration by enabling the FastCGI Application in Plesk's PHP Settings.

Obtain a LiteSpeed Enterprise license or use a 15-day trial to proceed with installation.

Two installation methods: using the LiteSpeed Plesk Extension or installing via command line.

Method 1: Installing LiteSpeed via the Plesk Extension, downloadable through Plesk or LiteSpeed's website.

During installation, configure settings like port offset (1000) to allow LiteSpeed and Apache to run concurrently.

Method 2: Installing LiteSpeed via command line using the `get.litespeed.sh` installation script.

Set port offset to 1000 to test LiteSpeed while Apache continues running on default ports.

Verify installation by checking Plesk’s Process List for the LiteSpeed process.

Install LiteSpeed’s plugin to configure caching and manage Apache and LiteSpeed switch-over.

After configuration, switch to LiteSpeed Web Server full time using the LiteSpeed plugin.

Follow the provided troubleshooting links or contact support if any issues arise during setup.

Congratulatory note after successfully installing LiteSpeed Web Server Enterprise in Plesk environment.

Transcripts

play00:03

In this video, we will explain how to install the Enterprise version of LiteSpeed Web Server

play00:08

on the Plesk Obsidian WebOps Hosting Platform.

play00:11

Before we begin you will need to have a cloud-hosted VPS installed and configured with the Plesk

play00:17

control panel, and a working copy of Apache HTTP Server.

play00:21

You will also need a fully qualified domain name pointing to the Plesk server.

play00:25

And lastly, you will need to open the following ports at the server level and at the Plesk

play00:29

firewall: 22 for SSH

play00:32

7088, 80, and 443 for TCP and 443 for UDP

play00:38

Once these prerequisites are dealt with, we can dive into the following topics:

play00:42

Disabling the nginx reverse proxy Checking the PHP handler configuration

play00:46

Obtaining a LiteSpeed Enterprise license Installing LiteSpeed Web Server

play00:52

Verifying that LiteSpeed Web Server is running First up, we must disable the nginx reverse

play00:56

proxy.

play00:57

Plesk Obsidian ships with nginx configured as a reverse proxy that sits between Apache

play01:02

and the Internet.

play01:03

To prevent this setup from interfering with LiteSpeed configuration, it needs to be disabled.

play01:07

Sign in to Plesk, navigate to Tools & Settings > Server Management > Services Management

play01:13

and press the Stop button next to Reverse Proxy Server (nginx).

play01:17

Apache should now be running alone without nginx.

play01:20

If you’d like to verify that Apache is listening on HTTP port 80 and HTTPS port 443, you can

play01:26

run the lsof command, which is listed in the video description.

play01:30

The next step is to verify that you have FastCGI Application enabled.

play01:35

Navigate to Tools & Settings > General Settings > PHP Settings.

play01:37

You will see a list of available PHP handlers.

play01:41

Flick the switch to enable any of the FastCGI Application handlers that you want enabled.

play01:47

Now you are ready to install LiteSpeed Web Server.

play01:49

Obtaining a license is optional.

play01:51

It is possible to complete all of the steps in this video with a simple 15-day trial license.

play01:56

Just be aware that once the trial period is over, you will need to purchase a license

play02:00

if you want to continue to use LiteSpeed Web Server.

play02:02

If you need help choosing an appropriate license, see the link in the description.

play02:06

If you would like to use a trial license, you can skip ahead to the next section of

play02:09

the video.

play02:10

To purchase a LiteSpeed Web Server license: Visit store.litespeedtech.com in your browser.

play02:15

Choose the license that you would like to purchase and click Order Now.

play02:18

Choose a billing cycle, select a caching product and click Continue.

play02:22

If you are not sure what type of caching you need, choose LSCache Standard, which is included

play02:26

for free in every license.

play02:28

Click Check Out, enter your personal or company details, select a payment method, and click

play02:33

Complete Order.

play02:34

If you don’t have a LiteSpeed account, you will create one during checkout.

play02:37

An invoice for your purchase will be sent to your email address.

play02:40

This invoice will include license details, but you may also find the serial number on

play02:44

your account Home page.

play02:45

Look in the Your Active Products/Services section where it says serial.

play02:50

Copy this to your clipboard, since you will need it for the next step..

play02:53

Installing LiteSpeed Web Server There are two ways to install LiteSpeed Web

play02:57

Server in a Plesk environment: You can download the LiteSpeed Plesk Extension

play03:01

and use that, Or you can install from the command line

play03:03

We’ll show you both methods, and you can choose whichever one you prefer.

play03:07

Method 1: The LiteSpeed Plesk Extension LiteSpeed has developed an extension for Plesk,

play03:12

which is meant to help you with server management and cache management tasks.

play03:15

You can also use the extension to install LiteSpeed Web Server.

play03:19

You can download the LiteSpeed extension from our website using the link in the video description,

play03:23

or you can download and install it from within Plesk itself.

play03:27

Navigate to Extensions and use the search box to find the LiteSpeed extension.

play03:31

Click Install LiteSpeed Extension and click Get It Free.

play03:35

Once the plugin is installed, you can use it to install LiteSpeed Web Server.

play03:39

Click Open and then Install LiteSpeed Web Server.

play03:41

Read the LiteSpeed License agreement and click I agree.

play03:44

If you purchased a LiteSpeed Enterprise license, click Use an Enterprise License and type in

play03:49

the serial number.

play03:50

Otherwise click Request a trial license.

play03:53

If you are going to want the ability to test LiteSpeed Web Server while Apache is still

play03:57

running, you can use a port offset for LiteSpeed.

play04:00

We recommend this, so that you may test your LiteSpeed setup without experiencing any down

play04:04

time.

play04:05

Just be aware that if you use these additional ports, you will need to open them at your

play04:09

firewall.

play04:10

To use a port offset, navigate to Installation Options, and set Port Offset to 1000.

play04:15

This will tell LiteSpeed to listen for HTTP connections on port 1080 and HTTPS connections

play04:20

on port 1443 and will allow you to have both LiteSpeed and Apache running at the same time.

play04:26

Type in a username and password for WebAdmin Console Login.

play04:29

In the Additional Setup section, select Open LiteSpeed WebAdmin Firewall Port, Open HTTP/3(QUIC)

play04:37

Connection Firewall Port and Set Server/VH Cache Roots.

play04:41

Click Install to start the software installation.

play04:44

When the installation is complete click Restart LiteSpeed to start the web server.

play04:47

You can continue configuring LiteSpeed Web Server through the LiteSpeed plugin, if you

play04:51

like.

play04:52

You can set the Cache Root, switch between LiteSpeed and Apache, manage cache plugin

play04:55

installations across your server, and more.

play04:58

We won’t go into detail on that here, but we’ve made a video that explains everything.

play05:02

Check the description for a link.

play05:03

Method 2: The Command Line Interface

play05:06

If you don’t want to use the LiteSpeed extension, you can install LiteSpeed Web Server from

play05:10

the command line.

play05:11

Connect to your Plesk environment via SSH and run the get.litespeed.sh installation

play05:17

script.

play05:18

You can either provide your license serial number, or type out the word “TRIAL” to

play05:21

start a 15-day trial period.

play05:23

We’ve put the exact commands in the video description, in case you would like to copy

play05:26

them.

play05:27

The installation script will begin by prompting you to answer a few questions.

play05:30

We’re not using an Options file, so type Y and press Enter to proceed.

play05:34

On the Enable PHP_SUEXEC prompt, enter 2 to enable PHP_SUEXEC and press Enter.

play05:41

Set the Port Offset to 1000 and press Enter.

play05:45

Provide an administrator username and email address

play05:48

Enter 0 to inform the installer that you do not wish to switch PHP Handlers

play05:52

Finally, the script will ask whether to switch to LiteSpeed Web Server when the installation

play05:56

completes.

play05:57

Since we have set a port offset, we can run LiteSpeed and Apache at the same time while

play06:01

we test LiteSpeed Web Server.

play06:03

Enter 0 at the prompt.

play06:05

When all responses to each prompt have been provided, installation will proceed.

play06:09

When it completes, you will see a success message that includes a randomly generated

play06:13

password for the LiteSpeed WebAdmin Console.

play06:15

Please save this password in a safe place.

play06:18

Verifying LiteSpeed is running Now that we’ve successfully installed LiteSpeed

play06:21

Web Server, let’s verify that it is running.

play06:23

In the Plesk control panel, click Process List.

play06:27

This will display a paginated list of running processes.

play06:30

You should see at least one row for litespeed.

play06:33

Click the word litespeed to see more information about the running process, including the process

play06:37

ID, and resource usage statistics.

play06:40

At this point, LiteSpeed is installed and running alongside Apache on a port offset.

play06:45

Take this opportunity to test your configuration.

play06:47

Install the LiteSpeed plugin, if you haven’t already, and use it to configure caching across

play06:51

your server.

play06:52

When everything is configured to your liking, you can use the plugin to switch to LiteSpeed

play06:56

Web Server full time.

play06:57

Congratulations!

play06:58

You have successfully installed LiteSpeed Enterprise in a Plesk environment.

play07:02

If you face any issues with your set up, please see the links in the description for troubleshooting

play07:05

and more.

play07:06

Or, open a support ticket from your client area.

play07:09

We’re happy to help.

play07:10

Thank you for liking, sharing, and subscribing.

play07:11

See you soon.

Rate This

5.0 / 5 (0 votes)

Ähnliche Tags
LiteSpeedPleskInstallationWebserverEnterpriseLizenznginxApacheSicherheitHosting