Skip to content

Instantly share code, notes, and snippets.

View hms5232's full-sized avatar

hms5232

View GitHub Profile
@hms5232
hms5232 / ubuntu_lemp.sh
Last active August 28, 2024 02:10
Install PHP, Nginx and MariaDB on Ubuntu for Laravel.
#!/usr/bin/env bash
sudo apt install -y software-properties-common && \
sudo add-apt-repository ppa:ondrej/php && \
sudo apt update && \
sudo apt install -y \
openssl \
php7.4 \
php7.4-common \
php7.4-cli \