- 博客(7)
- 收藏
- 关注
原创 Rancher管理K8s集群
Rancher 的官网:https://rancher.com/ 主机 ip master:k8s/centos7 192.168.xx.01 master:rancher/centos7 192.168.xx.02 首先安装docker yum install -y docker 启动 Rancher docker run --privileged -d --restart=unless-stopped -p 8080:80 -p 8443:443 -v ..
2021-11-21 17:31:46
1235
原创 Openresty二进制安装
上干货: #!/bin/bash version="1.13.6.2" name=openresty-$version file=$name.tar.gz prefix=/usr/local/openresty TOOLS_DIR=/home/sunbox/soft INSTALL_DIR=/usr/local # Check if user is root if [ $(id -u) != "0" ]; then echo "Error: You must be root to run th
2021-10-10 14:36:48
513
原创 Redis二进制安装
上干货: #!/bin/bash REDIS_VER=5.0.3 PORT=6379 TOOLS_DIR=/home/sunbox/soft INSTALL_DIR=/usr/local # Check if user is root if [ $(id -u) != "0" ]; then echo "Error: You must be root to run this script" exit 1 fi # Check network environmental #NET_N
2021-10-10 14:33:49
411
原创 Mysql二进制安装
上干活: #!/bin/bash MYSQL_TYPE=5.7 MYSQL_VER=5.7.24-linux-glibc2.12-x86_64 PORT=3306 TOOLS_DIR=/home/sunbox/soft INSTALL_DIR=/usr/local ROOTPWD=sunbox@tbd7 # Check if user is root if [ $(id -u) != "0" ]; then echo "Error: You must be root to run this s
2021-10-10 14:32:01
204
原创 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:31443 spec: type: NodePort ports:
2021-09-27 09:49:50
375
原创 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 二,#固定虚拟机Ip cd /etc/sysconfig/net-script/xxx-enth 修改dhcp->sta.
2021-09-27 09:26:12
384
原创 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
4018
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人