Skip to content

Instantly share code, notes, and snippets.

@bharatmicrosystems
Created December 16, 2020 16:39
Show Gist options
  • Save bharatmicrosystems/f757614ee98e1ed7a59a46d8f58a093b to your computer and use it in GitHub Desktop.
Save bharatmicrosystems/f757614ee98e1ed7a59a46d8f58a093b to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo apt update -y
sudo apt install -y nginx
sudo mv /tmp/index.html /var/www/html/index.html
sudo systemctl enable nginx
sudo systemctl start nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment