不知道第幾次重裝Ubuntu了驶社,每次都記不住好多配置砌烁,所以決定記錄一下Ubuntu的配置過程秒梳,給自己一個(gè)記錄吧梆砸。順便用簡書練練markdown
本次安裝為 Ubuntu17.10
安裝完成之后
首先首先 --安裝 VMtools
然后,你就能將本機(jī)的內(nèi)容通過剪貼板放到虛擬機(jī)里面了
然后就是更新源佩抹,Ubuntu自帶的源是真的慢叼风,但是為了以防萬一,先將本來的源文件做好備份
sudo cp /etc/apt/sources.list ~/sources.list.bak
然后
sudo geidt /etc/apt/sources.list
然后將網(wǎng)上找到的源復(fù)制粘貼進(jìn)去
貼一個(gè) 2018.4.10 時(shí)使用的源
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.aliyun.com/ubuntu/ artful-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.aliyun.com/ubuntu/ artful universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty universe
deb http://mirrors.aliyun.com/ubuntu/ artful-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ zesty-updates universe
接下來 apt-get update
進(jìn)行系統(tǒng)更新
需要一些時(shí)間棍苹,為了提高效率无宿,在這個(gè)時(shí)候我們打開另外一個(gè)終端來進(jìn)行操作
1.適合自己的才是最好的,所以有選擇的進(jìn)行安裝
https://blog.csdn.net/skykingf/article/details/45267517
首先枢里,把系統(tǒng)弄干凈孽鸡,因?yàn)閁buntu不像kali那樣,有很多需要用到的東西坡垫,真要用的時(shí)候可以再裝
修改root密碼
安裝完成之后我們有了一個(gè)用戶梭灿,但是root是沒有的画侣,相當(dāng)于我們要激活root 就是給它增加密碼
sudo passwd root
然后輸入密碼冰悠,確定,就完成了root的激活
sudo apt-get remove libreoffice-common 刪除libreoffice
sudo apt-get remove unity-webapps-common\\刪除Amazon
刪除一堆雜七雜八的東西
sudo apt-get remove thunderbird totem rhythmbox empathy brasero simple-scan gnome-mahjongg aisleriot gnome-mines cheese transmission-common gnome-orca webbrowser-app gnome-sudoku landscape-client-ui-install
然后呢配乱,為了體驗(yàn)極致的編程溉卓,我特意下載了vim
sudo apt-get install vim
設(shè)置中文man手冊
man 命令可以查看命令的使用方式,對Ubuntu的使用有很大的幫助
先下載中文的man手冊
sudo apt-get install manpages-zh
manpath.config設(shè)置
sudo vim /etc/manpath.config
將所有的 /usr/share/man
修改為 /usr/share/man/zh_CN
搞定搬泥,試一下 man ls
真是全新的體驗(yàn) 嘻嘻嘻嘻
安裝中文輸入法
這個(gè)嘛桑寨,貼圖好麻煩,百度經(jīng)驗(yàn)的挺不錯(cuò)忿檩。需要注意的一個(gè)點(diǎn)是尉尾,如果你安裝的不是中文版本,那你就需要在 區(qū)域和語言 中install中文 然后再按他的步驟做就歐克了
安裝gnome原生環(huán)境
好吧燥透,這個(gè)完全就是為了好(zhuang)看(bi)
安裝原生的 gnome session 沙咏, 裝完之后辨图, 會在登錄界面的選項(xiàng)中多一個(gè) GNOME 選項(xiàng):
sudo apt install gnome-session
安裝 GNOME 的常用軟件 map 、 weather 肢藐、 music 故河、 photos、 web 等:
sudo apt install gnome-maps gnome-weather gnome-music gnome-photos epiphany-browser
原生 GNOME 桌面背景吆豹, 這個(gè)可是必不可少的:
sudo apt install gnome-backgrounds
恢復(fù)原生 gdm 登錄界面:
sudo update-alternatives --config gdm3.css
然后選擇第二個(gè) gnome-shell.css 鱼的, 輸入 1