#支持WEBSOCKET proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";
NGINX反向代理支持WEBSOCKET
Parted创建LVM分区
parted /dev/sdb mklabel gpt mkpart primary 0% 100% print quit pvcreate /dev/sdb1 vgextend centos /dev/sdb1 lvextend -l +100%free /dev/mapper/centos-root xfs_growfs /dev/mapper/centos-root df -h
本地提权漏洞(CVE-2021-4034)修复方法 polkit pkexec
方法一:
yum -y update polkit
方法二:(适用于update不成功的用户)
chmod 0755 /usr/bin/pkexec