修改机器名
vi /etc/hostname
hostname NewName
vi /etc/hosts
安装升级包
apt update
apt upgrade
修改.bashrc
export PS1="\[\e[37;40m\][\[\e[32;40m\]\u\[\e[37;40m\]@\h \[\e[31;40m\]\t \[\e[35;40m\]\w\[\e[0m\]]\$ "
增加backports源
/etc/apt/sources.list.d/backport.list
deb http://mirrors.cloud.tencent.com/debian/ buster-backports main non-free contrib
系统自动更新
apt install unattended-upgrades
dpkg-reconfigure -plow unattended-upgrades
安装backports源软件包
apt install -t buster-backports
Written with StackEdit.
Comments