使用U盤系統(tǒng)制作工具
不要使用ultraISO工具
使用?easyBCD?或者?Universal-USB-Installer?工具
系統(tǒng)安裝完畢后
1、更系統(tǒng)源
1.1、 如何更改源
可以在軟件更新中選擇源, 使用如下命令更改(修改前先備份):
sudo vim /etc/apt/source.list
1.2、 阿里云
deb http://mirrors.aliyun.com/ubuntu/ quantal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ quantal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ quantal-backports main restricted universe multiverse
1.3、 東北大學
deb-src http://mirror.neu.edu.cn/ubuntu/ xenial main restricted#Added by software-propertiesdeb http://mirror.neu.edu.cn/ubuntu/ xenial main restricteddeb-src http://mirror.neu.edu.cn/ubuntu/ xenial restricted multiverse universe#Added by software-propertiesdeb http://mirror.neu.edu.cn/ubuntu/ xenial-updates main restricteddeb-src http://mirror.neu.edu.cn/ubuntu/ xenial-updates main restricted multiverse universe#Added by software-propertiesdeb http://mirror.neu.edu.cn/ubuntu/ xenial universedeb http://mirror.neu.edu.cn/ubuntu/ xenial-updates universedeb http://mirror.neu.edu.cn/ubuntu/ xenial multiversedeb http://mirror.neu.edu.cn/ubuntu/ xenial-updates multiversedeb http://mirror.neu.edu.cn/ubuntu/ xenial-backports main restricted universe multiversedeb-src http://mirror.neu.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse#Added by software-propertiesdeb http://archive.canonical.com/ubuntu xenial partnerdeb-src http://archive.canonical.com/ubuntu xenial partnerdeb http://mirror.neu.edu.cn/ubuntu/ xenial-security main restricteddeb-src http://mirror.neu.edu.cn/ubuntu/ xenial-security main restricted multiverse universe#Added by software-propertiesdeb http://mirror.neu.edu.cn/ubuntu/ xenial-security universedeb http://mirror.neu.edu.cn/ubuntu/ xenial-security multiverse
1.4、 清華大學
# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricteddeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricteddeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricteddeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial universedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates universedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial multiversedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates multiversedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiversedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricteddeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security universedeb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security multiverse
2、設(shè)置系統(tǒng)
2.1、設(shè)置unity的位置
參考將 Ubuntu 16.04 LTS 的 Unity 啟動器移動到桌面底部
從左側(cè)移動感到底部:
gsettings set com.canonical.Unity.Launcher launcher-position Bottom
恢復到左側(cè)
gsettings set com.canonical.Unity.Launcher launcher-position Left
2.2、點擊unity啟動器圖標最小化
gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ launcher-minimize-window true
2.3、配置Dash
“安全和隱私” 》 “搜索”, 打開在線搜索的功能
“安全和隱私” 》 “診斷”,關(guān)閉向 Canonical 發(fā)送錯誤報告
2.4、配置快捷鍵
2.4.1、快速啟動終端
設(shè)置快捷鍵
系統(tǒng)設(shè)置——》鍵盤——》快捷鍵。
啟動器——》啟動終端,設(shè)成Win + R。
2.4.2、設(shè)置顯示桌面快捷鍵
需要安裝compizconfig-settings-manager軟件
sudo apt-get install compizconfig-settings-managerccsmccsm——》桌面——》Ubuntu Unity Plugin。General——》“Show Desktop”——》設(shè)置成“win + d”。
2.5、Ubuntu 切換中文目錄或英文目錄切換
切換為英文:
export LANG=en_USxdg-user-dirs-gtk-updateecho 選 update
切換為中文:
export LANG=zh_CN.UTF-8xdg-user-dirs-gtk-updateecho 選“不要再提醒”和“保持原來的名稱”
該配置需要重啟生效
2.6、ssh忽略known_hosts
mkdir-p~/.sshecho-e"StrictHostKeyChecking no\nUserKnownHostsFile /dev/null">~/.ssh/config
2.7、安裝gofont字體
從github下載gofont,?git clone https://github.com/golang/image.git, 拷貝font/gofont/ttfs/下面的字體到系統(tǒng)字體中:
sudo mkdir /usr/share/fonts/gofontssudo cp font/gofont/ttfs /usr/share/fonts/gofontscd/usr/share/fonts/gofontssudo chmod 744*sudo mkfontscalesudo mkfontdirsudo fc-cache-f-v
接著注銷ubuntu,再次登錄就可以使用該go字體了。
3、安裝有道字典
安裝有道詞典的1.0.2版本,據(jù)說1.1.0版本有依賴問題。暫時不要挑戰(zhàn)了。
zero@zero:/media/zero/Myself/Ubuntu1604$ sudo dpkg-iyoudao-dict_1.0.2~ubuntu_amd64.deb? ? 正在選中未選擇的軟件包 youdao-dict。(正在讀取數(shù)據(jù)庫 ... 系統(tǒng)當前共安裝有 218440 個文件和目錄。)正準備解包 youdao-dict_1.0.2~ubuntu_amd64.deb? ...? ? 正在解包 youdao-dict(1.0.2~ubuntu)...? ? dpkg: 依賴關(guān)系問題使得 youdao-dict 的配置工作不能繼續(xù):? ? ? youdao-dict 依賴于 python3-pyqt5;然而:? ? ? 未安裝軟件包 python3-pyqt5。? ? ? youdao-dict 依賴于 python3-xlib;然而:? ? ? 未安裝軟件包 python3-xlib。? ? ? youdao-dict 依賴于 tesseract-ocr;然而:? ? ? 未安裝軟件包 tesseract-ocr。? ? ? youdao-dict 依賴于 tesseract-ocr-eng;然而:? ? ? 未安裝軟件包 tesseract-ocr-eng。? ? ? youdao-dict 依賴于 tesseract-ocr-chi-sim;然而:? ? ? 未安裝軟件包 tesseract-ocr-chi-sim。? ? ? youdao-dict 依賴于 tesseract-ocr-chi-tra;然而:? ? ? 未安裝軟件包 tesseract-ocr-chi-tra。? ? ? youdao-dict 依賴于 ttf-wqy-microhei;然而:? ? ? 未安裝軟件包 ttf-wqy-microhei。? ? ? youdao-dict 依賴于 python3-pyqt5.qtmultimedia;然而:? ? ? 未安裝軟件包 python3-pyqt5.qtmultimedia。? ? ? youdao-dict 依賴于 python3-pyqt5.qtquick;然而:? ? ? 未安裝軟件包 python3-pyqt5.qtquick。? ? ? youdao-dict 依賴于 python3-pyqt5.qtwebkit;然而:? ? ? 未安裝軟件包 python3? ? dpkg: 處理軟件包 youdao-dict(--install)時出錯:? ? ? 依賴關(guān)系問題 - 仍未被配置? ? 正在處理用于 hicolor-icon-theme(0.15-0ubuntu1)的觸發(fā)器 ...? ? 正在處理用于 gnome-menus(3.13.3-6ubuntu3.1)的觸發(fā)器 ...? ? 正在處理用于 desktop-file-utils(0.22-1ubuntu5.1)的觸發(fā)器 ...? ? 正在處理用于 bamfdaemon(0.5.3~bzr0+16.04.20160824-0ubuntu1)的觸發(fā)器 ...? ? Rebuilding /usr/share/applications/bamf-2.index...? ? 正在處理用于 mime-support(3.59ubuntu1)的觸發(fā)器 ...? ? 在處理時有錯誤發(fā)生:? ? ? youdao-dict? zero@zero:/media/zero/Myself/Ubuntu1604$ sudo apt-get install python3-pyqt5? 正在讀取軟件包列表... 完成? 正在分析軟件包的依賴關(guān)系樹? 正在讀取狀態(tài)信息... 完成? 您可能需要運行“apt-get-finstall”來糾正下列錯誤:? 下列軟件包有未滿足的依賴關(guān)系:? python3-pyqt5 : 依賴: libqt5designer5(>=5.0.2)但是它將不會被安裝? ? ? ? ? ? ? ? ? 依賴: libqt5help5(>=5.3.0)但是它將不會被安裝? ? ? ? ? ? ? ? ? 依賴: sip-py3api-11.2? youdao-dict : 依賴: python3-xlib 但是它將不會被安裝? ? ? ? ? ? ? ? 依賴: tesseract-ocr 但是它將不會被安裝? ? ? ? ? ? ? ? 依賴: tesseract-ocr-eng 但是它將不會被安裝? ? ? ? ? ? ? ? 依賴: tesseract-ocr-chi-sim 但是它將不會被安裝? ? ? ? ? ? ? ? 依賴: tesseract-ocr-chi-tra 但是它將不會被安裝? ? ? ? ? ? ? ? 依賴: ttf-wqy-microhei? ? ? ? ? ? ? ? 依賴: python3-pyqt5.qtmultimedia 但是它將不會被安裝? ? ? ? ? ? ? ? 依賴: python3-pyqt5.qtquick 但是它將不會被安裝? ? ? ? ? ? ? ? 依賴: python3-pyqt5.qtwebkit 但是它將不會被安裝? ? ? ? ? ? ? ? 依賴: qtdeclarative5-controls-plugin 但是它將不會被安裝? E: 有未能滿足的依賴關(guān)系。請嘗試不指明軟件包的名字來運行“apt-get-finstall”(也可以指定一個解決辦法)。? zero@zero:/media/zero/Myself/Ubuntu1604$ sudo apt-get-finstall? 正在讀取軟件包列表... 完成? 正在分析軟件包的依賴關(guān)系樹? 正在讀取狀態(tài)信息... 完成? 正在修復依賴關(guān)系... 完成? 將會同時安裝下列軟件:? ? fonts-wqy-microhei liblept5 libopenjp2-7 libqt5clucene5 libqt5designer5? ? libqt5help5 libqt5multimediawidgets5 libtesseract3 python3-pyqt5? ? python3-pyqt5.qtmultimedia python3-pyqt5.qtquick python3-pyqt5.qtwebkit? ? python3-sip python3-xlib qml-module-qtquick-controls? ? qtdeclarative5-controls-plugin tesseract-ocr tesseract-ocr-chi-sim? ? tesseract-ocr-chi-tra tesseract-ocr-eng tesseract-ocr-equ tesseract-ocr-osd? ? ttf-wqy-microhei? 建議安裝:? ? python3-pyqt5-dbg? 下列【新】軟件包將被安裝:? ? fonts-wqy-microhei liblept5 libopenjp2-7 libqt5clucene5 libqt5designer5? ? libqt5help5 libqt5multimediawidgets5 libtesseract3 python3-pyqt5? ? python3-pyqt5.qtmultimedia python3-pyqt5.qtquick python3-pyqt5.qtwebkit? ? python3-sip python3-xlib qml-module-qtquick-controls? ? qtdeclarative5-controls-plugin tesseract-ocr tesseract-ocr-chi-sim? ? tesseract-ocr-chi-tra tesseract-ocr-eng tesseract-ocr-equ tesseract-ocr-osd? ? ttf-wqy-microhei? 升級了 0 個軟件包,新安裝了 23 個軟件包,要卸載 0 個軟件包,有 1 個軟件包未被升級。? 有 1 個軟件包沒有被完全安裝或卸載。? 需要下載 55.1 MB 的歸檔。? 解壓縮后會消耗 191 MB 的額外空間。? 您希望繼續(xù)執(zhí)行嗎?[Y/n] y
4、安裝輸入法
4.1、搜狗輸入發(fā)
參照Ubuntu 16.04安裝sogou 拼音輸入法和Ubuntu16.04常用軟件
下載搜狗輸入法
$ cd download/$ sudo dpkg-isogoupinyin_2.1.0.0082_amd64.deb$ sudo apt-get install-f$ sudo dpkg-isogoupinyin_2.1.0.0082_amd64.deb
5、安裝播放器
5.1、網(wǎng)易云音樂
$ cd download/$ sudo dpkg-inetease-cloud-music_1.1.0_amd64_ubuntu.deb$ sudo apt-get install-f$ sudo dpkg-inetease-cloud-music_1.1.0_amd64_ubuntu.deb
6、安裝開發(fā)工具
tar jxvf liteidex32.1.linux64-qt4.tar.bz2cd liteide? ? 編輯liteide.desktop,根據(jù)自己的路徑修改exec和icon配置? ? 然后拷貝該配置到$HOME/.local/share/applications下cd$HOME/liteide/bin/? ? 啟動liteide? ? 并鎖定到啟動器上即可。
# optional, but recommendedsudo apt-key adv--keyserverkeyserver.ubuntu.com--recv-keysBA300B7755AFCFAE# add Typora's repositorysudo add-apt-repository'deb http://typora.io linux/'sudo apt-get update# install typorasudo apt-get install typora
sudo add-apt-repository ppa:webupd8team/atomsudo apt-get updatesudo apt-get install atom
7、安裝xmind
8、安裝FoxitReader
9、安裝WPS
下載WPS軟件包
下載WPS依賴的字體(違刪)
安裝字體方法參照安裝gofont操作
10、圖形軟件
10.1、畫圖工具
10.1.1、Dia
在軟件倉庫里找dia或者使用:
sudo apt-get install dia
Dia是基于GTK的開源流程圖軟件,適用于Linux, Unix和Windows,以 GPL 許可發(fā)布。一個10MB量級的免費軟件,代替visio基本沒問題。發(fā)現(xiàn)直接在dia中無法用fcitx輸入中文
解決辦法:
<1>在命令行中用:dia-normal來運行dia,而不要用默認的dia來運行。這樣就可以輸入中文啦,不過問題就是toolbar會獨立出來。
<2> 修改dia的啟動指令
打開軟件后發(fā)現(xiàn)不能輸入中文,網(wǎng)上搜索一圈后找到以下解決方案
sudo vim /usr/bin/dia
然后把
dia-normal --integrated "$@"
修改成
dia-normal? "$@"
重新啟動dia,輸入法選擇系統(tǒng)默認(我的系統(tǒng)輸入法是搜狗輸入法(fcitx)),就可以輸入中文了。 不過這樣一改,工具條變成浮動的了。
10.1.2、kolourpaint
sudo apt-get install? kolourpaint4
10.1.3、shutter
sudo apt-get install shutter
10.1.4、StarUML
下載StarUML:
官網(wǎng)地址libgcrypt11_1.5.3-2ubuntu4.4_amd64.deb
安裝StarUML:
下載并安裝依賴庫libgcrypt11_1.5.3-2ubuntu4.4_amd64.deb
zero@zero ~/Downloads>sudo dpkg-ilibgcrypt11_1.5.3-2ubuntu4.4_amd64.deb
安裝StarUML
zero@zero ~/Downloads>sudo dpkg-iStarUML-v2.8.0-64-bit.deb
11、掛載其他磁盤
11.1、查看其他磁盤卷
zero@zero:~$ sudo fdisk-l[sudo]zero 的密碼:Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectorsUnits: sectors of 1*512=512 bytesSector size(logical/physical): 512 bytes / 512 bytesI/O size(minimum/optimal): 512 bytes / 512 bytesDisklabeltype: dosDisk identifier: 0xe159e159設(shè)備? ? ? 啟動? ? Start? ? 末尾? ? 扇區(qū)? Size Id 類型/dev/sda1*206848 102606847 102400000? 48.8G? 7 HPFS/NTFS/exFAT/dev/sda2? ? ? 102608894 205006847 102397954? 48.8G? 5 擴展/dev/sda3? ? ? 205006848 488394751 283387904 135.1G? 7 HPFS/NTFS/exFAT/dev/sda5? ? ? 102608896 110606335? 7997440? 3.8G 82 Linux 交換 / Solaris/dev/sda6? ? ? 110608384 205006847? 94398464? ? 45G 83 LinuxPartition table entries are notin disk order.
11.2、掛載操作
識別出來哪個是自己的盤符,然后創(chuàng)建自己可以識別的名稱,然后進行掛載操作即可。
zero@zero:~$ sudo mkdir /mnt/Czero@zero:~$ sudo mount-tntfs /dev/sda1 /mnt/C-oiocharset=utf8,umask=0zero@zero:~$ sudo mkdir /mnt/Ezero@zero:~$ sudo mount-tntfs /dev/sda3 /mnt/E-oiocharset=utf8,umask=0
11.3、持久化,寫入系統(tǒng)配置中
掛載磁盤的位置在:/etc/fstab
zero@zero:~$ cat/etc/fstab# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point>? <type>? <options>? ? ? <dump>? <pass># / was on /dev/sda6 during installationUUID=6acca2e8-0890-409d-b742-52b3ebac2050 /? ? ? ? ? ? ? ext4errors=remount-ro 0? ? ? 1# swap was on /dev/sda5 during installationUUID=16bc804c-af93-49da-820e-269c7a09d945 none? ? ? ? ? ? swap? ? sw? ? ? ? ? ? ? 0? ? ? 0
加入我們的指令:
zero@zero:~$ cat/etc/fstab# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point>? <type>? <options>? ? ? <dump>? <pass># / was on /dev/sda6 during installationUUID=6acca2e8-0890-409d-b742-52b3ebac2050 /? ? ? ? ? ? ? ext4errors=remount-ro 0? ? ? 1# swap was on /dev/sda5 during installationUUID=16bc804c-af93-49da-820e-269c7a09d945 none? ? ? ? ? ? swap? ? sw? ? ? ? ? ? ? 0? ? ? 0# mount -t ntfs /dev/sda1 /mnt/C -o iocharset=utf8,umask=0/dev/sda1 /mnt/C ntfs utf8,umask=0# mount -t ntfs /dev/sda3 /mnt/E -o iocharset=utf8,umask=0/dev/sda3 /mnt/E ntfs utf8,umask=0
12、安裝mac主題
添加macbuntu資源
$sudo add-apt-repository ppa:noobslab/macbuntu
安裝mac窗口主題
$sudo apt-get install? macbuntu-os-ithemes-lts-v7
安裝mac圖標主題
$sudo apt-get install? macbuntu-os-icons-lts-v7
若想卸載,卸載指令
cd /usr/share/icons/mac-cursors && sudo ./uninstall-mac-cursors.sh
sudo apt-get remove macbuntu-os-icons-lts-v7 macbuntu-os-ithemes-lts-v7
安裝 Slingscold(替代Launchpad)
sudo add-apt-repository ppa:noobslab/macbuntu
sudo apt-get update
sudo apt-get install slingscold
安裝Albert Spotlight (替代 Mac Spotlight)
sudo add-apt-repository ppa:noobslab/macbuntu
sudo apt-get update
sudo apt-get install albert
安裝 Plank Dock
sudo apt-get install plank
安裝 Plank 主題:
sudo add-apt-repository ppa:noobslab/macbuntu
sudo apt-get update
sudo apt-get install macbuntu-os-plank-theme-lts-v7
安裝 Ctrl + Right Click 選擇主題。
卸載主題命令:
sudo apt-get autoremove plank macbuntu-os-plank-theme-lts-v7
將面板上的 ‘Ubuntu Desktop’ 文字替換 ‘Mac’
cd && wget -O Mac.po http://drive.noobslab.com/data/Mac/change-name-on-panel/mac.po
cd /usr/share/locale/en/LC_MESSAGES; sudo msgfmt -o unity.mo ~/Mac.po;rm ~/Mac.po;cd
語言上如果是其他非英語語言,將 /en 做相應修改:
恢復原來的桌面文字命令:
cd && wget -O Ubuntu.po http://drive.noobslab.com/data/Mac/change-name-on-panel/ubuntu.po
cd /usr/share/locale/en/LC_MESSAGES; sudo msgfmt -o unity.mo ~/Ubuntu.po;rm ~/Ubuntu.po;cd
啟動器上蘋果Logo
命令:
wget -O launcher_bfb.png http://drive.noobslab.com/data/Mac/launcher-logo/apple/launcher_bfb.png
sudo mv launcher_bfb.png /usr/share/unity/icons/
恢復圖標:
wget -O launcher_bfb.png http://drive.noobslab.com/data/Mac/launcher-logo/ubuntu/launcher_bfb.png
sudo mv launcher_bfb.png /usr/share/unity/icons/
安裝unity-tweak-tools配置主題工具
$sudo apt-get install? unity-tweak-tools
$sudo apt-get install gnome-tweak-tool
配置 Mac 字體:
安裝字體命令:
wget -O mac-fonts.zip http://drive.noobslab.com/data/Mac/macfonts.zip
sudo unzip mac-fonts.zip -d /usr/share/fonts; rm mac-fonts.zip
sudo fc-cache -f -v
使用 Unity-Tweak-Tool, Gnome-Tweak-Tool 或 Ubuntu Tweak 軟件更換字體。
修改啟動界面:
sudo add-apt-repository ppa:noobslab/themes
sudo apt-get update
sudo apt-get install macbuntu-os-bscreen-lts-v7
如果你喜歡 MBuntu 啟動界面,你想恢復到 Ubuntu ,使用命令:
sudo apt-get autoremove macbuntu-os-bscreen-lts-v7
登陸迎賓界面:
安裝命令:
注意安裝這個東東有風險,如果你不是在意,建議不安裝,安裝這個僅僅適合于 Ubuntu Unity – Lightdm 和 Ubuntu Gnome – gdm,其他桌面環(huán)境有風險。
sudo add-apt-repository ppa:noobslab/themes
sudo apt-get update
sudo apt-get install macbuntu-os-lightdm-lts-v7
卸載恢復命令:
sudo apt-get remove macbuntu-os-lightdm-lts-v7
90、其他操作
90.1、軟件卸載
卸載ubutnu自帶的vi
sudo apt-get remove vim-common
自動卸載一些軟件包,比如內(nèi)核模塊
sudo apt autoremove
90.2、通訊工具
90.3、其他鏈接
Ubuntu 16.04 LTS安裝好需要設(shè)置的15件事
Ubuntu 安裝terminator 后更改默認終端設(shè)置
$ sudo apt-get install terminator$ sudo apt-get install dconf-tools若想換回terminalexec? gnome-terminal? ? exec-arg-x否則:exec? x-terminal-emulator? ? exec-arg-e