国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Ubuntu > 正文

Ubuntu15.04安裝不完全指南

2024-06-28 13:19:54
字體:
來源:轉載
供稿:網友
Ubuntu15.04安裝不完全指南

0x00. 燒盤

使用UltraISO(破解版)燒錄到U盤里,設置電腦從U盤啟動,即可安裝。

安裝時可能出現not COM32R image的命令行,“boot:” 后面直接輸入live即可解決問題。

0x01. 順序結構安裝

這步不用多講,就按順序安裝就行。

0x02. 更新

1 sudo apt-get update2 sudo apt-get upgrade

系統安裝完需要更新,這兩行命令提供系統更新。有人估計會說要更換源,公司網速可以的話,也沒必要。

0x03. aptitude

1 sudo apt-get install aptitude

aptitude包管理器,系統默認的是apt包管理器,aptitude在刪除一個包時,會刪除其依賴包,這樣系統不會殘留無用的包,使系統更加干凈。

0x04. git

1 sudo apt-get install git

這樣就安裝了git。

0x05. Vim

打開Terminal。Ubuntu 15.04自帶了solarized主題。可以在偏好里設置。

一個沒有插件的Vim就好像失去了活力的孩子。

在用戶主目錄下新建文件:.vimrc,需要在里面手動配置自己的vim,我的.vimrc如下:

  1 "Use vundle to manage plugin, required turn file type off and nocompatible  2 filetype off  3 set nocompatible  4 set rtp+=~/.vim/bundle/vundle  5 call vundle#rc()  6 "Let vundle manage vundle, required  7 Bundle 'gmarik/vundle'  8 "My bundles here:  9 Bundle 'altercation/vim-colors-solarized' 10 Bundle 'taglist.vim' 11 Bundle 'The-NERD-tree' 12 Bundle 'a.vim' 13 Bundle 'c.vim' 14 Bundle 'python.vim' 15 Bundle 'Lokaltog/vim-powerline' 16 Bundle 'OmniCppComplete' 17 "Brief help of vundle 18     ":BundleList 19     ":BundleInstall 20     ":BundleSearch 21     ":BundleClean 22     ":help vundle 23 "End brief help 24  25 "Show line number, command, status line and so on 26 set history=1000 27 set ruler 28 set number 29 set showcmd 30 set showmode 31 set laststatus=2 32 set cmdheight=2 33 set scrolloff=3 34  35 "Fill space between windows 36 set fillchars=stl:/ ,stlnc:/ ,vert:/ 37  38 "Turn off annoying error sound 39 set noerrorbells 40 set novisualbell 41 set t_vb= 42  43 "Turn off splash screen 44 set shortmess=atI 45  46 "syntax and theme 47 syntax enable 48 colorscheme solarized 49 set background=dark 50 set cursorline 51 set cursorcolumn 52  53 "Configure backspace to be able to across two lines 54 set backspace=2 55 set whichwrap+=<,>,h,l 56  57 "Tab and indent 58 set expandtab 59 set smarttab 60 set shiftwidth=4 61 set tabstop=4 62 set autoindent 63 set cindent 64  65 "Files, backups and encoding 66 set nobackup 67 set noswapfile 68 set autoread 69 set autowrite 70 set autochdir 71 set fileencoding=utf-8 72 set fileformats=unix,dos,mac 73 filetype plugin on 74 filetype indent on 75  76 "Text search and repalce 77 set showmatch 78 set matchtime=2 79 set hlsearch  80 set incsearch  81 set ignorecase  82 set smartcase 83 set magic 84 set lazyredraw 85 set nowrapscan 86 set iskeyWord+=_,$,@,%,#,-,. 87  88 "powerline 89 let g:Powerline_sysmbols='fancy' 90 set t_Co=256 91 let Powerline_symbols='compatible' 92 set laststatus=2 93 set encoding=utf-8 94  95 "Gvim config 96 if has("gui_running") 97     colorscheme solarized 98 endif 99 set guifont=DejaVu/ Sans/ Mono/ 15100 set guioptions=aegic

這個文件參考了京山游俠的博客,感謝~

9~16行是我安裝的幾個基本插件。

效果如下:

0x06. oh-my-zsh

看到上面的Powerline效果很炫,shell也能這么炫酷么?當然可以。

這里我們只要安裝oh-my-zsh即可。

首先得安裝zsh,系統默認的是bash shell

1 sudo apt-get install zsh

上面一行的代碼安裝了zsh。

1 cat /etc/shells 2 # /etc/shells: valid login shells3 /bin/sh4 /bin/dash5 /bin/bash6 /bin/rbash7 /bin/zsh8 /usr/bin/zsh

查看發現zsh已經安裝。接下來要將zsh設置為默認shell。

1 chsh -s /bin/zsh

此即更改了當前的shell,但不會立即生效,需要reboot計算機。

重啟之后,我們按照oh-my-zsh主頁的安裝方式進行安裝:

curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh

或者

wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O - | sh

成功安裝oh-my-zsh之后,用vim打開.zshrc文件。

修改ZSH——THEME參數的值即可修改zsh主題,如ZSH_THEME="agnoster"即可在Terminal中顯示Powerline效果,如下:

當然,可能有些同學發現箭頭顯示不了,打上字體補丁就OK了,Powerline的作者給出了詳細的解決方案,鏈接如下:https://powerline.readthedocs.org/en/latest/installation/linux.html#installation-on-linux,當然,你也可以去Powerline的github主頁尋找相關的信息。

0x07. Numix

擁有Numix主題的Ubuntu系統就像穿了鮮艷服裝的小朋友。

從github進入NumixPRoject項目主頁。

1 sudo add-apt-repository ppa:numix/ppa2 sudo apt-get update3 sudo apt-get install numix-icon-theme-circle

這3行語句即可安裝Numix主題。可是發現系統并沒有什么改變。

0x08. unity-tweak-tool

當然,我們需要用unity-tweak-tool來切換主題。

1 sudo apt-get install unity-tweak-tool

首先安裝unity-tweak-tool。

切換后效果如下:

0x09. fcitx && Flashplugin-installer

輸入法是安裝的fcitx。flsah插件也是要安裝的。

0x0A. Browser

最后來說一下瀏覽器。

其實瀏覽器最大的一個問題是FQ。

我平時喜歡用紅杏。無奈Ubuntu默認的瀏覽器是Firefox。

那就選擇安裝Chromium瀏覽器,在Extension里打開開發者模式。

即可添加紅杏插件,登錄即可使用。

最后,附上我的紅杏邀請,接受我的邀請并開通服務的同學,你和我都將獲得10天的優惠。(小伙伴們快來快來~~~)

附換上壁紙后整體效果:


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 抚顺县| 增城市| 漾濞| 夏河县| 大洼县| 即墨市| 石渠县| 东丽区| 揭西县| 黄陵县| 叙永县| 玛曲县| 广丰县| 土默特左旗| 太原市| 新乡市| 尉氏县| 芜湖市| 穆棱市| 康平县| 肥西县| 柞水县| 新巴尔虎右旗| 略阳县| 平南县| 罗田县| 会昌县| 八宿县| 蕲春县| 新邵县| 房产| 黄陵县| 宁安市| 万安县| 旌德县| 德江县| 上蔡县| 商城县| 高州市| 丹巴县| 汨罗市|