Install dan hapus nginx di linux
Install nginx
buka terminal, kemudian ketikkan perintah:
apt update
apt -y install nginx
systemctl stop nginx.service
systemctl start nginx.service
systemctl enable.service
Hapus nginx
- Tanpa mengahups configurasi nginx, ketikkan perintah :
apt remove nginx nginx-common
- Menghapus seluruhnya
apt purge nginx nginx-common