Skip to content

Instantly share code, notes, and snippets.

@grvoyt
Created January 21, 2022 01:25
Show Gist options
  • Save grvoyt/e1208fedece7ad62d7514a182618ca4a to your computer and use it in GitHub Desktop.
Save grvoyt/e1208fedece7ad62d7514a182618ca4a to your computer and use it in GitHub Desktop.
sudo apt install -y htop net-tools mc curl gnupg2 ca-certificates lsb-release ubuntu-keyring
curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | sudo tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null
echo "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] \
http://nginx.org/packages/ubuntu `lsb_release -cs` nginx" \
| sudo tee /etc/apt/sources.list.d/nginx.list
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
apt update
apt install -y htop net-tools mc nginx mysql php8.0-common php8.0-cli php8.0-fpm php8.0-{curl,intl,mysql,readline,xml,mbstring}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment