--查看空间使用情况

df -h 

查看当前目录空间占用情况

du -h --max-depth=1

--释放空间

lsof -n / | grep deleted | awk '(print $2]' | xargs kill -9

删除第880条记录

history -d 880

重复上条命令

!!

查看系统日志配置

cat /etc/audisp/plugins.d/syslog.conf

查找系统日志配置

find / -name syslog.conf

查看php进程

 ps -aux | grep php

--安装yum工具包

 yum -y install yum-utils

--查看PHP所有安装源

 yum repolist all |grep php

查看已安装

rpm -qa | grep php

 yum remove -y php*

yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm  

 yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm

yum-config-manager --disable 'remi-php*'

yum-config-manager --enable remi-php80

yum install -y php 

sudo yum install epel-release

https://blog.csdn.net/ecba1988/article/details/109991911#:~:text=sudo%20yum%20%2Dy%20install%20https%3A//mirrors.aliyun.com/remi/enterprise/remi%2Drelease%2D7.rpm

yum -y install https://mirrors.aliyun.com/remi/enterprise/remi-release-7.rpm

 yum -y install yum-utils

 yum repolist all |grep php

yum-config-manager --enable remi-php80

yum repolist all |grep php

sudo yum install  php-cli php-fpm php-mysqlnd php-zip php-devel php-gd php-mbstring php-curl php-xml php-pear php-bcmath php-json php-redis  --skip-broken

rpm -qa | grep php

php -v

ps -aux | grep php

systemctl start php-fpm-8.0.30