zoukankan      html  css  js  c++  java
  • docker安装

    标题:docker安装

    安装环境:rhel6.2

    安装时间:2015年8月26日 22:41:55

    作者:luomg

      一、缘起    

          由于今天公司电脑被黑导致我的vm不能使用,又得重新安装软件,安装虚拟机,安装一大堆依赖累死我也,所以发誓安装一个docker环境

         二、安装步骤

                     yum --enablerepo=elrepo-kernel install kernel-lt -y

          2015年8月26日 23:06:42

          在rhel6.2中升级内核失败

          

    default=0
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu
    title Red Hat Enterprise Linux Server (3.10.87-1.el6.elrepo.x86_64)
    root (hd0,0)
    kernel /vmlinuz-3.10.87-1.el6.elrepo.x86_64 ro root=/dev/mapper/vg_3mao-lv_root rd_NO_LUKS rd_LVM_LV=vg_3mao/lv_swap rd_NO_MD quiet rhgb crashkernel=auto LANG=zh_CN.UTF-8 rd_LVM_LV=vg_3mao/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM
    initrd /initramfs-3.10.87-1.el6.elrepo.x86_64.img
    title Red Hat Enterprise Linux Server (3.10.5-3.el6.x86_64)
    root (hd0,0)
    kernel /vmlinuz-3.10.5-3.el6.x86_64 ro root=/dev/mapper/vg_3mao-lv_root rd_NO_LUKS rd_LVM_LV=vg_3mao/lv_swap rd_NO_MD quiet rhgb crashkernel=auto LANG=zh_CN.UTF-8 rd_LVM_LV=vg_3mao/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM
    initrd /initramfs-3.10.5-3.el6.x86_64.img
    title Red Hat Enterprise Linux (2.6.32-220.el6.x86_64)
    root (hd0,0)
    kernel /vmlinuz-2.6.32-220.el6.x86_64 ro root=/dev/mapper/vg_3mao-lv_root rd_NO_LUKS rd_LVM_LV=vg_3mao/lv_swap rd_NO_MD quiet rhgb crashkernel=auto LANG=zh_CN.UTF-8 rd_LVM_LV=vg_3mao/lv_root KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM
    initrd /initramfs-2.6.32-220.el6.x86_64.img

    已经将默认启动设置为3.0但是重启还是2.6.32-220.el6.x86_64

          redhat7安装就很简单了(如果redhat7不会安装请看:http://www.cnblogs.com/luomgf/articles/4765179.html)

          yum install docker或者curl -sSL https://get.docker.com/ | sh 都是可以的

    【更新】

        2015年8月26日 23:07:58 转向rhel7.0

        2015年8月28日 00:13:47 更新rhel7中安装docker命令

        

    【参考资料】

         https://docs.docker.com/installation/rhel/

         http://blog.csdn.net/samxx8/article/details/46727249

  • 相关阅读:
    CentOS6.4运维知识点1
    《C#入门详解》刘铁猛——Lesson10-11-12 操作符
    《C#入门详解》刘铁猛——Lesson8-9 方法的定义、调用与调试
    《C#入门详解》刘铁猛——Lesson3-4-5名称空间、类、对象、类成员以及C#基本元素
    《C#入门详解》刘铁猛——Lesson1-2 IDE、各种应用程序
    linq行转列
    json转dataset的另外一种解析方式自动生成guid强关联
    C#缓存
    大json直接序列化成dataset
    数据库中根据仓库数量拆分单据--通过游标实现
  • 原文地址:https://www.cnblogs.com/luomgf/p/4761936.html
Copyright © 2011-2022 走看看