因為有時需要重灌電腦,所以乾脆將常用軟體記錄一下
下列軟體的安裝環境以 ubuntu 14.04 LTS 為例
$ uname -r ## 查詢系統的核心版本 (kernel version)
3.13.0-40-generic
Install Liu (嘸蝦米輸入法)
- Step 1: 網頁 https://github.com/vicamo/ibus-table-boshiamy/downloads
- Step 2: 下載 bus-table-boshiamy_1.2.0.20091209-0ubuntu1_all.deb 此檔
- Step 3: 下載完成後,點擊檔案安裝嘸蝦米
- Step 4: 登出 (重啟 ibus)
- Step 5: 系統設定值 => 文字輸入 (或點擊右上角的輸入法) => 按左下 [+] => 找 [漢語 (嘸蝦米)] => 若要設定切換鍵,則按 [鍵盤設定] => 完成
APT update / System Upgrade
$ sudo apt-get update; sudo apt-get upgrade; sudo apt-get dist-upgrade;
Install often use applications
(1) $ sudo apt-get install mousepad ## 類似記事本,好用的臨時記事工具
(2) $ sudo apt-get install zim ## 圖形界面文本編輯器,以文字檔與目錄方式存放,便於整理記事文件
(3) 安裝 dropbox
- Step 1. 網頁 https://www.dropbox.com/install?os=lnx
- Step 2. 下載 Dropbox
方法1. Dropbox Ubuntu (.deb) 64-bit
(網址 https://www.dropbox.com/download?dl=packages/ubuntu/dropbox_1.6.2_amd64.deb)
方法2. wget
$ wget https://www.dropbox.com/download?dl=packages/ubuntu/dropbox_1.6.2_amd64.deb - Step 3. 下載完成後,點擊檔案並安裝
- Step 4. 安裝完成,啟動 Dropbox => Dropbox Installation => 輸入帳號與密碼 => 開啟 Dropbox 目錄 => 選擇要同步的目錄或檔案
(4) $ sudo apt-get install vim
(5) $ sudo apt-get install freemind ## 心智圖工具,便於會議記錄
(6) $ sudo apt-get install apache2
- # Apache 2.2 升級到 2.4 的 Conf 調整修復
sudo vim /etc/apache2/sites-enabled/0.conf
<Directory /var/>
Require all granted
</Directory>
=> save + exit (/var/ 位置可變更), apache 重啟
(7) 安裝 percona (mysql db)
- $ sudo vim /etc/apt/sources.list
# percona
deb http://repo.percona.com/apt trusty main
deb-src http://repo.percona.com/apt trusty main
=> save + exit - $ gpg –keyserver hkp://keys.gnupg.net –recv-keys 1C4CBDCDCD2EFD2A
- $ gpg -a –export CD2EFD2A | sudo apt-key add –
- $ sudo apt-get update
- $ sudo apt-get install percona-server-server-5.6
(8) 安裝 php 與相關套件
$ sudo apt-get install php5 php5-cli php5-curl php5-mysql php5-gd php5-mcrypt
$ sudo apt-get install memcached php5-memcache
(9) $ sudo apt-get install git-core curl
(10) 安裝 hipchat (即時通訊軟體)
- $ sudo vim /etc/apt/sources.list
# hipchat
deb http://downloads.hipchat.com/linux/apt stable main
=> save + exit - $ sudo wget -O – https://www.hipchat.com/keys/hipchat-linux.key | apt-key add –
- $ sudo apt-get update
- $ sudo apt-get install hipchat