仮想マシン取り付けUbuntu 16.04ピットまとめ
ディレクトリ:
ps:
2.wmware toolsをインストールできません.解決方法
3.アプリとpipを変えて国内のダウンロード元にする aptソース: アリソース: pip変換元: 4.一般ツールのダウンロード
n.vim/tmux配置のバックアップ
vim構成
1. ubuntu iso
2. wmware tools
3. apt pip
4. , /chrome
…n. vim,tmux
1.iso鏡像ダウンロード
:アリソース:http://mirrors.aliyun.com/ubuntu-releases/網易ソース:http://mirrors.163.com/ubuntu-releases/ps:
MacOS
下のVMware Fusion
セットのuuntu 18.04は起動start waited until snap is fully seeded
無限の黒スクリーンのピットに遭遇しました.ずっと解決していません.2.wmware toolsをインストールできません.解決方法
:
はVMware設定>>CD/DVDを開いて、linux.isoファイルをマウントすることを選択して、続いてuuntuはvmware toolsフォルダが現れます. :
https://www.cnblogs.com/TM0831/p/11788018.html :
macOSでvmwareのインストールディレクトリは、「アプリケーション」でvmware選択" "
を右クリックする必要があります.3.アプリとpipを変えて国内のダウンロード元にする
sudo vi /etc/apt/source.list
deb http://mirrors.aliyun.com/ubuntu/ xenial main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main
deb http://mirrors.aliyun.com/ubuntu/ xenial universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security universe
網易ソース:deb http://mirrors.163.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ xenial-proposed main restricted universe multiverse
apt-get install git
apt-get install curl
apt-get install vim //
apt-get install tmux // terminal
apt-get install build-essential // gcc/g++
apt-get install pip // py
...
:n.vim/tmux配置のバックアップ
vim構成
.vimrc
if has("syntax")
syntax on
endif
" If using a dark background within the editing area and syntax highlighting
" turn on this option as well
set background=dark
" Uncomment the following to have Vim jump to the last position when
" reopening a file
if has("autocmd")
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
endif
" Uncomment the following to have Vim load indentation rules and plugins
" according to the detected filetype.
if has("autocmd")
filetype plugin indent on
endif
" The following are commented out as they cause vim to behave a lot
" differently from regular Vi. They are highly recommended though.
"set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
set ignorecase " Do case insensitive matching
set smartcase " Do smart case matching
set incsearch " Incremental search
"set autowrite " Automatically save before commands like :next and :make
set hidden " Hide buffers when they are abandoned
"set mouse=a " Enable mouse usage (all modes)
setlocal noswapfile " swap
set bufhidden=hide " buffer
set number "
set cursorline "
set ruler "
set shiftwidth=4 " << >> 4
set softtabstop=4 " 4
"set tabstop=4 " tab 4
set nobackup "
set autochdir "
set backupcopy=yes "
set matchtime=2 "
set smartindent "
set backspace=indent,eol,start " Delete
set cmdheight=1 " 1
set laststatus=2 " ( 1, )
set statusline=\ %<%F[%1*%M%*%n%R%H]%=\ %y\ %0(%{&fileformat}\ %{&encoding}\ Ln\ %l,\ Col\ %c/%L%) "
set foldenable "
"set foldmethod=syntax "
set foldcolumn=0 "
setlocal foldlevel=1 " 1
au BufWinLeave * silent mkview
au BufWinEnter * silent loadview
set nu
colorscheme koehler
"colorscheme desert
syntax on
" Source a global configuration file if available
if filereadable("/etc/vim/vimrc.local")
source /etc/vim/vimrc.local
endif
tmux構成.tmux.conf
# ctrl+b ctrl+a
unbind C-b
set -g prefix C-a
# ctrl+
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# vi
setw -g mode-keys vi