安装ssh apt install openssh-server -y 开启ssh systemctl start sshd 自启ssh systemctl enable sshd root登陆 修改sshd_config配置文件 vim /etc/ssh/sshd_config PermitRootLogin yes # 把#号去掉并后面prohibit-password改为yes PasswordAuthentication yes # 把#号去掉 重启ssh ...
vim /etc/network/interfaces The primary network interface allow-hotplug ens33 iface ens33 inet dhcp auto ens33 iface ens33 inet static address 192.168.200.150 netmask 255.255.255.0 gateway 192.168.200.2 重启network systemctl restart networking.service 查看ip ip a ··· ...
```shell # 其中vim90可能各个系统不一样,可以双击tab键查看 vim /usr/share/vim/vim90/defaults.vim # 底行命令模式输入 /set mouse 可以找到如下 if has('mouse') if &term =~ 'xterm' set mouse=a else set mouse=nvi endif endif # 把其中set mouse=a改为set mouse-=a ```
备份 cd /etc/yum.repos.d/ mkdir bak && mv *.repo bak/ 阿里云(速度偏慢) wget https://mirrors.aliyun.com/repo/Centos-8.repo && dnf makecahe 大学镜像源 南大镜像源(其他镜像源同理) 8.5.2111为系统版本号,可以使用cat /etc/redhat-release进行查看 vi...
先安装apt update && apt install wget net-tools -y 下载MySQL MySQL官网下载 新版本 老版本 MySQL版本为:8.0.35 二进制安装 cd /usr/local/src wget https://cdn.mysql.com/archives/mysql-8.0/mysql-8.0.35-linux-glibc2...
安装 下载miniconda软件 wget https://mirrors.ustc.edu.cn/anaconda/miniconda/Miniconda3-latest-Linux-x86_64.sh bash Miniconda3-latest-Linux-x86_64.sh 修改conda软件源(中科大) conda config --add channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/ conda...