1. 系统配置
1.1. 源文件
<!-- lang: shell -->
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo gedit /etc/apt/sources.list
# 填写下列信息
deb http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
# 更新
sudo apt-get update
1.2. 输入法
浏览器里建议使用QQ/Sogou云输入法。
<!-- lang: shell -->
sudo apt-get install ibus-googlepinyin
...
2. 软件安装
2.1. 多视图终端 Terminator
<!-- lang: shell -->
sudo apt-get install terminator
2.2. Node.js
<!-- lang: shell -->
sudo apt-get install g++
wget http://nodejs.org/dist/v0.10.6/node-v0.10.6.tar.gz
tar -xzf node-v0.10.6.tar.gz
cd node-v0.10.6
./configure
make
sudo make install
sudo npm i -g grunt-cli
2.3. google chrome
访问 https://www.google.com/intl/zh-CN/chrome/browser/,安装对应版本。
2.4. openssh server
<!-- lang: shell -->
sudo apt-get install openssh-server
2.5. sublime text 2
访问 http://www.sublimetext.com/2,安装对应版本。
假设解压缩于 ~/apps/sublime-text2,把sublimetext加入系统
<!-- lang: shell -->
sudo gedit /usr/share/applications/sublime_text.desktop
# 填写下列信息
[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=~/apps/sublime-text2/sublime_text %F
Terminal=false
MimeType=text/plain;
Icon=sublime-text
Categories=TextEditor;Development;
StartupNotify=true
Actions=Window;Document;
[Desktop Action Window]
Name=New Window
Exec=~/apps/sublime-text2/sublime_text -n
OnlyShowIn=Unity;
[Desktop Action Document]
Name=New File
Exec=~/apps/sublime-text2/sublime_text --command new_file
OnlyShowIn=Unity;