centos防火墙

centos 防火墙 firewalld 管理方案 如果要添加范围例外端口 如 1000-2000 语法命令如下:启用区域端口和协议组合 firewall-cmd [--zone=<zone>] --add-port=<port>[-<port>]/<protocol> [--timeout=<seconds>] 此举将启用端口和协议的组合。端口可以是一个单独的端口

centos7安装keepalived实现负载均衡

centos安装docekr镜像仓库habor 预装环境: 1.docker 2.python-pip 3.git 1 2 3 4 5 6 7 8 9 10 11 yum install python-pip -y yum install git -y curl -O http://tar.matosiki.site/tar/harbor-offline-installer-v1.5.4.tgz tar -xvzf harbor-offline-installer-v1.5.4.tgz -C /opt/ cd /opt/harbor/ vi /opt/harbor/harbor.cfg 1 2 3 4 #设置域

centos系统设置同步时间

centos系统设置同步时间 上海市区设置 1 2 3 cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime echo 'Asia/Shanghai' >/etc/timezone 安装ntpdate工具 1 yum -y install ntp ntpdate 设置系统时间与网络时间同步 1 2 3 ntpdate cn.pool.ntp.org or => ntpdate -u ntp.api.bz 将

1 LINK : fatal error LNK1104: cannot open file 'ucrtd.lib' ucrtd.lib默认位置在 Windows Kits 路径下。 比如: C:\Program Files (x86)\Windows Kits\10\Lib\10.0.16299.0\um\x64或者x

https://gitlab.com/gitlab-org/charts/gitlab-runner/blob/main/values.yaml https://gitlab.com/gitlab-org/gitlab-runner/-/issues/3967 https://artifacthub.io/packages/helm/gitlab/gitlab-runner helm 升级安装 gitlab-runner-rbac.yaml 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 apiVersion: v1 kind: ServiceAccount metadata: name: gitlab-runner namespace: vesystem-dev --- kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: name: gitlab-runner namespace: vesystem-dev rules: - apiGroups: [""] resources: ["*"] verbs: ["*"] --- kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1