自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

原创 Rancher管理K8s集群

Rancher 的官网:https://rancher.com/主机 ip master:k8s/centos7 192.168.xx.01 master:rancher/centos7 192.168.xx.02 首先安装dockeryum install -y docker启动 Rancherdocker run --privileged -d --restart=unless-stopped -p 8080:80 -p 8443:443 -v ..

2021-11-21 17:31:46 1138

原创 Openresty二进制安装

上干货:#!/bin/bashversion="1.13.6.2"name=openresty-$versionfile=$name.tar.gzprefix=/usr/local/openrestyTOOLS_DIR=/home/sunbox/softINSTALL_DIR=/usr/local# Check if user is rootif [ $(id -u) != "0" ]; then echo "Error: You must be root to run th

2021-10-10 14:36:48 343

原创 Redis二进制安装

上干货:#!/bin/bashREDIS_VER=5.0.3PORT=6379TOOLS_DIR=/home/sunbox/softINSTALL_DIR=/usr/local# Check if user is rootif [ $(id -u) != "0" ]; then echo "Error: You must be root to run this script" exit 1fi# Check network environmental#NET_N

2021-10-10 14:33:49 299

原创 Mysql二进制安装

上干活:#!/bin/bashMYSQL_TYPE=5.7MYSQL_VER=5.7.24-linux-glibc2.12-x86_64PORT=3306TOOLS_DIR=/home/sunbox/softINSTALL_DIR=/usr/localROOTPWD=sunbox@tbd7# Check if user is rootif [ $(id -u) != "0" ]; then echo "Error: You must be root to run this s

2021-10-10 14:32:01 95

原创 K8s主节点安装dashboard

一,下载dashboard配置文件修改并应用,(注意k8s版本与dashboard版本一致)curl https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-rc7/aio/deploy/recommended.yaml -o recommended.yaml修改recommended.yaml新增type: NodePort 和 nodePort:31443spec: type: NodePort ports:

2021-09-27 09:49:50 291

原创 K8s使用Kubeadm搭建主从节点

一,环境规划环境Ip/hostname 节点名称 内存 192.168.10.30/master.example.com master 8G 192.168.10.31/node01.example.com node01 4G 192.168.10.32/node02.example.com node02 4G 二,#固定虚拟机Ipcd /etc/sysconfig/net-script/xxx-enth修改dhcp->sta.

2021-09-27 09:26:12 324

原创 CentOS7下使用Docker容器整合nginx+tomcat集群+redis+mysql实现Session共享第一篇(框架篇)

首先来个截图,需要制作nginx tomcat redis 和redis镜像。然后运行容器开放相应服务的端口访问代理服务访问主页查看session存储访问数据库    1,在docker运行容器中访问数据库:docker exec -it mymysql /bin/bash      数据库中表 testdata 中的数据是这样的:网页访问数据,获取数据:docker使用确实很方便,不过前期摸索,...

2018-06-03 11:24:54 3957 2

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除