Debian 下安装 Mongodb
https://www.rezhuji.com/os/debian11/build/how_to_use_apt_install_mongodb_6_on_debian11.html
...小于 1 分钟
https://www.rezhuji.com/os/debian11/build/how_to_use_apt_install_mongodb_6_on_debian11.html
https://www.debian.org/doc/manuals/debian-faq/getting-debian.zh-cn.html
#修改登录账户密码
passwd
# 查看 Shell
cat /etc/shells
echo $SHELL
#改为使用 bash
chsh -s /bin/bash
# 查看linux 版本
lsb_release -a
# 修改 hostname 添加
vim /etc/hostname
vim /etc/hosts