LWP::Protocol::https need to be installed.

作者:欧阳 发布时间:2020年01月09日 阅读: 2,449 分类:Linux摘要

在linux里在线升级CFS,但Protocol scheme提示不支持https报Oops: Unable to download: Protocol scheme 'https' is not supported (LWP::Protocol::https need to be installed.)错误

yum -y install perl-LWP-Protocol-https perl-Crypt-SSLeay

安装即可解决该问题。

CentOS7 firewalld防火墙基础命令

作者:@ouyang 发布时间:2016年04月16日 阅读: 2,269 分类:Linux摘要

CentOS7默认使用firewalld替代了iptables,所以熟悉熟悉firewalld的一些基础用法。

firewall-cmd --zone=public --add-port=80/tcp --permanent  #打开80端口, --permanent为永久有效
firewall-cmd --permanent --remove-port=8080/tcp #删除端口
firewall-cmd --query-port=8080/tcp # 查询端口是否开放
firewall-cmd --reload  #重新装载配置生效 
firewall-cmd --list-all  #查看防火墙添加的端口
firewall-cmd --list-services #查看当前的服务
firewall-cmd --state #查看firewall的状态

systemctl start firewalld.service #打开防火墙
systemctl stop firewalld.service #关闭防火墙
systemctl disable firewalld.service #禁止开机启动
systemctl enable firewalld.service #开启开机启动
systemctl restart firewalld.service #重启防火墙