2016年11月30日 星期三

用USB安裝Debian 8.6

用USB隨身碟來安裝Debian 8.6 (Jessie),依序執行:
  1. wget http://debian.nctu.edu.tw/debian-cd/8.6.0/amd64/iso-cd/debian-8.6.0-amd64-netinst.iso
  2. sudo cp debian-8.6.0-amd64-netinst.iso /dev/sde
說明文件是《Preparing Files for USB Memory Stick Booting》
  1. 從交大的mirror site下載iso映像檔
  2. 把此iso寫到隨身碟上
要安裝系統的機器選定從USB開機,之後依照指示安裝
現在裝Debian已有圖形界面,很簡單方便~

_EOF_

2016年11月29日 星期二

Ubuntu16.04調整MBPR上的螢幕亮度

在MacBookPro Retina上面跑Ubuntu 16.04,遇到螢幕亮度無法調整的問題。參考《Can't adjust screen brightness on Macbook Pro 10,1 Ubuntu 13.10》,用root輸入:
  • setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0
上面那行放在 /etc/rc.local 裡面,開機後就會直接執行

_EOF_

2016年11月27日 星期日

重新掛載NFS檔案系統

某些時候像是跳電後,原本透過網路掛載的NFS檔案系統會卡住,這時候要強迫所有的NFS檔案系統重新掛載可以執行下面指令:
  • sudo mount -a -t nfs -o remount
_EOF_

2016年11月26日 星期六

Ubuntu16.04裝在MBPR上的無線網路

在MacBookPro上面裝完Ubuntu 16.04後,無線網路不會動。用iwconfig也看不到有無線網路的樣子,除了之前寫過的《舊MacBook Pro安裝Ubuntu Gnome後,修正無線網路不會動的問題 》解法以,另外又找到另外一個更簡單的解法《Wireless driver not working for Broadcom BCM43224 after latest update》,只要依序做下面三個指令:
  • sudo apt-get install linux-headers-generic
  • sudo apt-get install --reinstall bcmwl-kernel-source
  • sudo modprobe wl

_EOF_

2016年11月25日 星期五

從Fedora24升級到fc25

這次系統升級的部分參考《What’s new in Fedora 25 Workstation》,這邊介紹建議的更新方式。打開終端機之後,依找下面步驟一步一步來做:
  1. sudo dnf upgrade --refresh
  2. sudo dnf install dnf-plugin-system-upgrade
  3. sudo dnf system-upgrade download --releasever=25
  4. sudo dnf system-upgrade reboot