From: Peng Li Date: Mon, 2 Jan 2017 03:34:43 +0000 (+0800) Subject: add linux note file X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=08a5998a825af75efddf61e7705f96228c13a3f4;p=blog.git add linux note file --- diff --git a/My-work-flow-with-tmux-vim-zsh-iterm.org b/My-work-flow-with-tmux-vim-zsh-iterm.org index 85a35c4..2a60710 100644 --- a/My-work-flow-with-tmux-vim-zsh-iterm.org +++ b/My-work-flow-with-tmux-vim-zsh-iterm.org @@ -6,6 +6,7 @@ My most work is on Mac OSX platform. Here are some of my efficient tools when coding. iTerm2 + Zsh + Tmux + Vim * iTem2 +The default terminal tool on Mac is Terminal.app, but [[https://www.iterm2.com/][iTerm2]] has much more enhancement features. * Zsh diff --git a/linux-note.org b/linux-note.org new file mode 100644 index 0000000..65edfe4 --- /dev/null +++ b/linux-note.org @@ -0,0 +1,34 @@ +#+TITLE: Note of Linux (Debian) +#+AUTHOR: Peng Li +#+EMAIL: seudut@gmail.com +#+DATE: 2016-12-23 + +* Install and Environment +** Install ios in virtual box +** install essential softwares +*** Change the sourece.list +163 mirrors +#+BEGIN_EXAMPLE + deb http://mirrors.163.com/debian stable main non-free contrib + deb-src http://mirrors.163.com/debian stable main non-free contrib +#+END_EXAMPLE +*** Install essential packages +- ~netselect-apt~ + Find the fastest apt mirror server +- vim +- sudo + Add user to sudo group or change the =/etc/sudoers= to use =sudo= command + #+BEGIN_SRC sh :results output replace + sudo adduser sudo + #+END_SRC +- git, openssh-server, emacs, build-essential, tmux, zsh + +*** Build Emacs from source +1. gnutls error, to fix, install =gnutls-dev= and =pkg-config= + + +* Issue +1. See the router table on mac +#+BEGIN_SRC sh :results output replace + netstat -nr +#+END_SRC