Skip to content

Instantly share code, notes, and snippets.

@Todoviernes
Last active August 18, 2022 01:18
Show Gist options
  • Save Todoviernes/447cf95dcb52eed399616442eea3f63a to your computer and use it in GitHub Desktop.
Save Todoviernes/447cf95dcb52eed399616442eea3f63a to your computer and use it in GitHub Desktop.
sudo apt update
sudo apt upgrade -y
sudo apt install nginx -y
sudo apt install mariadb-server -y
sudo mysql_secure_installation
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install php7.4 php7.4-curl php7.4-json php7.4-mbstring php7.4-soap php7.4-xml php7.4-zip php7.4-bcmath php7.4-bcmath php7.4-gd php7.4-intl -y
sudo apt install php7.4-fpm -y
wget https://wordpress.org/latest.zip
sudo unzip latest.zip
cd /etc/nginx/sites-available/
sudo cp default wordpress.conf
rm -rf /etc/nginx/sites-enabled/default
sudo ln -s /etc/nginx/sites-available/wordpress.conf /etc/nginx/sites-enabled/
sudo service nginx restart
# Reference
# https://www.youtube.com/watch?v=OQHWB1D7rgo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment