Jump to content
PHP論壇人

4.升級後,刪除舊版MariaDB、舊版PHP


Recommended Posts

-----------------------------------------------
升級後,刪除舊版MariaDB、舊版PHP
-----------------------------------------------

舊版MariaDB、舊版PHP 存放在 /usr/local/


顯示 /usr/local/ 底下各目錄的空間大小
du -shc /usr/local/*

1.1G    /usr/local/oldmariadb20240513104628

200M    /usr/local/oldphp20240513110027

 

刪除舊版的資料夾與裡面的所有檔案
cd /usr/local/

rm -f -r oldmariadb20240513104628

rm -f -r oldphp20240513110027

 


重開機
sudo reboot

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...