Skip to content

Hoe de LOMP-stack op Ubuntu 24.04 te installeren

Netcloud24
Cloud Infrastructure Expert
NetCloud24 Expert Guides Open the dedicated video page

Video transcript: NetCloud24 Expert Guides. Practical knowledge for a reliable cloud. Cloud and VPS expertise, security, performance, and step-by-step tutorials. Learn, deploy, and keep building with NetCloud24.

 

 

Het installeren van de LOMP-stack (OpenLiteSpeed, MySQL en PHP) op je VPS-server die draait op Ubuntu 24.04 is een eenvoudig proces. Volg de onderstaande stappen om het in te stellen.

Stap 1: Update je systeem

        sudo apt update && sudo apt upgrade -y
    

Stap 2: Installeer OpenLiteSpeed

Installeer OpenLiteSpeed:

        wget https://openlitespeed.org/package/repo/ubuntu/ol/ubuntu-latest.gpg
        sudo apt-key add ubuntu-latest.gpg
        echo "deb http://rpms.openlitespeed.org/ubuntu/ focal main" | sudo tee /etc/apt/sources.list.d/openlitespeed.list
        sudo apt update
        sudo apt install openlitespeed -y
    

Stap 3: Installeer MySQL

Installeer de MySQL-server:

        sudo apt install mysql-server -y
        sudo mysql_secure_installation
    

Volg de aanwijzingen om je MySQL-installatie te beveiligen.

Stap 4: Installeer PHP

Installeer PHP met de benodigde extensies:

        sudo apt install lsphp74 lsphp74-mysql lsphp74-xml lsphp74-mbstring lsphp74-curl lsphp74-zip lsphp74-gd -y
    

Stap 5: Configureer OpenLiteSpeed om PHP te gebruiken

Stel de PHP-versie in OpenLiteSpeed in:

        sudo nano /usr/local/lsws/conf/httpd_config.conf
    

Zoek de volgende regels en werk ze bij om naar de juiste PHP-versie te verwijzen:

Visual overview of Hoe de LOMP-stack op Ubuntu 24.04 te installeren
Visual overview: Hoe de LOMP-stack op Ubuntu 24.04 te installeren
        74
    

Stap 6: Start OpenLiteSpeed

Start de OpenLiteSpeed-server:

        sudo /usr/local/lsws/bin/lswsctrl start
    

Stap 7: Toegang tot OpenLiteSpeed WebAdmin

Open je webbrowser en navigeer naar:

        http://your_server_ip:7080
    

Log in met de standaardgegevens:

        Gebruikersnaam: admin
        Wachtwoord: 123456
    

Vergeet niet om het wachtwoord na de eerste aanmelding te wijzigen.

Conclusie

Door deze stappen te volgen, heb je met succes de LOMP-stack (OpenLiteSpeed, MySQL en PHP) geïnstalleerd op je VPS-server die draait op Ubuntu 24.04. Je kunt nu beginnen met het ontwikkelen van je webapplicaties!

Windows VPS Deutschland

Windows VPS España

Windows VPS Nederland

Windows VPS Italia

Key topics covered in Hoe de LOMP-stack op Ubuntu 24.04 te installeren
Key topics covered in this NetCloud24 guide.

Windows VPS Portugal

VPS Windows Italia

Windows VPS

Windows VPS

Windows VPS Sverige

Windows VPS Norge

Windows VPS

Windows VPS Türkiye

Practical checklist for Hoe de LOMP-stack op Ubuntu 24.04 te installeren
Practical checklist for applying the guidance in this article.

Windows RDS (Remote Desktop Services)

Windows VPS

Hoe de LOMP-stack op Ubuntu 24.04 te installeren
Hoe de LOMP-stack op Ubuntu 24.04 te installeren
Explore more

More on this topic

Netcloud24
Netcloud24
Cloud Infrastructure Expert · NetCloud24

Comments are closed.