Pod数据持久化 k8s中的volume提供了在容器中挂载外部存储的能力,Pod需要设置卷来源(spec.volume)和挂载点(spec.containers.volumeMounts)这两个信息后 才可以使用相应的volume 官方对volume的介绍: Docker 也有 Volume 的概念 ...
分类:
其他好文 时间:
2021-02-18 13:30:42
阅读次数:
0
1.防火墙开放端口 firewall-cmd --zone=public --add-port=8848/tcp --permanent firewall-cmd --list-ports 开放centOS 网关,远程连接 grant all privileges on *.* to 'root'@ ...
Centos7安装Redis 一、安装gcc依赖 由于 redis 是用 C 语言开发,安装之前必先确认是否安装 gcc 环境(gcc -v),如果没有安装,执行以下命令进行安装 [root@localhost local]# yum install -y gcc 二、下载并解压安装包 [root@ ...
分类:
其他好文 时间:
2021-02-18 13:26:15
阅读次数:
0
一.环境介绍 1..net开发环境:asp.net core 3.1 2.Linux环境:CentOS Linux release 7.9.2009 (Core) 3.Swagger: Swashbuckle.AspNetCore6.0 4.开发工具:VS2019,xShell7,xFtp7 二.搭 ...
Don't Repeat Yourself! Convention Over Configuration. REST. Rails框架总览。 Rails框架基本使用。 Rails框架数据交互。 Rails框架前端开发。 1.yum安装: yum install rubygems ruby-devel ...
分类:
其他好文 时间:
2021-02-17 15:06:11
阅读次数:
0
在CentOS 7+ 上安装部署ZKEACMS ZKEACMS Core 是基于 .net core 开发的,可以在 windows, linux, mac 上跨平台运行,接下来我们来看看如何在 CentOS 上运行 ZKEACMS。 安装 Nginx yum install nginx -y 如果 ...
分类:
其他好文 时间:
2021-02-17 14:53:44
阅读次数:
0
1、 安装kubectl 关闭SWAP交换分区 swapoff -a 配置Kubernetes-YUM源 [root@minikube ~]# cat < /etc/yum.repos.d/kubernetes.repo [kubernetes] name=Kubernetes baseurl=ht ...
分类:
Web程序 时间:
2021-02-17 14:42:50
阅读次数:
0
一、关闭本机的sendmail服务或者postfix服务 #sendmial service sendmail stop chkconfig sendmail off #postfix service postfix stop chkconfig postfix off 二、安装mailx yum ...
分类:
系统相关 时间:
2021-02-17 14:09:35
阅读次数:
0
NMP = Nginx/MySQL/PHP Installation steps of the Nginx 我这里使用 v1.4.4 wget -c http://nginx.org/download/nginx-1.4.4.tar.gz install tar -zxvf nginx-1.7.4. ...
分类:
其他好文 时间:
2021-02-16 12:17:27
阅读次数:
0
1、打开centos的yum文件夹 cd /etc/yum.repos.d/ 2、用wget下载repo文件 wget http://mirrors.aliyun.com/repo/Centos-7.repo 如果wget命令不生效,说明还没有安装wget工具, yum -y install wge ...
分类:
其他好文 时间:
2021-02-15 12:37:24
阅读次数:
0