按照前面一篇文章使用VMware Workstation Player 15安裝Ubuntu 18.04虛擬機安裝好Ubuntu 18.04
,接下來我們通過三個步驟讓這個系統更好用一些:
更換國內阿里源
使用Ubuntu
官方更新源軟件和系統實在是太慢了,換成國內的源就會好很多,我們這裏換成阿里源:
$ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
把/etc/apt/sources.list
文件內容替換爲如下條目:
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
然後執行如下命令更新源和系統軟件包:
sudo apt update
sudo apt upgrade
安裝Chrome
瀏覽器
打開火狐瀏覽器(安裝好了Chrome
我們就會把它拋棄),前往Chrome瀏覽器官網下載最新Ubuntu
版本的瀏覽器,請選擇Debian/Ubuntu
版本:
接下來請選擇默認的Software Install
方式,這樣就會自動打開Ubuntu Software
來安裝Chrome
:
在Ubuntu Software
確認安裝(需要輸入用戶密碼):
安裝結束後,我們就可以在左下角的Show Applications
裏面看到新安裝的Chrome
:
安裝Sogou
輸入法
打開Chrome
瀏覽器,前往搜狗輸入法 for linux下載64
位版本:
下載完成後點擊安裝包安裝:
之後會自動進入Ubuntu Software
,確認安裝(需要輸入用戶密碼):
安裝成功後,在輸入設置裏面選擇fctix:
接着重啓系統:
重啓後就可以看到右上角多了一個鍵盤設置,點擊Configure
:
對話框點左下+
按鈕:
反選Only Show Current Language
,搜索框輸入sogou
,選中點擊OK
:
至此Sogou
輸入法就可以使用了,我們可以把該輸入法移動到首位置:
安裝Vim IDE
開發環境
更進一步,如果你使用Vim
編輯器,請參考我之前寫的文章搭建一個IDE
開發環境吧:
使用Vim 8.0搭建遠程服務器端IDE(一)
使用Vim 8.0搭建遠程服務器端IDE(二)
使用Vim 8.0搭建遠程服務器端IDE(三)
使用Vim 8.0搭建遠程服務器端IDE(四)
使用Vim 8.0搭建遠程服務器端IDE(五)-完結篇