上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 109 下一页
摘要: HaProxy系列文章:http://www.cnblogs.com/f-ck-need-u/p/7576137.html 1.简介 官方站点:http://www.haproxy.org haproxy是一款负载均衡软件,它工作在7层模型上,可以分析数据包中的应用层协议,并按规则进行负载。通常这类 阅读全文
posted @ 2019-08-27 10:12 jiftle 阅读(532) 评论(0) 推荐(0) 编辑
摘要: 负载均衡通过健康检查来判断后端服务器(ECS实例)的业务可用性。健康检查机制提高了前端业务整体可用性,避免了后端ECS异常对总体服务的影响。 开启健康检查功能后,当后端某台ECS健康检查出现异常时,负载均衡会自动将新的请求分发到其它健康检查正常的ECS上;而当该ECS恢复正常运行时,负载均衡会将其自 阅读全文
posted @ 2019-08-27 10:08 jiftle 阅读(1129) 评论(0) 推荐(1) 编辑
摘要: git常见操作 git log filename 查看提交记录 git log -p filename 可以显示每次提交的diff 查看某次提交中的某个文件变化,可以直接加上fileName git show c5e69804bbd9725b5dece57f8cbece4a96b9f80b file 阅读全文
posted @ 2019-08-22 17:49 jiftle 阅读(380) 评论(0) 推荐(0) 编辑
摘要: # firewall防火墙常用操作- 启动```systemctl start firewalld```- 停止```systemctl stop firewalld```- 重启```systemctl restart firewalld```- 添加端口```firewall-cmd --zon 阅读全文
posted @ 2019-08-22 15:09 jiftle 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 部署gitlab的时候,发现8080端口被tomcat给占用了,遂修改gitlab默认端口。 gitlab版本 9.2.2 版本查看 # cat /opt/gitlab/embedded/service/gitlab-rails/VERSION9.2.2 1. gitlab.rb 修改 配置文件在 阅读全文
posted @ 2019-08-21 16:38 jiftle 阅读(16788) 评论(0) 推荐(1) 编辑
摘要: Linux 和 Windows 通用配置其实在配置文件中是可以通过逻辑代码判断平台做条件处理的,这样就可以实现一个配置文件两个个平台下共用了,判断逻辑如下: " " << 判断操作系统是 Windows 还是 Linux 和判断是终端还是 Gvim >> " " " < 判断操作系统是否是 Wind 阅读全文
posted @ 2019-08-17 17:16 jiftle 阅读(1689) 评论(0) 推荐(0) 编辑
摘要: In Linux or macOS, you can execute the below commands. Bash / # Enable the go modules feature export GO111MODULE=on # Set the GOPROXY environment vari 阅读全文
posted @ 2019-08-17 13:05 jiftle 阅读(3368) 评论(0) 推荐(0) 编辑
摘要: 常见的镜像站点 centos & npm 常见开源镜像站点 阿里巴巴开源镜像 https://developer.aliyun.com/mirror/ 腾讯云镜像 https://mirrors.cloud.tencent.com/ 淘宝NPM镜像 https://npm.taobao.org/ 清 阅读全文
posted @ 2019-08-03 16:22 jiftle 阅读(754) 评论(2) 推荐(0) 编辑
摘要: 安装go tools安装以上后用vim打开go代码,使用函数跳转时会出现:E718: Funcref requiredvim-go: could not find 'gopls'. Run :GoInstallBinaries to fix it或者说guru等不存在的错误,这时按照提示在vim中执 阅读全文
posted @ 2019-08-01 23:00 jiftle 阅读(3311) 评论(0) 推荐(0) 编辑
摘要: nodeJS的资源仓库在国内使用过程中,偶尔会遇到各种资源问题,通常设置为淘宝的镜像,网上很多说法是安装淘宝镜像,即$ npm install -g cnpm --registry=https://registry.npm.taobao.org然后再用到npm install的时候,使用cnpm i 阅读全文
posted @ 2019-08-01 10:39 jiftle 阅读(18167) 评论(0) 推荐(1) 编辑
上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 109 下一页