樹莓派上Ubuntu14.04 mate設置

1、擴充SD卡內存

安裝系統後默認內存爲3.7G,剩下的被隱藏,可是能夠經過設置擴充內存。html

一、進入fdisk模式
linux

-$sudo fdisk /dev/mmcblk0

二、按下d鍵,刪除分區shell

Command(m for help):d

三、選擇分區框架

Partition number(2-4,default 2):2

四、 按 n 鍵,從新建立linux主分區ui

Command(m for help):n

五、Partition Type(分類類型) 選 P (Primary)google

Select(default p):p

六、Partition Number (分區號) 選 2url

Partition number(2-4,default 2):2

七、First Sector(起始Sector) 必定要輸入剛纔記下來的Start Sector號(個人是133120)spa

First Sector(133120-30318591,default 133120):回車

八、Last sector,回車默認.net

 Last Sector,+sectors or +size{K,M,G,T,P}(133120-30318591,default 30318591):回車

九、按w保存操做並退出
命令行

Command(m for help):w

十、接下來,當即重啓,不要作任何其它事情

-$sudo reboot

十一、重啓並登陸後,當即用如下命令

sudo resize2fs /dev/mmcblk0p2

    該命令將把第二個分區擴展到新的空間中

插敘:存儲器類型

/dev

mmcblk0p1

<多媒體卡—塊設備0—分區1,Multi-Media Card block partition 1>

sda1

sda通常是指SATA接口的硬盤,sda通常指第一塊硬盤,相似的有sdb,sdc等 如今的內核都會把硬盤,移動硬盤,U盤之類的識別爲sdX的形式

2、系統更新與升級

更新

sudo apt-get update//更新軟件源,最後會讀取軟件包列表

升級

sudo apt-get upgrade

更新全部的軟件

sudo apt-get dist-upgrade

3、安裝與刪除軟件

安裝

sudo apt-get install

刪除

sudo apt-get remove

4、中文支持

安裝字庫

sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei

安裝中文語言包

sudo apt-get install language-pack-zh-hans

安裝後重啓,在登陸界面左下角選擇語言爲中文,進入系統,界面已經漢化了。

安裝輸入法框架

sudo apt-get install fcitx

安裝sunpinyin輸入法

sudo apt-get install fcitx-sunpinyin

安裝libpinyin輸入法

sudo apt-get install fcitx-libpinyin

安裝googlepinyin輸入法

sudo apt-get install fcitx-googlepinyin

安裝cloudpinyin輸入法

sudo apt-get install fcitx-module-cloudpinyin

Ubuntu mate安裝fcitx

5、添加軟件源

配置文件:/etc/apt/sources.list

命令行

sudo nano /etc/apt/sources.list
deb http://

圖形界面

一、進入/etc/apt目錄

二、右鍵,以管理員身份打開

三、添加源

5、引用網址

Ubuntu Mate系統配置

安裝Ubuntu Mate到樹莓派2

Ubuntu Mate:擴展存儲到整張SD卡

Ubuntu 15基本知識

linux fdisk命令使用

相關文章
相關標籤/搜索