安裝系統後默認內存爲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
<多媒體卡—塊設備0—分區1,Multi-Media Card block partition 1>
sda通常是指SATA接口的硬盤,sda通常指第一塊硬盤,相似的有sdb,sdc等 如今的內核都會把硬盤,移動硬盤,U盤之類的識別爲sdX的形式
sudo apt-get update//更新軟件源,最後會讀取軟件包列表
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install
sudo apt-get remove
安裝字庫
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
配置文件:/etc/apt/sources.list
sudo nano /etc/apt/sources.list
deb http://
一、進入/etc/apt目錄
二、右鍵,以管理員身份打開
三、添加源