Skip to content

Instantly share code, notes, and snippets.

@jult
Created January 8, 2020 21:42
Show Gist options
  • Save jult/3338f234e677c8b551f32257db2164a5 to your computer and use it in GitHub Desktop.
Save jult/3338f234e677c8b551f32257db2164a5 to your computer and use it in GitHub Desktop.
kick apache off my debian+nginx server
#!/bin/bash
apt purge apache2 apache2-bin apache2-data apache2-utils -y
apt clean all -y
apt update && apt upgrade && apt autoremove -y
apt-mark hold apache2 apache2-bin apache2-data apache2-utils
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment