首页 > 代码库 > ubuntu 14.04 配置

ubuntu 14.04 配置

1. apt-get 源更新

$ sudo apt-get update$ sudo apt-get upgrade

2. git & Github

$ sudo apt-get install git-all xclip$ git config --global user.name "Jackon Yang" $ git config --global user.email "jiekunyang@gmail.com"

添加 ssh 密钥,详细说明: https://help.github.com/articles/generating-ssh-keys

$ mkdir -p ~/.ssh && cd ~/.ssh$ ssh-keygen -t rsa -C "jiekunyang@gmail.com"$ xclip -sel clip < ~/.ssh/id_rsa.pub  # id_rsa.pub 中的密钥保存到剪切板中$ ssh -T git@github.com  # test connection# output# Hi JackonYang! Youve successfully authenticated, but GitHub does not provide shell access.

3. vim

sudo apt-get install vim-gtk exuberant-ctags  # vim and ctags$ git clone git@github.com:JackonYang/vimrc.git .vim$ cd .vim$ install.sh

4. chrome

sudo apt-get install chromium-browser