(一)git安装

1.下载git2.4.9或其他版本

Index of /pub/software/scm/git git各个版本下载链接:

https://www.kernel.org/pub/software/scm/git/

2.安装git依赖的包 
[root@neusoft-master git-2.4.9]#yum install zlib-devel 
[root@neusoft-master git-2.4.9]#yum install openssl-devel 
[root@neusoft-master git-2.4.9]#yum install perl 
[root@neusoft-master git-2.4.9]#yum install cpio 
[root@neusoft-master git-2.4.9]#yum install expat-devel 
[root@neusoft-master git-2.4.9]#yum install gettext-devel 
//安装autoconf 
[root@neusoft-master git-2.4.9]#yum install autoconf 

3.安装git 
[root@neusoft-master git-2.4.9]#tar xzvf git-latest.tar.gz 

4.[root@neusoft-master git-2.4.9]#./configure 

5.[root@neusoft-master git-2.4.9]#make 
6.[root@neusoft-master git-2.4.9]#make install

 7. [root@neusoft-master git-2.4.9]# whereis git

git: /usr/bin/git /usr/local/bin/git /usr/share/man/man1/git.1.gz

 8.[root@neusoft-master git-2.4.9]# git --version

git version 2.4.9
[root@neusoft-master git-2.4.9]#

以上完成了git的安装

(二)oh my zsh安装

通常使用的是Bash、zsh,但是由于zsh非常复杂,所以以为作者就基于zsh开发了开源的oh my zsh并托管于github上

其网址为:http://ohmyz.sh/ 非常火的项目,如下图

1.两种安装方式

(1)通过curl

$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

(2)通过wget

$ sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

2.在安装git的环境下安装只需要输入上述命令即可

3.安装成功即可使用

注:oh my zsh在mac和linux用途很广泛

CentOs6.8安装Git并安装oh my zsh的更多相关文章

  1. git&sourcetree安装及在IntelliIJ下拉取项目基础使用

    be careful: 1)git版本与Sourcetree版本最好一致 ,不能git为2.5,sourcetree为1.8 2)先安装git再安装Sourcetree 3)拥有git和sourcet ...

  2. Java_Eclipse安装Git插件

    一.从官网选择系统版本下载Git并安装 地址:https://git-scm.com/downloads/ 二.打开Eclipse 1. 第一种安装方法: help-->Install New ...

  3. eclipse 安装git

    1.安装Git 首先安装Git.这里只讲Windows环境下安装Git方法. 从Git下载git的Windows安装文件,一路Next到选择安装组件这一步: 选上Git Bash Here这一项,这样 ...

  4. CentOS 如何安装git server + Gitolite 【配置不成功需要再测试2015-8-20】

    安装git 关于安装git  可以参考 http://gitolite.com/gitolite/install.html 里面有官方的介绍 1. Git 的工作需要调用 curl,zlib,open ...

  5. Linux在线安装git(亲测成功)

    一.先检测是否已安装 安装git需要安装一些依赖,但是安装依赖之前需要先检测一下是否已经安装了git. rpm -qa | grep zlib-devel 二.具体安装命令 如果以前没有安装过,则下载 ...

  6. Git(1)----Eclipse安装Git插件

    一.从官网选择系统版本下载Git并安装 地址:https://git-scm.com/downloads/ 二.打开Eclipse 1. 第一种安装方法: help-->Install New ...

  7. windows的git的安装和配置

    下载并安装git(安装过程中采用默认选项) 进入gitbash(gitbash集成了windows和linux的命令) 使用git --version查看是否安装成功: 用vim .gitconfig ...

  8. git 入门教程之安装 git

    安装 git git 目前支持 Linux/Unix.Solaris.Mac和 Windows 平台上运行,根据自身环境选择安装. Linux 系统 linux 系统安装软件大致有两种途径,一种是利用 ...

  9. 《centos系列》git的安装

    centos 6.5安装git 1.安装编译git时需要的包 # yum install curl-devel expat-devel gettext-devel openssl-devel zlib ...

随机推荐

  1. Apache ‘mod_pagespeed’模块跨站脚本漏洞

    漏洞名称: Apache ‘mod_pagespeed’模块跨站脚本漏洞 CNNVD编号: CNNVD-201310-677 发布时间: 2013-11-05 更新时间: 2013-11-05 危害等 ...

  2. easyui datagriad 框架 自适应r

    easyui datagriad 框架 在做列自适应时可以采取以下步骤: 1. fitColumns: true,/*自动扩大或缩小列的尺寸以适应表格的宽度并且防止水平滚动*/ 使之保持与父类宽度相同 ...

  3. 使用PowerShell脚本部署定时器到MOSS2010

    转:http://www.77site.com/tech/1087042010072906074113_2012050808152911.html 第一章 前言 在此次练习中,您将了解到如何使用Pow ...

  4. MongoDB之二(增删查改)

    一: Insert操作 上一篇也说过,文档是采用“K-V”格式存储的,如果大家对JSON比较熟悉的话,我相信学mongodb是手到擒来,我们知道JSON里面Value 可能是“字符串”,可能是“数组” ...

  5. linux 已有目录挂载磁盘

    1.查看当前硬盘使用状况: [root@gluster_node1 ~]# df -h Filesystem            Size  Used Avail Use% Mounted on / ...

  6. Android 单字阅读

    package com.desmand.screencapture; import android.app.Activity; import android.content.Intent; impor ...

  7. Esper系列(十一)NamedWindow语法Merge、Queries、Indexing、Dropping

    On-Merge With Named Windows 功能:对window中的insert.update.delete操作进行组合运用. 格式: 1  "; 14      15  Sys ...

  8. web api中post参数时只能一个

    在WebAPI中,请求主体(HttpContent)只能被读取一次,不被缓存,只能向前读取的流. 举例子说明: /?id=123&name=bob void Action(int id, st ...

  9. A Tour of Go Exercise: Loops and Functions

    As a simple way to play with functions and loops, implement the square root function using Newton's ...

  10. javascript function对象

    <html> <body> <script type="text/javascript"> Function.prototype.get_my_ ...