(一)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. CSS学习笔记——定位position属性的学习

    今天学习之前剩下的一个问题:CSS的position属性.首先归纳出和position相关的问题: position作为一个属性,它一共有哪几个属性值? position常用的属性值有哪几个?分别有什 ...

  2. 多组 RadioButtonList 获取值

    <div class="row">    <table>        <thead><tr><th>操作</th ...

  3. debian下安装AMD驱动

    参考:http://blog.sciencenet.cn/blog-296919-464464.html 去AMD官网下载对应的驱动: amd-driver-installer-catalyst-13 ...

  4. The Shortest Path in Nya Graph

    Problem Description This is a very easy problem, your task is just calculate el camino mas corto en ...

  5. ArrayLLis 线程不安 实验

    这段代码演示了ArrayList的线程不安全,我让3个线程分别对list加入300个字符串,最后的arr的大小为800多,大家可以测试一下,我的一次是898,一次是897,同时还学了join的用法 i ...

  6. localtime和localtime_r

    上程序: #include <cstdlib> #include <iostream> #include <time.h> #include <stdio.h ...

  7. Altium Designer 多通道设计

    转chenzelin2009的csdn博客:http://blog.csdn.net/chenzelin2009/article/details/5751251# Altium Designer的多图 ...

  8. 新发现:原来java正则表达式不写^和$也可以运行

    最近用了好多正则表达式,都是循规蹈矩的在前面加上^在后面加上$ 像这个样子"^[.]\\S+$",但实际上我在eclipse和editplus下都试了一下,不加前缀和后缀也是可以的 ...

  9. spring + springmvc + jdbc + quartz + maven整合

    个人搭建框架: pom.xml: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="htt ...

  10. RedHat Enterprise Linux 6.4使用Centos 6 的yum源 分类: 服务器搭建 Nginx 2015-07-14 14:11 5人阅读 评论(0) 收藏

    转载自:http://blog.sina.com.cn/s/blog_50f908410101cto6.html 思路:卸载redhat自带yum,然后下载centos的yum,安装后修改配置文件 1 ...