Docker系列之常用命令操作手册 继上一篇博客Docker系列之原理简单介绍之后,本博客对常用的Docker命令进行实践 @[toc] 1、安装虚拟机 环境准备: Centos镜像 VMWare or VirtualBox WinSCP or XFtp SecureCRT or XShell 比较 ...
分类:
其他好文 时间:
2020-08-07 00:29:59
阅读次数:
104
[TOC]虚拟机系统使用Debian:+ VirtualBox 版本:VirtualBox 5.2.6+ Debian 版本:Linux debian 4.9.0-4-amd64## 1. 前期准备打开 Debian 虚拟机并登陆,依次点击 VirtualBox 的 “设备 -> 安装增强功能”。这... ...
分类:
其他好文 时间:
2020-08-03 19:58:35
阅读次数:
94
在开始之前,我们先来看以下代码存在什么问题?classCloneTest{publicstaticvoidmain(String[]args)throwsCloneNotSupportedException{//等号赋值(基本类型)intnumber=6;intnumber2=number;//修改number2的值number2=9;System.out.println("number:"+nu
分类:
其他好文 时间:
2020-08-02 10:17:37
阅读次数:
65
1.安装VirtualBox和Vagrant 在win10下先安装VirtualBox然后再安装Vagrant。我这里用的VirtualBox6.0.8,Vagrant_2.2.4_x86_64。 2.下载box 我这里用的Centos7 https://cloud.centos.org/cento ...
分类:
其他好文 时间:
2020-07-30 18:13:59
阅读次数:
79
CentOS6网卡名称Centos6网卡接口命名方式:以太网:eth[0,1,2,...]PPP:ppp[0,1,2,…]网络接口识别并命名相关的udev配置文件:/etc/udev/rules.d/70-persistent-net.rules此文件主要是记录网卡的信息,这个文件在虚拟机克隆的时候比较有用处,一般说来,虚拟机克隆,相应也会把网卡物理地址克隆过来,所以需要到这个文件里把相应的网卡记
分类:
其他好文 时间:
2020-07-28 00:07:03
阅读次数:
104
Linux的虚拟机碎片整理 sudo dd if=/dev/zero of=/free bs=1M sudo rm -f /free 镜像压缩 --转换vdi VboxManage clonehd "F:\VirtualBox VMs\atguigu\atguigu-disk001.vmdk" "F ...
分类:
其他好文 时间:
2020-07-27 15:36:36
阅读次数:
81
首先安装Vagrant,和VirtualBox, Vagrant下载地址:https://www.vagrantup.com/VirtualBox下载地址:https://www.virtualbox.org/ wind+r cmd 输入vagrant看有没有装上 然后使用vagrant init ...
分类:
其他好文 时间:
2020-07-27 13:56:34
阅读次数:
82
https://blog.csdn.net/hiyachen/article/details/102131823 如何增大Oracle Virtualbox的磁盘空间 背景 在virtualbox中装好Linux以及Application之后,发现硬盘空间太小,怎样才能增加硬盘容量。 这里给出两个办 ...
分类:
数据库 时间:
2020-07-27 13:41:25
阅读次数:
77
一、克隆虚拟机 二、脚本安装 1、yum更新到最新 sudo yum update 2、安装curl yum install curl -y 3、获取get-docker.sh curl -fsSL https://get.docker.com -o get-docker.sh 4、安装 sudo ...
分类:
其他好文 时间:
2020-07-27 09:40:13
阅读次数:
57
安装arch virtualbox/vagrant 都可以 更新源 pacman -Syy pacman -Syu 安装yaourt vim /etc/pacman.conf [archlinuxcn] Server=https://mirrors.ustc.edu.cn/archlinuxcn/$ ...
分类:
系统相关 时间:
2020-07-27 09:24:11
阅读次数:
100