上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: 查看远程分支信息 git branch –r 查看所有分支,包括本地和远程 git branch -a 克隆主分支 git clone 仓库地址 在本地建立一个和远程分支名字一样的分支 git checkout -t origin/dev 把远程分支取到本地,并自动建立tracking git ch 阅读全文
posted @ 2020-03-25 09:19 suruozhong 阅读(1292) 评论(0) 推荐(0) 编辑
摘要: 服务端配置 [common] bind_port = 7000 #绑定的IP vhost_http_port = 7008 #监听的IP 本地配置 [common] server_addr = 120.24.*.* #服务端IP地址 server_port = 7000 #服务端绑定的端口 [git 阅读全文
posted @ 2020-03-12 11:58 suruozhong 阅读(2703) 评论(0) 推荐(0) 编辑
摘要: 修改配置文件 /etc/gitlab/gitlab.rb # 让gitlab的内置nginx监听9002端口 nginx['listen_port'] = 9002 # 设置gitlab的访问路径(是通过外部nginx反向代理访问的) external_url 'http://域名/git' # 让 阅读全文
posted @ 2020-03-12 11:51 suruozhong 阅读(3070) 评论(0) 推荐(0) 编辑
摘要: 指定版本安装模块 npm install --save esri-loader@1.0.0 npm安装模块【npm install xxx】利用 npm 安装xxx模块到当前命令行所在目录;【npm install -g xxx】利用npm安装全局模块xxx; 本地安装时将模块写入package.j 阅读全文
posted @ 2020-03-10 16:32 suruozhong 阅读(101) 评论(0) 推荐(0) 编辑
摘要: eureka: instance: hostname: 134.x.x.x prefer-ip-address: true #以ip形式注册 ip-address: 134.x.x.x #外网IP non-secure-port: 8761 #外网端口 注册服务要配置外网ip和端口 服务器防火墙要开 阅读全文
posted @ 2020-02-29 09:59 suruozhong 阅读(1088) 评论(0) 推荐(0) 编辑
摘要: FastDFS 是用 c 语言编写的一款开源的分布式文件系统。FastDFS 为互联网量身定制, 充分考虑了冗余备份、负载均衡、线性扩容等机制,并注重高可用、高性能等指标,使用 FastDFS 很容易搭建一套高性能的文件服务器集群提供文件上传、下载等服务。 FastDFS 架构包括 Tracker 阅读全文
posted @ 2020-01-17 11:58 suruozhong 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 添加pom <!--elasticsearch--> <dependency> <groupId>org.elasticsearch.client</groupId> <artifactId>elasticsearch-rest-high-level-client</artifactId> <ver 阅读全文
posted @ 2020-01-14 11:01 suruozhong 阅读(6981) 评论(1) 推荐(1) 编辑
摘要: 开放外网6379端口访问 修改配置redis.conf 注释掉绑定IP 这两个地方改为no 阅读全文
posted @ 2019-12-30 16:26 suruozhong 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 显示某次提交的所有diff 显示某次提交的某个文件diff 阅读全文
posted @ 2019-12-28 15:55 suruozhong 阅读(1699) 评论(0) 推荐(0) 编辑
摘要: 安装pscp和plink https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html 后台部署 - 打包上传并远程调用启动脚本 bat脚本 @echo off rem 打印的中文不乱码,默认是gbk,改为utf8 chcp 65001 阅读全文
posted @ 2019-12-26 10:03 suruozhong 阅读(2301) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 7 ··· 15 下一页