Jump to content

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


Jack

Recommended Posts

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

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

3.4G    /usr/local/oldmariadb20210730165526
247M    /usr/local/oldphp20210730203300

 

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

cd /usr/local/

rm -f -r oldmariadb20210730165526

rm -f -r oldphp20210730203300

 

重启
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...