Soroushnk / Astro

a bash script to help you bypass GFW
GNU General Public License v3.0
722 stars 158 forks source link

WordPress #16

Closed FaridSalah closed 1 year ago

FaridSalah commented 1 year ago

How to uninstall WordPress?

Soroushnk commented 1 year ago

you can use command below sudo a2dissite wordpress sudo rm /etc/apache2/sites-available/wordpress.conf sudo systemctl restart apache2 then run the command below sudo rm -rf /srv/www/wordpress

and for last one run the command below to uninstall sql

echo "DROP DATABASE wordpress;" | sudo mysql -u root -p echo "DROP USER wordpress@localhost;" | sudo mysql -u root -p

FaridSalah commented 1 year ago

I successfully uninstalled WordPress. But, the RAM usage continues.

After installing WP, approximately 600MB of RAM got involved.

Soroushnk commented 1 year ago

You can use comman below to see memory usage

top -o %MEM