- 博客(3)
- 收藏
- 关注
原创 ubuntu安装docker
添加Docker的稳定版本仓库:sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"添加Docker官方GPG密钥:curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -再次更新软件包索引:sudo apt-get update。
2024-04-24 18:23:00
148
1
原创 ubuntu虚拟机安装ssh连接不上问题
2.安装openssh sudo apt install -y openssh-server 如果安装了先sudo apt purge -y openssh-server卸载。4.编辑ssh配置 sudo vim /etc/ssh/sshd_config,把PermitRootLogin改为yes,如下图。3.启动ssh服务 sudo systemctl start sshd。5.重启ssh sudo systemctl restart sshd。
2024-04-24 16:29:31
229
3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人