How to uninstall aapanel completely? Your guide aapanel install does not remove it completely, there is still nginx running, and i cant find the "real" nginx binary, removing all also still same my server ip still running nginx,
`[root@oc2 ~]# sudo find / -name nginx
/var/lib/pcp/config/pmlogconf/nginx
/var/log/nginx
/var/cache/nginx
/etc/rc.d/init.d/nginx
/etc/pcp/pmlogconf/nginx
/usr/bin/nginx
/usr/share/nginx
/usr/local/nginx
/home/opc/.local/share/containers/storage/overlay/1e47998cea62dd8bb85678af76142623a2113574223fc0b6658ff4181bb44e73/diff/go/pkg/mod/github.com/smallstep/certificates@v0.25.2/examples/docker/nginx
[root@oc2 ~]# openresty -V
-bash: openresty: command not found
[root@oc2 ~]# which nginx
/usr/bin/which: no nginx in (/root/.cargo/bin:/root/.local/share/pnpm:/root/.local/bin:/root/bin:/usr/share/Modules/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
[root@oc2 ~]# sudo find / -name openresty
[root@oc2 ~]# systemctl stop nginx
[root@oc2 ~]# systemctl disable nginx
nginx.service is not a native service, redirecting to systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install disable nginx
[root@oc2 ~]# yum remove nginx
No match for argument: nginx
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!
[root@oc2 ~]# sudo rm -rf /var/lib/pcp/config/pmlogconf/nginx
sudo rm -rf /var/log/nginx
sudo rm -rf /var/cache/nginx
sudo rm -rf /etc/rc.d/init.d/nginx
sudo rm -rf /etc/pcp/pmlogconf/nginx
sudo rm -rf /usr/share/nginx
sudo rm -rf /usr/local/nginx
sudo rm -f /usr/bin/nginx
[root@oc2 ~]# find / -name nginx
/home/opc/.local/share/containers/storage/overlay/1e47998cea62dd8bb85678af76142623a2113574223fc0b6658ff4181bb44e73/diff/go/pkg/mod/github.com/smallstep/certificates@v0.25.2/examples/docker/nginx
[root@oc2 ~]# rm -f /usr/bin/nginx
[root@oc2 ~]# rm -rf /usr/local/nginx
[root@oc2 ~]# systemctl daemon-reload
[root@oc2 ~]# find / -name nginx
/home/opc/.local/share/containers/storage/overlay/1e47998cea62dd8bb85678af76142623a2113574223fc0b6658ff4181bb44e73/diff/go/pkg/mod/github.com/smallstep/certificates@v0.25.2/examples/docker/nginx
[root@oc2 ~]# docker ps
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
[root@oc2 ~]# docker image prune -a
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
WARNING! This command removes all images without at least one container associated with them.
Are you sure you want to continue? [y/N] y
[root@oc2 ~]# docker volume prune
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
WARNING! This will remove all volumes not used by at least one container. The following volumes will be removed:
No dangling volumes found
[root@oc2 ~]# docker system prune --all
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
WARNING! This command removes:
- all stopped containers
- all networks not used by at least one container
- all images without at least one container associated with them
- all build cache
Are you sure you want to continue? [y/N] y
Total reclaimed space: 0B
[root@oc2 ~]# find / -name nginx
/home/opc/.local/share/containers/storage/overlay/1e47998cea62dd8bb85678af76142623a2113574223fc0b6658ff4181bb44e73/diff/go/pkg/mod/github.com/smallstep/certificates@v0.25.2/examples/docker/nginx
[root@oc2 ~]# rm -rf /home/opc/.local/share/containers/storage/overlay/1e47998cea62dd8bb85678af76142623a2113574223fc0b6658ff4181bb44e73/diff/go/pkg/mod/github.com/smallstep/certificates@v0.25.2/examples/docker/nginx
[root@oc2 ~]# find / -name nginx
[root@oc2 ~]# podman system prune --all
WARNING! This command removes:
- all stopped containers
- all networks not used by at least one container
- all images without at least one container associated with them
- all build cache
Are you sure you want to continue? [y/N] y
Total reclaimed space: 0B
[root@oc2 ~]# find / -name nginx
[root@oc2 ~]# htop
[root@oc2 ~]#`