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/sh | |
sudo apt update -y | |
sudo apt upgrade -y | |
sudo apt install apache2 | |
sudo systemctl restart apache2 | |
sudo ufw app list | |
sudo ufw allow 'Apache' | |
sudo ufw status | |
sudo ufw reload | |
sudo ufw restart |
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/sh | |
# This command will update & upgrade your system | |
sudo apt update && sudo apt-get upgrade --fix-missing | |
# Install the package build-essential for making the package and checkinstall for putting it into your package manager | |
sudo apt install build-essential checkinstall | |
# Install Ubuntu Restricted Extras | |
sudo apt install ubuntu-restricted-extras |