vi /etc/postfix/helo_access.pcre #添加如下内容 /^out\d{1,3}-\d{1,3}-\d{1,3}-\d{1,3}\.mail\.qq\.com$/ OK
iRedmail-无法接收QQ邮箱邮件的解决办法
手动上传文件到NEXUS
curl -v -u user:pass --upload-file D:\RPM\os\apr-1.4.8-7.el7.x86_64.rpm http://172.16.0.221:8081/repository/ctos-yum-dev/7/os/x86_64/Packages/apr-1.4.8-7.el7.x86_64.rpm
Centos7配置ISCSI客户端
[一]安装ISCSIInitiator
yum -y install iscsi-initiator-utils
[二]启动iscsi服务
systemctl start iscsi
NGINX反向代理支持WEBSOCKET
#支持WEBSOCKET proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade";
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