zoukankan      html  css  js  c++  java
  • git密匙生成&git linux tar

    git 生成 公匙密匙 rsa key

    打开gitbash 键入自己的git账号

      ssh-keygen -t rsa -b 4096 -C ""

    当提示 "Enter  file in which to save the key," 按回车继续.(默认配置)

    当提示,

    Enter passphrase (empty for no passphrase): [Type a passphrase] 直接回车

    Enter same passphrase again: [Type passphrase again] 直接回车

     

    继而:

    The key fingerprint is:                                                                                                                                                                      
    SHA256:vj4bvA21yiHLaoXCVro2B7cDBg7q2MGGiVrx0A05Dlo your_email@example.com                                                                                                                        
    The key's randomart image is:

    +---[RSA 4096]----+                                                                                                                                                                          
    |     .           |                                                                                                                                                                          
    |  E +            |                                                                                                                                                                          
    | o + +           |                                                                                                                                                                          
    |+ o + .          |                                                                                                                                                                          
    |=* * .  S .      |                                                                                                                                                                          
    |=.& + .o . .     |                                                                                                                                                                          
    |+* B o. * .      |                                                                                                                                                                          
    |o.= =. +.O       |                                                                                                                                                                          
    | . +.oo.Bo.      |                                                                                                                                                                          
    +----[SHA256]-----+

     ls -al ~/.ssh

    PS:

    windows 在当前的目录生成的密钥 需要 放到 C:Users$用户.ssh  下  

    linux   /root/.ssh

    linux install mathod:

      切换到你的包文件存放目录下
    
        cd /usr/src
    
      下载git安装包
    
        wget https://www.kernel.org/pub/software/scm/git/git-2.8.3.tar.gz
    
      解压git安装包tar -zxvf git-2.8.3.tar.gz
    
        cd git-2.8.3
    
      配置git安装路径
    
        ./configure prefix=/usr/local/git/
    
      编译并且安装
    
        make && make install
    
      查看git版本号
    
      git --version
    
      git已经安装完毕
    
    5、将git指令添加到bash中
    
      vi /etc/profile
    
      在最后一行加入
    
      export PATH=$PATH:/usr/local/git/bin
    
      让该配置文件立即生效
    
      source /etc/profile
    nhz94259@163.com
  • 相关阅读:
    为什么要进行需求分析?通常对软件系统有哪些需求?
    面向过程(或者叫结构化)分析方法与面向对象分析方法到底区别在哪里?请根据自己的理解简明扼要的回答。
    我们说 软件企业 = 软件 + 商业模式 下面提到的一个游戏团队, 有很好的软件,但是商业模式和其他软件之外的因素呢?有没有考虑到? http://news.cnblogs.com/n/528911/
    14软件工程第八次作业
    14软件工程第七次作业
    14软件工程第六次作业
    14软件工程第五次作业
    14软件工程第四次作业
    14软件工程第三次作业
    14软件工程第二次作业
  • 原文地址:https://www.cnblogs.com/nhz-M/p/10255000.html
Copyright © 2011-2022 走看看