- 博客(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
1211
原创 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
477
原创 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
399
原创 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
195
原创 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
355
原创 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
362
原创 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
4004
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人