Debian11初始化
debian11初始化的一些配置
整体参考Linux相关服务器系统的环境初始化工作。
源以及其他相关初始化脚本可以直接复用:
1 | deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib |
安装基础包:
1 | sudo apt install -y vim openssh-server net-tools sudo build-essential libssl-dev libtool libpng-dev libjpeg-dev libtiff-dev librsvg2-dev libopenjp2-7-dev libperl-dev libraqm-dev libzip-dev libdjvulibre-dev libopenexr-dev libpango1.0-dev libgvc6 libgraphviz-dev libflac-dev libsdl2-dev libzstd-dev libheif-dev libwebp-dev liblqr-1-0-dev libwmf-dev libgif-dev libxml2-dev libraw-dev swig python3-dev gcc manpages-dev git libsodium-dev software-properties-common libltdl-dev libnginx-mod-stream clang cmake pkg-config libbrotli-dev libgs-dev qemu-kvm virt-manager libvirt-clients virt-viewer libvirt-daemon-system bridge-utils virtinst libncursesw5-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev |
这里使用的是阿里云的镜像,可以参见阿里云的说明:https://developer.aliyun.com/mirror/
也推荐使用华为云的镜像:https://mirrors.huaweicloud.com/