Linux Mint 17 Setup

安装

版本选择

  • 电脑内存小于4GB(建议至少应达到2GB),请选择32位版本
  • 电脑内存大于等于4GB,请选择64位版本
  • 为了学习质量和便于适应英文工作环境,请在安装时务必选择英文(美国)版本。

制作USB启动盘

  • 准备一个容量大于4GB的U盘(请提前将U盘中内容备份,然后使用FAT32格式格式化该U盘);
  • 在Windows操作系统下使用 Universal USB Installer 选择下载的 Linux Mint 安装镜像(ISO)文件并选择U盘所在盘符制作USB启动盘。

安装

(安装时不要连接互联网,可以大幅度提高安装速度)

干净安装

直接使用制作好的USB启动盘引导计算机,擦除并使用全部硬盘进行安装(该方法仅适合新电脑或者不准备继续使用Windows且做好备份的情况)。

双系统安装

  1. 在Windows操作系统下,使用磁盘工具(推荐使用EaseUS Partition Master Free,安装时请仔细看清不要安装任何其捆绑的垃圾软件),在现有硬盘上划分出一个主分区(建议不要小于20GB,推荐60GB)和一个逻辑分区(与电脑内存大小一致);
  2. 使用 EasyBCD 新建一个名为Linux Mint的GRUB2引导项目,并将其位置指定在刚刚新划分出的主分区上;
  3. 使用制作好的USB启动盘引导计算机,在安装向导中选择手动硬盘划分,选择新划分出的主分区,选择格式化为Ext4格式,并将/根目录指定到该分区上;
  4. 选择新划分出的逻辑分区,并制定该分区为Swap分区;
  5. 将引导分区盘符指定为新划分出的主分区(这一步非常重要,切记!);
  6. 按照安装向导完成后续安装步骤。

配置

(安装有独立安装包的软件时,请根据已安装操作系统选择32位或64位版本)

  1. 将软件源切换至国内服务器(推荐**科技大学服务器USTC)
  2. 更新系统(选择并应用全部更新)
  3. 将鼠标和触摸板设置设置为最适合触摸板工作的方式(双指触摸、拖拽和滚动、输入时禁用触摸板等)
  4. 安装文泉驿微米黑和文泉驿正黑字体解决界面中文缺失问题
sudo apt-get install fonts-wqy-microhei fonts-wqy-zenhei
  1. 安装搜狗输入法依赖包(32位)
sudo apt-get install fcitx fcitx-bin fcitx-config-common fcitx-config-gtk fcitx-data fcitx-frontend-all fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-frontend-qt4 fcitx-libs fcitx-libs-gclient fcitx-libs-qt fcitx-module-dbus fcitx-module-kimpanel fcitx-module-lua fcitx-module-x11 fcitx-modules fcitx-ui-classic

安装搜狗输入法依赖包(64位)

sudo apt-get install fcitx fcitx-bin fcitx-config-common fcitx-config-gtk fcitx-data fcitx-frontend-all fcitx-frontend-gtk2:amd64 fcitx-frontend-gtk3:amd64 fcitx-frontend-qt4:amd64 fcitx-libs:amd64 fcitx-libs-gclient:amd64 fcitx-libs-qt:amd64 fcitx-module-dbus fcitx-module-kimpanel fcitx-module-lua fcitx-module-x11 fcitx-modules fcitx-ui-classic
  1. 安装搜狗输入法
  2. 安装Chrome浏览器
  3. 安装Skype
sudo apt-get install skype
  1. 添加所需要使用的工具的第三方PPA源
sudo add-apt-repository ppa:git-core/ppa
sudo add-apt-repository ppa:webupd8team/atom
sudo add-apt-repository ppa:webupd8team/java
sudo add-apt-repository ppa:jerzy-kozera/zeal-ppa
  1. 更新软件包数据并安装所需要使用的工具(cURL、Git、Atom、Zeal、Oracle JDK 8)
sudo apt-get update
sudo apt-get install curl git atom zeal oracle-java8-installer
sudo apt-get remove openjdk*
  1. 安装Atom编辑器的扩展包
apm install linter linter-jshint editorconfig atom-beautify
  1. 安装 IntelliJ IDEA Ultimate Edition 编辑器
  2. 安装 IntelliJ IDEA Ultimate Edition 编辑器插件
  • .gitignore support
  • EditorConfig
  • NodeJS
  • AngularJS
  • Karma
  1. 安装Node Version Manager (NVM)
  2. 在home目录下创建 .bashrc 文件并添加如下内容
source ~/.nvm/nvm.sh
  1. 使用NVM安装NodeJS并设置默认版本
  2. 配置Git全局设置参数
git config --global user.name '<用户名>'
git config --global user.email '<电子邮件地址>'
git config --global color.ui true
  1. 生成SSH密钥并将其注册到GitHub账号