拉取镜像 docker pull centos 启动运行centos docker run -it centos 查看运行的容器 docker ps 退出 exit 运行所有的 docker ps -a 退出不停止 ctrl p q 自定义命名 docker run -it --name mycen ...
分类:
其他好文 时间:
2020-06-20 22:26:12
阅读次数:
79
git本地的tag和远程仓库不匹配: 2020-06-20 现象: 1、git log 命令显示没有远端的tag版本 2、GIT本地目录无法pull下远程仓库已新增的内容,一直提示Already up to date 3、本地tag数量比远程仓库多git tag 命令查看本地tag数 原因: 。。。 ...
分类:
其他好文 时间:
2020-06-20 16:31:41
阅读次数:
145
安装mysql: 1.查看版本 # docker search mysql 2.拉取mysql镜像 # docker pull mysql:latest 3.查看已安装的mysql镜像 # docker images 4.运行mysql容器 # docker run -itd --name mysq ...
分类:
数据库 时间:
2020-06-20 15:50:47
阅读次数:
86
当由多个上游的时候,我们需要合理管理自己的分支的track,进行合作; 拉取上游分支到本地: git pull <remote> <branch> 建立分支track 信息: git branch --set-upstream-to=<remote>/<branch> wip-readahead 查 ...
分类:
其他好文 时间:
2020-06-19 12:16:10
阅读次数:
215
# 查看远程仓库推拉地址,分支信息,分支跟踪情况等 git remote show origin # 拉取远程仓库的变更内容到本地 git fetch origin # 拉取并合并仓库的变更内容到本地 git pull # 添加远程仓库跟踪地址 git remote add # 推送本地的提交到远程 ...
分类:
其他好文 时间:
2020-06-18 19:37:11
阅读次数:
41
1.首先注册github账号,登录,创建新仓库 ,点击+,点击new repository 2.得到如下页面,填写仓库名,自己随便写一个名字,下面的描述可写可不写,点击Initialize this repository with a README,然后创建: 3.下载git shell,网上给了很 ...
分类:
Web程序 时间:
2020-06-18 19:25:47
阅读次数:
64
一、Elasticsearch 搭建 这里三个都选用 6.4.2版本 docker pull elasticsearch:6.4.2 docker run -d --name es -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" e ...
分类:
其他好文 时间:
2020-06-18 14:39:03
阅读次数:
60
一、拉取镜像 docker pull prom/prometheus 二、配置 sudo mkdir /etc/prometheus/ sudo vim /etc/prometheus/prometheus.yml 添加监控节点 # my global config global: scrape_i ...
分类:
其他好文 时间:
2020-06-18 12:39:26
阅读次数:
56
在 GitHub 上混久了,经常听到 Pull Request,在 GitLab 上混久了,则经常 提起 Merge Request ,然而它们之间有不同吗?为什么要用两个不同的名称? ...
分类:
其他好文 时间:
2020-06-17 20:26:57
阅读次数:
80
我们可以看看我们的~目录,如果有.zshrc或者.bashrc,我们可以直接修改这个文件。 这个文件是用来保存个人的一些配置,例如alias、全局变量 举个例子: alias gl="git pull" alias gt="git push" export HTTP_PORT=8088 对于全局变量 ...
分类:
系统相关 时间:
2020-06-17 19:48:59
阅读次数:
80