Skip to content

Instantly share code, notes, and snippets.

View ajayfroiden's full-sized avatar

Ajay Kumar Choudhary ajayfroiden

View GitHub Profile
@ajayfroiden
ajayfroiden / install_lamp_ubuntu.sh
Last active May 3, 2024 09:42
Ubuntu 22 - PHP development (8.3, apache 2.4) credits ankurk91
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
# Ubuntu 20.04 dev Server
# Run like (without sudo) - bash install_lamp.sh
# Script should auto terminate on errors
export DEBIAN_FRONTEND=noninteractive
@ajayfroiden
ajayfroiden / install_lamp_18_php73.sh
Last active April 3, 2024 09:25
Install LAMP stack on ubuntu
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
# Ubuntu 18.04 dev Server
# Run like - bash install_lamp.sh
# Script should auto terminate on errors
echo -e "\e[96m Adding PPA \e[39m"
sudo add-apt-repository -y ppa:ondrej/apache2