Debian容器精简系统初始化
采用 Docker 官方镜像,通过 Disgrobox运行Debian 部署 Debian 容器之后,进行基础的开发环境初始化:
安装 DevOps 工具:
安装初始工具
# tmux: 多会话终端
# neovim: 增强型vim编辑器
# 以下软件包提供必要工具
# cron: 定时任务(可选)
# locales: Debian的Docker镜像默认缺少需要补全
# net-tools: netstat
# iproute2: ip
# dnsutils: dig/nslookup
# plocate: updatedb/locate
# gnupg2: GPG (安装rvm需要)
# git: git版本管理
# tree: tree目录检查
# unzip: unzip解压缩
# wget: wget下载工具
apt install cron tmux neovim locales net-tools iproute2 dnsutils plocate gnupg2 git tree unzip lsof wget
安装gcc以及开发库:
debian的C语言开发环境安装
# c program
apt install glibc-doc manpages-dev libc6-dev gcc build-essential
# 编译neovim需要
apt -y install cmake gettext