2015年7月1日 星期三

微星(MSI)GS60 2QD Ghost 龍魂電競筆電(Gaming Notebook)- Debian(八)

微星(MSI)GS60 2QD Ghost 龍魂電競筆電(Gaming Notebook)- Debian(八): 

第三個要安裝在微星(MSI)GS60 2QD Ghost 龍魂電競筆電(Gaming Notebook)的操作系統是 Linux,因為筆者需要開發 OpenWrt 和 Andriod 項目,所以安裝 Linux 是必需要,但 Linux 操作系統有不同的發行版,包括 Ubuntu、Debian、Fedora、Linux Mint、gOS、Slackware、Red Hat、CentOS 和 openSUSE 等等,在 2013年7月時,筆者是使用 Debian 7.1 GNU/Linux 來開發 OpenWrt,而且 OpenWrt 也建議使用 Debian 系統,所以都是首先選用 Debian 系統。

Debian 8 Linux操作系統
筆者首先選用 Debian 系統,但在 2013年安裝的版本是 Debian 7.1 GNU/Linux,開發  OpenWrt 是沒有開題,便安裝 Debian 7.1 GNU/Linux amd64 版本,但發現微星(MSI)GS60 2QD Ghost 龍魂電競筆電(Gaming Notebook)網卡是 Qualcomm Killer Gaming Networking(Gigabit LAN),支持 802.11 AC 制式,可能是新的網卡,Debian 7.1 沒有對應的驅動程式,所以試驗用不同方法都無法安裝網路,如果 Linux 系統沒有網路,就等於失敗!

Debian 7 Linux 操作系統無法安裝網路
Debian 最新的版本是 8.1 GNU/Linux amd64,發佈日期於 2015年 4月 25日,代號 Jessie,但網上資料說系統是針對圖像化(運行 GNOME / Xfce / KDE / Cinnamon / MATE / LXDE)和使用了新的 systemd,但筆者是喜歡使用純文字輸入方式(Text Mode Command Line),如果是圖像化如 Windows,那麼就麻煩了!當第一次安裝後,結果真的是圖像化 Debian,噢!由於版本太新,網上都沒有資料可以幫助更改為純文字輸入方式,祇可以自己摸索和試驗,但發現可以使用網路,挑戰來吧!

圖像化的 Debian 8 Linux 操作系統
步驟 1:首先是從網上下載 Debian 系統,注意的是一定要 64位元的系統,筆者選擇 Stable Release DVD amd64 版本,共三隻 DVD (debian-8.1.0-amd64-DVD-1.iso,debian-8.1.0-amd64-DVD-2.iso,debian-8.1.0-amd64-DVD-3.iso) ,下載後,最好檢查 MD5,沒有錯誤便可以燒錄。

MD5:debian-8.1.0-amd64-DVD-1.iso … f7da4df83de36b3db105d79f85d97b59
MD5:debian-8.1.0-amd64-DVD-2.iso … c6db5c866bb54fdb38024a55924d345f
MD5:debian-8.1.0-amd64-DVD-3.iso … c386b06ae9fb62d562d67cfa6e6bac0c

下載網址:http://cdimage.debian.org/debian-cd/8.1.0/amd64/iso-dvd/

筆者是利用一台高性能的電腦,微星(MSI)GS60 2QD Ghost 龍魂電競筆電(Gaming Notebook),有助減少編譯(Compiling)的時間,提高開發程式的速度。

微星(MSI)GS60 2QD Ghost 龍魂電競筆電(Gaming Notebook)
CPU:Intel i7-4720HQ 2.6Hz
RAM:DDR3 8GB 
硬碟:1TB (分割硬碟為 200GB + 200GB + 200GB = 600GB)  
操作系統 1:Windows XP SP3  
操作系統 1格式:NTFS 
操作系統 1大小:大約 2.45GB 
操作系統 2:Windows 7 64-bit  
操作系統 2格式:NTFS 
操作系統 2大小:大約 17.6GB 
操作系統 3:Debian 8.1 amd64 
操作系統 3格式:ext4  
操作系統 3大小:大約 8.4GB ( Linux 1GB + OpenWrt 7.4GB)
Linux Kernel:3.16.0-4-amd64 

步驟 2:用 Windows 系統分割好硬碟 (分割硬碟 200GB + 200GB + 200GB= 600GB),首先安裝 Windows XP,然後安裝 Windows 7 操作系統,最後安裝 Debian 操作系統。

用 Windows 系統分割好硬碟
步驟 3:重新開啟電腦,放入 debian-8.1-i386-DVD-1 在 Portable DVD。

步驟 4:Debian 安裝主畫面(Debian GNU / Linux installer boot menu) 
進入安裝 Debian GNU/Linux installer boot menu 
選擇【Install】◆ 一定要選 Install(Expert Install 密碼設定有問題!)
安裝 Debian 8 Linux 操作系統
步驟 5:語言設定(Select Language)
Select a language 選擇【English】  
Select your location 選擇【United States】  
Configure locals 選擇【United States – en_US.UTF-8】 
Configure locals 選擇 Continue 

步驟 6:鍵盤設定(Configure the keyboard) 
Configure the keyboard 選擇【American English】

步驟 7:網絡設定 (Detect network hardware)
Detect network hardware 選擇【No】
Configure the network 選擇【Continue】 
Configure the network hostname 輸入【debian8】選擇【Continue】

步驟 8:用戶和密碼設定(Set up users and passwords)
Root Password 輸入【******************】選擇【Continue】 
Re-enter password to verify 輸入【******************】選擇【Continue】 
Full name for the new user 輸入【alpha】選擇【Continue】
Username for your account 輸入【alpha】選擇【Continue】 
Choose a password for the new user 輸入【******************】選擇【Continue】 
Re-enter password to verify 輸入【******************】選擇【Continue】

步驟 9:時鐘設定(Configure the clock)
Select your time zone 選擇【pacific】

步驟 10:分割硬碟 (Partition Disk)
Partition Disk 選擇【Guide - use the largest continue free space】
選擇 【Delete the partition】
選擇【Guide - use the largest continue free space】進行 Partition format

步驟 11:安裝軟件(Configure the package manager)
Scan another CD or DVD ? 選擇【No】

步驟 12:安裝軟件 (Configuring popularity-contest)
Participate in the package usage survey? 選擇【No】

步驟 13:安裝軟件(Software selection)
Debian desktop environment 選擇【 】◆ 一定要空白不選
SSH server選擇【*】
Standard system utilities選擇【*】

步驟 14:安裝 GRUB 模組(Install the GRUB boot loader on a hard disk)
Install the GRUB boot loader to the master boot record? 選擇【Yes】 
Device for boot loader installation 選擇【/dev/sda】

步驟 15:安裝成功了!  
Finish the installation

步驟 16:啟動 Debian 8系統  
Debian GNU / Linux 8
Core:3.16.0-4-amd64

相關網址:
※ 微星(MSI)GS60 2QD Ghost 龍魂電競筆電(Gaming Notebook)- 介紹(一)
※ 微星(MSI)GS60 2QD Ghost 龍魂電競筆電(Gaming Notebook)- 開箱文(二)
※ 微星(MSI)GS60 2QD Ghost 龍魂電競筆電(Gaming Notebook)- 基本資料(三)
※ 微星(MSI)GS60 2QD Ghost 龍魂電競筆電(Gaming Notebook)- BIOS 資料(四)
※ 微星(MSI)GS60 2QD Ghost 龍魂電競筆電(Gaming Notebook)- OS(五)
※ 微星(MSI)GS60 2QD Ghost 龍魂電競筆電(Gaming Notebook)- Windows XP(六)
※ 微星(MSI)GS60 2QD Ghost 龍魂電競筆電(Gaming Notebook)- Windows 7(七)
※ 微星(MSI)GS60 2QD Ghost 龍魂電競筆電(Gaming Notebook)- Debian(八)

2015 年 7月 1日 天氣報告
氣溫:29.6度 @ 23:00
相對濕度:百分之 78%
天氣:天色大致良好
 

沒有留言:

張貼留言