在讲docker之前,首先区分2个概念,容器和虚拟机。 容器: 虚拟机: 简单来说,容器虚拟化操作系统;虚拟机虚拟化硬件。 容器粒度更小更灵活;虚拟机包含资源更多更大。 docker就是用来做容器化的。 接着需要搞清楚3个东西: Image(镜像) Container(容器) Repository( ...
分类:
其他好文 时间:
2020-01-18 16:27:13
阅读次数:
67
1.Github的作用 借助Github托管项目代码 2.基本概念 2.1.仓库(Repository) 即你的项目,你想在Github上开源一个项目,那就必须要新建一个Repository。如果你开源的项目多了,你就拥有一个Repositories。私有仓库只能自己或者指定的朋友才有权限操作(私有 ...
分类:
其他好文 时间:
2020-01-18 14:54:41
阅读次数:
100
spring第二天:spring基于注解的IOC以及IoC的案例1、spring中ioc的常用注解 用于创建对象的:Component、Controller、Service、Repository 用于注入数据的:Autowired、Qualifier、Resource、Value 用于改变作用范围的 ...
分类:
编程语言 时间:
2020-01-18 14:28:00
阅读次数:
91
1.maven在本地默认地址:c:/用户/{本机用户名}/.m2/repository,例如我本地地址: 2.修改本地仓库: ①进入maven安装目录->进入conf目录,打开setting.xml文件 ②修改默认路径为本地路径。在xml文件中找到 localRepository 标签,我的在第49 ...
分类:
系统相关 时间:
2020-01-18 12:53:04
阅读次数:
112
本文参考:https://blog.csdn.net/gomeplus/article/details/78241070 1. 在“Show History”中找到想要回退到的版本(oldVersion) 2.右击项目依次选中:Git->Repository->Reset HEAD 3. 选中Res ...
分类:
其他好文 时间:
2020-01-16 20:36:30
阅读次数:
108
运行: minikube start --help |grep repo --image-repository='': Alternative image repository to pull docker images from. This can be used when you have li ...
分类:
其他好文 时间:
2020-01-16 19:10:38
阅读次数:
402
注册 Microsoft 密钥和源 安装 .NET Core SDK 注:如果执行sudo add-apt-repository universe时,提示命令没找到。执行下面的命令: 参考网址:https://docs.microsoft.com/zh-cn/dotnet/core/install/ ...
分类:
Web程序 时间:
2020-01-15 14:22:38
阅读次数:
925
之前使用github都是创建一个全新的仓库,然后clone下来用,但如果我已经有一个正在使用的仓库,想要绑定上传已存在的仓库到github,怎么做呢?其实在github创建仓库的时候会提示: …or push an existing repository from the command line ...
分类:
Web程序 时间:
2020-01-14 22:18:51
阅读次数:
134
一、gitlab安装 1.1、docker化安装gitlab#拉取镜像 [root@git ~]# docker pull gitlab/gitlab-ce [root@git ~]# docker images REPOSITORY TAG IMAGE ID CREA... ...
分类:
其他好文 时间:
2020-01-14 16:23:11
阅读次数:
134
<!--开始处更改下载依赖的存放路径, 以下目录需要已经创建--> <localRepository>D:\javasource\maven-repository</localRepository> <!--在 mirrors 标签下 添加阿里云maven私服库--> <mirrors> <mirr ...
分类:
其他好文 时间:
2020-01-14 13:03:29
阅读次数:
104