使用root權限:
預設root帳號是關閉的
若要使用root權限
以安裝時帳號登入
在終端機輸入sudo -i
打入密碼OK
打入密碼OK
-------------------------------------------------------------------------------------------------------------------
VirtualBox裡的Ubuntu系統使用分享資料夾:
在ubuntu上安裝VirtualBox Guest Addition(ubuntu才會認得vboxsf)
掛載VirtualBox安裝的資料夾中的VBoxGuestAdditions.iso
進入ubuntu後以root帳號執行sudo /cdrom/VBoxLinuxAdditions-x86.run
跑完後重開機
VirtualBox設好分享資料夾後
在ubuntu中建立一個用來共用的資料夾
終端機執行sudo mount -t vboxsf share /home/username/share
前面的share是指在Host OS開出分享的資料夾
後面的/home/username/share是指在ubuntu中mount上的資料夾
自動掛載
在/etc/fstab中加下一行
share /home/username/share vboxsf defaults 0 0
share /home/username/share vboxsf defaults 0 0
可是我試不成功=__=
-------------------------------------------------------------------------------------------------------------------
使用 Times New Roman及標楷體:
將windows中fonts資料夾中的times.ttf與kaiu.ttf複製到/usr/share/fonts/truetype底下
終端機執行sudo fc-cache -f -v
重登即可
-------------------------------------------------------------------------------------------------------------------
啟動網路:sudo /etc/init.d/networking start
關閉網路:sudo /etc/init.d/networking stop
關閉網路:sudo /etc/init.d/networking stop
重啟網路:sudo /etc/init.d/networking restart
編輯網路設定:gedit /etc/network/interfaces
一般DHCP設定:
auto eth0
iface eth0 inet dhcp
Static IP 設定:
auto eth0
iface eth0 inet static
address 192.168.*.*
netmask 255.255.255.0
gateway 192.168.*.*
auto eth0
iface eth0 inet dhcp
Static IP 設定:
auto eth0
iface eth0 inet static
address 192.168.*.*
netmask 255.255.255.0
gateway 192.168.*.*