Jump to content

4.升级后,删除MariaDB旧版本、PHP旧版本


Recommended Posts

-----------------------------------------------
升级后,删除MariaDB旧版本、PHP旧版本
-----------------------------------------------

MariaDB旧版本、PHP旧版本,存放在 /usr/local/

显示 /usr/local/ 底下各目录的空间大小
du -shc /usr/local/*

3.7G    /usr/local/oldmariadb20221206155954
265M    /usr/local/oldphp20221206171554

 

删除旧版本的文件夹与里面的所有文件

cd /usr/local/

 

rm -f -r oldmariadb20221206155954

rm -f -r oldphp20221206171554
 

 

 

重启
sudo reboot

 

Edited by Jack
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...