• 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 #退出



     
  • 相关阅读:
    Tomcat服务器原理详解
    junit入门
    lombok
    java 运行指定类的main函数
    席位分配问题——惯例Q值法和d&#39;hondt法的MATLAB程序
    5.2 calendar--通用日期的相关函数(3)
    [笔记]软件体系结构(1)--模式初印象
    hdu 1003
    linux虚拟机上挂载U盘
    Android中Java与web通信
  • 原文地址:https://www.cnblogs.com/zjz20/p/12553021.html
Copyright © 2020-2023  润新知