kk Blog —— 通用基础


date [-d @int|str] [+%s|"+%F %T"]
netstat -ltunp
sar -n DEV 1

Centos8安装PHP8

https://zhuanlan.zhihu.com/p/615971837

1
2
3
4
5
6
7
$ sudo dnf install -y epel-release
$ sudo dnf install -y  http://rpms.remirepo.net/enterprise/remi-release-8.5.rpm  # remi-release-8.rpm 要求更高版本centos
$ sudo dnf install -y dnf-utils
$ sudo dnf module list php
$ sudo dnf module reset php
$ sudo dnf module install -y php:remi-8.0
yum install php php-xml php-zip php-mbstring php-gd php-devel php-mysqlnd

sudo dnf install -y php-fpm

systemctl status php-fpm

systemctl restart php-fpm