debian init

1  bash_completion

默認是沒有bash 自動補齊的,好比apt-get install  後面是不會自動補齊的,這個在ubuntu裏面是有的,debian 裏面默認沒有開啓ubuntu

開啓方法是 vim

vim ~/.bashrcbash

. /etc/bash_completionssh

source ~/.bashrc編輯器

 

2 ssh 鏈接慢

vim /etc/ssh/sshd_configdns

UseDNS no文檔

默認要解析dns ,因此每次連都很慢。get

 

3 vim 沒有顏色

 vi /etc/vim/vimrc  it

syntax on  便可io

 

4 郵件不發外網

dpkg-reconfigure exim4-config

選擇internet ,不然不會發到外網去。

 

5 visudo 默認會調用nano

不習慣nano ,喜歡用vim ,能夠 update-alternatives --config editor  來選擇要使用的編輯器。

There are 4 choices for the alternative editor (providing /usr/bin/editor).

  Selection    Path                Priority   Status
------------------------------------------------------------
* 0            /bin/nano            40        auto mode
  1            /bin/nano            40        manual mode
  2            /usr/bin/vim.basic   30        manual mode
  3            /usr/bin/vim.nox     40        manual mode
  4            /usr/bin/vim.tiny    10        manual mode

好比個人機器裏有5種選擇。

 

6 不錯的文檔

http://debian-handbook.info/browse/stable/

https://www.debian.org/doc/manuals/debian-reference/

 

不斷補充中。。

相關文章
相關標籤/搜索