CentOS 7 - 最小化装机软件

1.CentOS 7 - yum常见命令
2.CentOS 7 - 最小化装机软件
3.CentOS 7 - GitLab的安装

CentOS 7 最小化安装后的软件安装:

1.安装网络工具:

$ yum -y install net-tools

2.下载工具安装:

$ yum -y install wget

3.更改yum源

这里用阿里的源。

阿里云Linux安装镜像源地址:http://mirrors.aliyun.com/

3.1 备份你的原镜像文件,以免出错后可以恢复。

$ mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup

3.2 下载新的CentOS-Base.repo 到/etc/yum.repos.d/

CentOS 6:

$ wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo

CentOS 7:

$ wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

3.3 生成缓存

yum clean all

$ yum makecache

4.安装zsh

zsh是目前最好用的shell。

$ yum -y install zsh

5.安装git

安装oh-my-zsh要用,以后项目代码管理也要用。

$ yum -y install git

6.安装oh-my-zsh

配合zsh使用,使zsh更好用,更帅。

oh-my-zsh官网:http://ohmyz.sh/

curl方式安装:

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

wget方式安装:

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

7.安装vim编辑器

$ yum -y install vim
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值