Skip to content

Instantly share code, notes, and snippets.

@jult

jult/no_apache.sh

Created Jan 8, 2020
Embed
What would you like to do?
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