Last active
April 8, 2025 08:42
-
-
Save aadps/d0997d8e8aa7e33ce0e55c82181fc213 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt update | |
sudo apt install -y vim zsh git goaccess | |
sudo apt install -y lsb-release ca-certificates apt-transport-https software-properties-common gnupg2 | |
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/sury-php.list | |
wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add | |
sudo apt update | |
sudo apt install -y php-fpm mariadb-server php-mysql php-curl php-xml php-imagick php-mbstring php-zip php-intl mycli | |
sudo a2enmod proxy_fcgi setenvif rewrite | |
sudo a2enconf php8.2-fpm | |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
chmod +x wp-cli.phar | |
sudo mv wp-cli.phar /usr/local/bin/wp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment