CentOs6.8安装Git并安装oh my zsh
(一)git安装
1.下载git2.4.9或其他版本
Index of /pub/software/scm/git git各个版本下载链接:
https://www.kernel.org/pub/software/scm/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


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的更多相关文章
- git&sourcetree安装及在IntelliIJ下拉取项目基础使用
be careful: 1)git版本与Sourcetree版本最好一致 ,不能git为2.5,sourcetree为1.8 2)先安装git再安装Sourcetree 3)拥有git和sourcet ...
- Java_Eclipse安装Git插件
一.从官网选择系统版本下载Git并安装 地址:https://git-scm.com/downloads/ 二.打开Eclipse 1. 第一种安装方法: help-->Install New ...
- eclipse 安装git
1.安装Git 首先安装Git.这里只讲Windows环境下安装Git方法. 从Git下载git的Windows安装文件,一路Next到选择安装组件这一步: 选上Git Bash Here这一项,这样 ...
- CentOS 如何安装git server + Gitolite 【配置不成功需要再测试2015-8-20】
安装git 关于安装git 可以参考 http://gitolite.com/gitolite/install.html 里面有官方的介绍 1. Git 的工作需要调用 curl,zlib,open ...
- Linux在线安装git(亲测成功)
一.先检测是否已安装 安装git需要安装一些依赖,但是安装依赖之前需要先检测一下是否已经安装了git. rpm -qa | grep zlib-devel 二.具体安装命令 如果以前没有安装过,则下载 ...
- Git(1)----Eclipse安装Git插件
一.从官网选择系统版本下载Git并安装 地址:https://git-scm.com/downloads/ 二.打开Eclipse 1. 第一种安装方法: help-->Install New ...
- windows的git的安装和配置
下载并安装git(安装过程中采用默认选项) 进入gitbash(gitbash集成了windows和linux的命令) 使用git --version查看是否安装成功: 用vim .gitconfig ...
- git 入门教程之安装 git
安装 git git 目前支持 Linux/Unix.Solaris.Mac和 Windows 平台上运行,根据自身环境选择安装. Linux 系统 linux 系统安装软件大致有两种途径,一种是利用 ...
- 《centos系列》git的安装
centos 6.5安装git 1.安装编译git时需要的包 # yum install curl-devel expat-devel gettext-devel openssl-devel zlib ...
随机推荐
- .net 破解的几个常用工具
在.net 破解中我们经常会提到 Reflector\SimpleAssemblyExplorer和CFF Explore这几个工具. 我们以一个简单的确Windows Form程序为例来说说他们怎么 ...
- Centos 6.5中使用yum安装jdk
默认会有open-jdk的安装 我们需要卸载 卸载过程: 查找rpm安装包 rpm –aq|grep java; 卸载 rpm –e –nodeps 安装包 查看目前是否通过yum进行安装jdk yu ...
- MVC 3.0 在各个版本IIS中的部署
概述: 最近在做一个MVC 3的项目,在部署服务器时破费了一番功夫,特将过程整理下来,希望可以帮到大家! 本文主要介绍在IIS5.1.IIS6.0.IIS7.5中安装配置MVC 3的具体办法! 正文: ...
- [liu yanling]测试用例设计综合策略
Myers提出了使用各种测试方法的综合策略: 1) 在任何情况下都必须使用边界值分析方法,经验表明用这种方法设计出测试用例发现程序错误的能力最强. 2) 必要时用等价类划分方法补充一些测试 ...
- vs2010的一个opencv插件
调试时,可视化mat等图像 下载及使用地址: http://visualstudiogallery.msdn.microsoft.com/657956e4-8e02-4764-8022-72a0c9c ...
- 图解SVD分解
参考 http://www.bfcat.com/index.php/2012/03/svd-tutorial/
- shell if语句
方法1: if list :then #注意,这里是因为放一行了,所以要有";",如果then在下一行就不用“:”了 do something here ...
- PAT 1026
1026. Table Tennis (30) 时间限制 400 ms 内存限制 32000 kB 代码长度限制 16000 B 判题程序 Standard 作者 CHEN, Yue A table ...
- 开始使用storm
开始使用storm 本章将讲述如何安装.部署.启动和停止 Storm 集群. Storm 的安装比较简单,但在安装 Storm 之前需要做好充足的准备,本章将介绍安装的整个流程.在官网上可以下载到S ...
- [MySQL]快速解决"is marked as crashed and should be repaired"故障
具体报错如下: Table '.\Tablename\posts' is marked as crashed and should be repaired 提示说论坛的帖子表posts被标记有问题,需 ...