03 2022 档案
摘要:使用北外镜像配置conda镜像源,提高conda install速度
阅读全文
摘要:关闭用户图形界面,使用tty登录。 sudo systemctl set-default multi-user.target sudo reboot 注意: 关闭图形界面重启后, 需要 Ctrl+Alt+F1 切换到命令行模式,否则重启之后会停在黑屏状态,实际上系统是已经启动完成的,通过ssh也能连
阅读全文
摘要:0. 如何新建用户 Linux下新建用户需要使用useradd和passwd命令 最基础的使用方法如下: useradd <username> # 新建一个名为<username>的用户 passwd <username> <password> # 为该用户设定密码为<password> 1. 新建
阅读全文
摘要:关于rc.local文件 /etc/rc.local是/etc/rc.d/rc.local的软链接,可以用于控制系统boot时执行的脚本命令 其内容一般如下: #!/bin/sh -e # # rc.local # # This script is executed at the end of ea
阅读全文