当前位置: 首页> 健康> 养生 > 智能小程序开发者工具_网站建站网站设计公司_适合30岁短期培训班_sem优化师是做什么的

智能小程序开发者工具_网站建站网站设计公司_适合30岁短期培训班_sem优化师是做什么的

时间:2025/7/18 5:22:47来源:https://blog.csdn.net/hanmingjun/article/details/144392509 浏览次数:0次
智能小程序开发者工具_网站建站网站设计公司_适合30岁短期培训班_sem优化师是做什么的

前置条件

基于debian12官网的qcow2格式文件进行操作

安装ssh

登录虚拟机后安装ssh服务端

apt install openssh-server

配置国内源

新增/etc/apt/sources.list.d/tsinghua.list
使用清华大学的源
https://www.cnblogs.com/shanhubei/p/18104430

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware 
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm main contrib non-free non-free-firmware 
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware 
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-updates main contrib non-free non-free-firmware 
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware 
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bookworm-backports main contrib non-free non-free-firmware 
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware 
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bookworm-security main contrib non-free non-free-firmware

扩容

系统盘只有2G,需要扩下

虚拟机虚拟介质扩容量

先在virtualbox中对系统盘扩容到10G
在这里插入图片描述
在这里插入图片描述

linux系统内部扩容

1、下载parted命令
2、扩容
参考https://blog.csdn.net/qq_45664055/article/details/137920769
parted输入后使用resizepart 命令进行扩
3、调整文件系统
ext4的使用resize2fs

resize2fs /dev/sda1

4、使用df -h命令查看发现已经扩容OK了

设置时区

root用户下执行

timedatectl set-timezone 'Asia/Shanghai'

编辑颜色

编辑~/.bashrc
放开以下几行的注释后重新登录即可。

 export LS_OPTIONS='--color=auto'eval "$(dircolors)"alias ls='ls $LS_OPTIONS'alias ll='ls $LS_OPTIONS -l'
关键字:智能小程序开发者工具_网站建站网站设计公司_适合30岁短期培训班_sem优化师是做什么的

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com

责任编辑: