• docker安装


    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
    sudo apt-get update
    apt-cache policy docker-ce


    GPG error: https://apt.dockerproject.org/repo ubuntu-xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F76221572C52609D

    执行:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
    F76221572C52609D
    sudo apt-get update


    254 sudo apt-get purge lxc-docker
    255 apt-cache policy docker-engine
    256 sudo apt-get update
    257 sudo apt-get purge lxc-docker
    258 apt-cache policy docker-engine
    259 sudo vim /etc/apt/sources.list.d/docker.list
    260 sudo apt-get update
    261 sudo apt-get apt-transport-https
    262 sudo apt-get install apt-transport-https
    263 sudo apt-get install ca-certificates
    264 sudo dpkg -i --force-overwrite /var/cache/apt/archives/libx265-102_2.2-1~16.04.york0_amd64.deb
    265 exit
    266 curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    267 sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
    268 sudo apt-get update
    269 apt-cache policy docker-ce
    270 sudo apt-get install -y docker-ce
    271 sudo apt-get purge grub-pc grub-common
    272 sudo update-grub
    273 sudo apt-get install -y docker-ce
    274 sudo apt-get update
    275 sudo apt-get install -y docker-ce
    276 service docker start
    277 docker run hello-world
    278 history

    ------------------------------------------------------------

    ubuntu 中文输入法:

    sudo locale-gen

    sudo apt install ibus-pinyin
    sudo apt install ibus-libpinyin

    sudo apt-get install language-pack-zh-hant language-pack-zh-hans

    修改:sudo vi /etc/default/locale

    sudo apt-get install convmv

    sudo dpkg-reconfigure locales选择中文

    修改 /etc/profile

    LANG=zh_CN.UTF-8
    LANGUAGE=zh_CN:zh:en_US:en
    LC_ALL=zh_CN.UTF-8


    退出终端,重新打开(测试使用source不起作用)

  • 相关阅读:
    关于SQL Server中的DateTime类型和C#中的DateTime类型的一点小记录
    强类型DataSet的使用简明教程2
    byte[]转string的感悟
    ArrayList的Insert方法
    FormsAuthenticationTicket对象
    powerdesigner设置唯一键,但不是主键的方式
    KeyValuePair用法(转)
    如何在安装过程中部署DevExpress控件
    asp.net GridView手写事件,包括取主键、取值、更新、选择、删除
    序列化(Serialize)、反序列化(Deserialize)
  • 原文地址:https://www.cnblogs.com/tengpan-cn/p/7872884.html
Copyright © 2020-2023  润新知