欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Debian10 设置

程序员文章站 2022-07-03 23:20:14
...

1. 网卡设置为 eth 方式

选择开始安装前,按 tab 键,内核参数增加

biosdevname=0 net.ifnames=0

2. vi 不能使用方向键和退格键

在 /etc/vim/vimrc.tiny,添加以下两行:

set nocompatible
set backspace=2

3. root 支持颜色设置

在 /root/.bashrc 取消一下行注释

# You may uncomment the following lines if you want `ls' to be colorized:
export LS_OPTIONS='--color=auto'
eval "`dircolors`"
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -lA'

# Some more alias to avoid making mistakes:
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

4. 修改 grub 文件

修改 /etc/default/grub
完成后更新

[email protected]:~# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.19.0-13-amd64
Found initrd image: /boot/initrd.img-4.19.0-13-amd64
done

5. 修改 sh 默认为 bash

dpkg-reconfigure dash

然后选择 no

相关标签: Linux