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

Debian 初始化命令备忘

本文地址:blog.lucien.ink/archives/541

以 Debian 11 为例,主要用于备忘。

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
apt update && apt install vim curl wget git cifs-utils -yexport DOWNLOAD_URL="https://mirrors.tuna.tsinghua.edu.cn/docker-ce"
curl -fsSL https://get.docker.com/ | shpip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simplehostnamectl set-hostname your_host
hostname your_host
/etc/hoststimedatectl set-timezone Asia/Shanghaigroupmod -g 3000 foo  # 添加用户组
adduser  # 添加用户
usermod -aG group_name user_name  # 将用户添加至组
http://www.lryc.cn/news/165098.html

相关文章:

  • 二维矩阵的DFS算法框架
  • pytest实现日志按用例输出到指定文件中
  • 程序员面试逻辑题
  • 自动创建设备节点udev机制实现
  • 目标检测YOLO实战应用案例100讲-基于小样本学习和空间约束的濒危动物目标检测
  • 苹果数据恢复软件:Omni Recover Mac
  • 树回归CART
  • zemax色差与消色差
  • 成绩定级脚本(Python)
  • 骨传导耳机的危害有哪些?会损害听力吗?
  • Redis模块二:缓存分类 + Redis模块三:常见缓存(应用)
  • Revit SDK 内容摘要: 8.0 -8.1
  • 列表和字典练习
  • iwebsec靶场 文件包含漏洞通关笔记2-文件包含绕过(截断法)
  • 【基于Cocos Creator实现的赛车游戏】9.实现汽车节点的控制逻辑
  • 蓝蓝设计为教育行业提供软件UI交互设计服务
  • Java从入门到精通-类和对象(二)
  • Python解析MDX词典数据并保存到Excel
  • 线性代数的本质(四)
  • FreeMarker详细介绍
  • 房地产小程序 | 小程序赋能,房地产业务数字化升级
  • Databend 开源周报第 110 期
  • 开源大模型ChatGLM2-6B 1. 租一台GPU服务器测试下
  • SQL10 用where过滤空值练习
  • JVM--Hotspot Architecture 详解
  • ThreadLocal功能实现
  • Linux编辑器-vim使用
  • 自助式数据分析平台:JVS智能BI功能介绍(二)数据集管理
  • 《5G技术引领教育信息化新革命》
  • cmake学习过程记录