新增硬碟後,會以UUID來mount在/media底下,因此,修改fstab讓其固定指定的mount名稱。
- df -l
- sudo mount /dev/sdb1 /media/Fuji_80G
- sudo chown xbmc /media/Fuji_80G
- ls -al /dev/disk/by-uuid
- sudo nano /etc/fstab
- 新增UUID=UUID of Fuji_80G /media/Fuji_80G ext4 defaults
- 需注意的是修改fstab後,XBMC之後的開機如果沒發現到此顆硬碟會出現提示訊息!
參考來源:https://launchpad.net/~transmissionbt/+archive/ppa
- sudo add-apt-repository ppa:transmissionbt/ppa
- sudo apt-get update
- sudo apt-get install transmission-daemon
安裝Samba
參考來源:http://bbs.htpc1.com/thread-106205-1-1.html
- sudo apt-get install samba
- sudo nano /etc/samba/smb.conf
需注意目錄的權限
[global] workgroup = test security = share [xbmc] comment = XBMC Share path = /media/Fuji_80G read only = No browseable = Yes public = yes writable = yes inherit permissions = yes guest ok = Yes
沒有留言:
張貼留言