摘要: 1. 生产环境负载均衡集群系统架构设备选购方案 LVS1 DELL R610 1U CPU E5*2 8G *2(4) 硬盘SAS 146G *2 RAID 1 LVS2 DELL R610 1U CPU E5*2 8G *2(4) 硬盘SAS 146G *2 RAID 1 2. Web层硬件选择和 阅读全文
posted @ 2021-05-11 16:31 君哥~ 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 懒得写了,原文链接: https://www.cnblogs.com/mafly/p/redis_cluster.html#!comments 阅读全文
posted @ 2021-05-11 16:23 君哥~ 阅读(20) 评论(0) 推荐(0) 编辑
摘要: 1.安装JDK,Java JDK1.8.0 以上的版本 2. 导入GPG-KEY-elasticsearch rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch 3. 配置清华源 vim /etc/yum.repos.d/e 阅读全文
posted @ 2021-05-11 16:20 君哥~ 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1. 主机规划 主机名称 角色 数量 主机内网IP规划 主机外网IP 主机配置 基础软件 系统 etcd-Master Node01 1 10.0.0.30 xxx 2C 4G wget &&yum install -y etcd CentOS7x64 1810 etcd-Slave Node02 阅读全文
posted @ 2021-05-11 16:07 君哥~ 阅读(565) 评论(0) 推荐(0) 编辑
摘要: 1. JDK安装: https://www.cnblogs.com/wangfajun/p/5257899.html 2. 使用清华源安装Jenkins yum install -y https://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat/jenkin 阅读全文
posted @ 2021-05-11 15:52 君哥~ 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 1. 主机规划: 主机名称 hostname 主机规划 (内) 主机规划 (外) 安装基础软件 系统版本 服务 器推 荐配 置 GitLab 10.0.0.10 xxxxx yum install -y vim net-tools lrzsz tree CentOS7x64 1810 7.6 4C 阅读全文
posted @ 2021-05-11 15:39 君哥~ 阅读(62) 评论(0) 推荐(0) 编辑
摘要: 1.安装git 执行: yum install -y git 2.安装maven执行:cd /usr/local wget https://mirrors.bfsu.edu.cn/apache/maven/maven-3/3.8.1/binaries/apache-maven-3.8.1-bin.t 阅读全文
posted @ 2021-05-11 14:35 君哥~ 阅读(159) 评论(0) 推荐(0) 编辑
摘要: port=8081 #根据端口号查询对应的pid pid=$(netstat -nlp | grep :$port | awk '{print $7}' | awk -F"/" '{ print $1 }'); #杀掉对应的进程,如果pid不存在,则不执行 if [ -n "$pid" ]; the 阅读全文
posted @ 2021-05-11 14:33 君哥~ 阅读(284) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # jar文件位置 jarPath="/data/api" # 拉取源代码存放的位置 originCode="/data/api/originCode" # 备份jar文件位置 backPath="/data/api/back" # 按时间区分 data=`date +"%Y 阅读全文
posted @ 2021-05-11 14:32 君哥~ 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 1.创建文件目录 2. git init 3.修改.git目录下的config文件: [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true ignorecase = true p 阅读全文
posted @ 2021-05-11 14:27 君哥~ 阅读(1122) 评论(0) 推荐(0) 编辑