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



     
  • 相关阅读:
    harbor无法登陆解决
    k8s中使用harbor
    harbor扩容
    harbor设置开机自启
    设置开机自启
    关Java的内存模型(JMM)
    多线程相关概念
    多线程(JDK1.5的新特性互斥锁)
    synchronized关键字
    【异常】redis.clients.jedis.exceptions.JedisDataException: ERR unknown command 'PSETEX'
  • 原文地址:https://www.cnblogs.com/zjz20/p/12553021.html
Copyright © 2011-2022 走看看