当前位置: 首页 > news >正文

debain系统使用日志

@账号
vboxuser
changeme

@ssh远程登录vbox虚拟机
https://www.cnblogs.com/BuzzWeek/p/17557981.html

Terminal

su - root
changeme
sudo apt-get update
sudo apt-get -y install openssh-server

#启动sshd
systemctl status sshd

@设置允许ssh登录vbox虚拟机
参考:https://blog.csdn.net/darkgray11/article/details/136443000

@vi命令
使用dd删除行

@配置安装源

vi /etc/apt/sources.list

deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib

预发布软件源,不建议启用

#deb http://mirrors.aliyun.com/debian/ groovy-proposed main restricted universe multiverse
#deb-src http://mirrors.aliyun.com/debian/ groovy-proposed main restricted universe multiverse

@命令

切换root

su - root

查看已安装应用列表

ps -e

安装包

apt install -y sshd

http://www.lryc.cn/news/394776.html

相关文章:

  • 【Word】快速对齐目录
  • MATLAB基础应用精讲-【数模应用】 岭回归(Ridge)(附MATLAB、python和R语言代码实现)
  • 推荐6个开源博客项目源码,你会选哪个呢
  • OCR text detect
  • 【MySQL】MySQL连接池原理与简易网站数据流动是如何进行
  • 学数据结构学的很慢,毫无头绪怎么办 ?
  • VSCode常用快捷键和功能
  • 上海市计算机学会竞赛平台2023年2月月赛丙组平分数字(一)
  • Qwen1.5-1.8b部署
  • 关于7月1号centos官方停止维护7系列版本导致centos7+版本的机器yum等命令无法使用的解决教程
  • 2024人工智能大会_强化学习论坛相关记录
  • Android SurfaceFlinger——创建EGLContext(二十五)
  • python 10个自动化脚本
  • 填报高考志愿,怎样正确地选择大学专业?
  • Java 使用sql查询mongodb
  • WIN32核心编程 - 线程操作(二) 同步互斥
  • web自动化(六)unittest 四大组件实战(京东登录搜索加入购物车)
  • 鸿蒙语言基础类库:【@ohos.process (获取进程相关的信息)】
  • 华为笔试题
  • 【MySQL基础篇】函数及约束
  • YOLOv9报错:AttributeError: ‘list‘ object has no attribute ‘view‘
  • Bert入门-使用BERT(transformers库)对推特灾难文本二分类
  • 【DFS(深度优先搜索)详解】看这一篇就够啦
  • java-spring boot光速入门教程(超详细!!)
  • 一、Prometheus和Grafana搭建
  • 从零开始的python学习生活
  • MSP学习
  • 生产力工具|Endnote X9如何自动更新文件信息
  • 【python】字典、列表、集合综合练习
  • 超融合服务器挂载硬盘--linux系统