zoukankan      html  css  js  c++  java
  • deepin使用记录

    一、安装docker最新版
    curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun

       二、安装cubelet 

    1、sources.list先配置sources.list源才能继续下面步骤

    # vim  /etc/apt/sources.list
    ## Generated by deepin-installer
    #deb [by-hash=force] https://mirrors.tuna.tsinghua.edu.cn/deepin panda main contrib non-free
    deb [by-hash=force] http://mirrors.aliyun.com/deepin lion main contrib non-free
    deb http://sh.deepin.io:6500/sunway kui main non-free
    deb http://sh.deepin.io:6500/sunway kui-updates main non-free
    deb http://sh.deepin.io:6500/sunway kui-backports main non-free
    #deb-src http://mirrors.aliyun.com/deepin lion main contrib non-free

    $ apt update

    lion 是稳定版, panda 是测试版,

    2、安装

    Kubernetes 用于容器化应用的自动部署、扩缩和管理。它将构成应用的容器按逻辑单位进行分组以便于管理和发现。

    apt-get update && apt-get install -y apt-transport-https
    curl https://mirrors.aliyun.com/kubernetes/apt/doc/apt-key.gpg | apt-key add - 
    cat <<EOF >/etc/apt/sources.list.d/kubernetes.list
    deb https://mirrors.aliyun.com/kubernetes/apt/ kubernetes-xenial main
    EOF  
    apt-get update
    apt-get install -y kubelet kubeadm kubectl

     三、ssh连接管理

    sudo apt install openssh-client #本地主机运行此条,实际上通常是默认安装client端程序的
    sudo apt install openssh-server #服务器运行此条命令安装
    sudo /etc/init.d/ssh start #服务器启动ssh-server服务
    sudo /etc/init.d/ssh stop #server停止ssh服务
    sudo /etc/init.d/ssh restart #server重启ssh服务
    
    ssh dell@192.168.30.6 # 如果需要调用图形界面程序 ssh -X dell@192.168.30.6 Ctrl+D #退出



     
  • 相关阅读:
    IIS 浏览aspx页面出现无法显示XML页的解决方法分享
    好看的导航菜单
    C# FileUpload使用过程遇到的问题
    javascript之数组操作
    浅谈.NET下的多线程
    项目分页通用页
    npoi
    react webpack.config.js的配置及注释
    JS 解析Json 方法
    json解析
  • 原文地址:https://www.cnblogs.com/zjz20/p/12553021.html
Copyright © 2011-2022 走看看