Do you know why I still get this when doing updates? I have Apache2 uninstalled.
NOTICE: You are seeing this message because you have apache2 package installed.
root@webserver:~#
Do you know why I still get this when doing updates? I have Apache2 uninstalled.
NOTICE: You are seeing this message because you have apache2 package installed.
root@webserver:~#
Check if you still have installed any of the libapache2-mod-php
packages:
dpkg -l | grep libapache2-mod-php
I ran that, it didnt say anything or return anything.
Search for any other apache package installed:
dpkg -l | grep -i apache
yes:
The following package was automatically installed and is no longer required:
linux-image-6.1.0-21-amd64
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@webserver:~# dpkg -l | grep -i apache
ii apache2 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server
ii apache2-bin 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d all Apache HTTP Server (common files)
ii apache2-suexec-custom 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server configurable suexec program for mod_suexec
ii apache2-suexec-pristine 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server standard suexec program for mod_suexec
ii apache2-utils 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server (utility programs for web servers)
ii libapache2-mod-fcgid 1:2.3.9-4 amd64 FastCGI interface module for Apache 2
ii libapr1:amd64 1.7.2-3 amd64 Apache Portable Runtime Library
ii libaprutil1:amd64 1.6.3-1+0~20230226.13+debian11~1.gbpc0b512 amd64 Apache Portable Runtime Utility Library
ii libaprutil1-dbd-sqlite3:amd64 1.6.3-1+0~20230226.13+debian11~1.gbpc0b512 amd64 Apache Portable Runtime Utility Library - SQLite3 Driver
ii libaprutil1-ldap:amd64 1.6.3-1+0~20230226.13+debian11~1.gbpc0b512 amd64 Apache Portable Runtime Utility Library - LDAP Driver
I run ‘apt autoremove’ and still get this:
root@webserver:~# dpkg -l | grep -i apache
ii apache2 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server
ii apache2-bin 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d all Apache HTTP Server (common files)
ii apache2-suexec-custom 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server configurable suexec program for mod_suexec
ii apache2-suexec-pristine 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server standard suexec program for mod_suexec
ii apache2-utils 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server (utility programs for web servers)
ii libapache2-mod-fcgid 1:2.3.9-4 amd64 FastCGI interface module for Apache 2
ii libapr1:amd64 1.7.2-3 amd64 Apache Portable Runtime Library
ii libaprutil1:amd64 1.6.3-1+0~20230226.13+debian11~1.gbpc0b512 amd64 Apache Portable Runtime Utility Library
ii libaprutil1-dbd-sqlite3:amd64 1.6.3-1+0~20230226.13+debian11~1.gbpc0b512 amd64 Apache Portable Runtime Utility Library - SQLite3 Driver
ii libaprutil1-ldap:amd64 1.6.3-1+0~20230226.13+debian11~1.gbpc0b512 amd64 Apache Portable Runtime Utility Library - LDAP Driver
Well, the output you shown says that apache2 is still installed on your system.
Yes, you can, but apt autoremove
will uninstall only the kernel package linux-image-6.1.0-21-amd64
because you upgraded to a new kernel, this is not related to apache at all.
sorry, how do I clean this up?
root@webserver:~# dpkg -l | grep -i apache
ii apache2 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server
ii apache2-bin 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d all Apache HTTP Server (common files)
ii apache2-suexec-custom 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server configurable suexec program for mod_suexec
ii apache2-suexec-pristine 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server standard suexec program for mod_suexec
ii apache2-utils 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server (utility programs for web servers)
ii libapache2-mod-fcgid 1:2.3.9-4 amd64 FastCGI interface module for Apache 2
ii libapr1:amd64 1.7.2-3 amd64 Apache Portable Runtime Library
ii libaprutil1:amd64 1.6.3-1+0~20230226.13+debian11~1.gbpc0b512 amd64 Apache Portable Runtime Utility Library
ii libaprutil1-dbd-sqlite3:amd64 1.6.3-1+0~20230226.13+debian11~1.gbpc0b512 amd64 Apache Portable Runtime Utility Library - SQLite3 Driver
ii libaprutil1-ldap:amd64 1.6.3-1+0~20230226.13+debian11~1.gbpc0b512 amd64 Apache Portable Runtime Utility Library - LDAP Driver
Are you sure you want to remove it?
apt remove apache2
If you want to remove also config files, use this instead:
apt purge apache2
OK ran those and it did pull some stuff out but it still shows this?
root@webserver:~# dpkg -l | grep -i apache
ii apache2-bin 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server (modules and other binary files)
rc apache2-data 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d all Apache HTTP Server (common files)
ii apache2-suexec-custom 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server configurable suexec program for mod_suexec
ii apache2-suexec-pristine 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server standard suexec program for mod_suexec
ii apache2-utils 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server (utility programs for web servers)
ii libapache2-mod-fcgid 1:2.3.9-4 amd64 FastCGI interface module for Apache 2
ii libapr1:amd64 1.7.2-3 amd64 Apache Portable Runtime Library
ii libaprutil1:amd64 1.6.3-1+0~20230226.13+debian11~1.gbpc0b512 amd64 Apache Portable Runtime Utility Library
ii libaprutil1-dbd-sqlite3:amd64 1.6.3-1+0~20230226.13+debian11~1.gbpc0b512 amd64 Apache Portable Runtime Utility Library - SQLite3 Driver
ii libaprutil1-ldap:amd64 1.6.3-1+0~20230226.13+debian11~1.gbpc0b512 amd64 Apache Portable Runtime Utility Library - LDAP Driver
I use MobaXterm, can I just manually go in and delete something I don’t know like trying to do it the best way for sure.
apt purge apache2-bin apache2-suexec-custom apache2-suexec-pristine libapache2-mod-fcgid
apt autoremove
I wouldn’t remove apache2-utils
and libapr1
packages.
ok, this is whats left.
root@webserver:~# dpkg -l | grep -i apache
rc apache2-data 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d all Apache HTTP Server (common files)
ii apache2-utils 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server (utility programs for web servers)
ii libapr1:amd64 1.7.2-3 amd64 Apache Portable Runtime Library
ii libaprutil1:amd64 1.6.3-1+0~20230226.13+debian11~1.gbpc0b512 amd64 Apache Portable Runtime Utility Library
You can purge apache2-data
but left the other packages.
Ok, as always thank you so much.
root@webserver:~# dpkg -l | grep -i apache
ii apache2-utils 2.4.62-1+0~20240722.6+debian12~1.gbp3f781d amd64 Apache HTTP Server (utility programs for web servers)
ii libapr1:amd64 1.7.2-3 amd64 Apache Portable Runtime Library
ii libaprutil1:amd64 1.6.3-1+0~20230226.13+debian11~1.gbpc0b512 amd64 Apache Portable Runtime Utility Library
I’m just trying to stay on top of things and keep things cleaned up.
KeyDB (Redis alternative) + Opcache + wp rocket + cloudflare
I don’t get why people don’t just run this configuration. I do the same except use Redis, and every site I have fully loads in 1 second or less. One site has 50 plug-ins, including Paid Memberships Pro and AffiliateWP, and using heavy magazine theme - 1 second load. One site is more streamlined and running just a blog 300 - 500 ms load time.
@johnnyz According to me Nginx alone is a strong option for performance. FastCGI Cache with Nginx works well; WP Rocket is useful but not essential, depending on your setup & needs.
Agree with this. You don’t need object cache at all if Your DB is not too big or have complex querier.