直到后面配置网络源之前都是断网安装,因为debian security好像总是要去总源找点东西,所以即便你选择国内源甚至不选择网络源安装,依然会莫名

的失败。

I. 最小化安装debian10(用root用户吧)
1. 修改控制台分辨率 (看情况,似乎不太需要)

  这里参考的资料比较老,其实也没有实践,后来在openeuler上尝试成功了,可能debian不完全一样吧,grub的配置文件现在的路径应该是

/boot/grub2/grub.cfg, 用vi编辑器打开后搜索vmlinuz基本上找到了,设置vga的时候似乎不能直接设置数字,需要写成16进制的方式0x792,这样的方式

http://www.chinastor.com/linux/ubuntu/1210115152015.html
https://www.iteye.com/blog/yjy110-1881593
1)vi /boot/grub/grub.cfg
2)
linux   /boot/vmlinuz-2.6.35-22-generic root=UUID=30b3c856-a931-44cf-bb03-99fa91fcc597 ro   quiet
add "vag=792" behind "quiet", e.g:
linux   /boot/vmlinuz-2.6.35-22-generic root=UUID=30b3c856-a931-44cf-bb03-99fa91fcc597 ro   quiet vga=792

2.设置控制台字体(也是看情况,不是小到不能忍受就算了吧)
dpkg-reconfigure console-setup
UTF-8 > Guess optimal character set > TerminusBold > 10x20

https://blog.csdn.net/petpig0312/article/details/79445692

3. 设置默认编辑器,debian10现在默认是nano
update-alternatives --config editor

4. 设置支持的字符集以支持中文
apt install locales
dpkg-reconfigure locales
Add fontsets like This:
en_US.UTF8
zh_CN GB2312
zh_CN GBK GBK
zh_CN UTF-8 UTF-8

5. 设置系统时区
ln -fs /usr/share/zoneinfo/Asia/ShangHai /etc/localtime

6. 安装sudo命令,并设置你准备用的普通帐号又sudo权限
1) apt -y install sudo
2) Set common user with sudo power
visudo /etc/sudoers
add:
yourusername ALL=(ALL:ALL) NOPASSWD: ALL
down the: root ALL=(ALL:ALL) ALL

7. 安装一些比较重要的编译依赖工具
apt -y install gcc automake autoconf libtool make bc linux-headers-$(uname -r)

II. 安装感觉的gnome (这里就切换到普通账户用sudo权限执行吧)
1. 安装 gnome-shell
sudo apt -y install gnome-shell
2. 安装 gnome-session
sudo apt -y install gnome-session
3. 安装一些重要的组件
nautilus: gnome的文件管理器
network-manager:网络管理工具
alsa-utils:音频管理工具
gnome-terminal: gnome终端
gedit:文本编辑器
gnome-font-viewer:字体管理工具
4. 设置软件源,新版本据说可以自己选最快的源,看需求吧,下面的src似乎可以不配,一般用户似乎也用不到
backup /etc/apt/sources.list: sudo mv /etc/apt/sources.list /etc/apt/sources.list.bak

deb http://mirrors.cloud.tencent.com/debian/ buster main non-free contrib
deb http://mirrors.cloud.tencent.com/debian-security buster/updates main
deb http://mirrors.cloud.tencent.com/debian/ buster-updates main non-free contrib
deb http://mirrors.cloud.tencent.com/debian/ buster-backports main non-free contrib deb-src http://mirrors.cloud.tencent.com/debian-security buster/updates main
deb-src http://mirrors.cloud.tencent.com/debian/ buster main non-free contrib
deb-src http://mirrors.cloud.tencent.com/debian/ buster-updates main non-free contrib
deb-src http://mirrors.cloud.tencent.com/debian/ buster-backports main non-free contrib

[tips:] debian11的security源格式发生了一点变化

deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
# deb-src 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-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free

> 然后更新
apt -y update
apt -y upgrade
5. 联网后配源后通过非free源安装重要的组件工具等
apt -y install firmware-linux firmware-linux-nonfree libdrm-amdgpu1 xserver-xorg-video-amdgpu
apt -y install xfonts-wqy* fonts-wqy*
gnome-tweak-tool: 通过使用gnome-tweak-tool工具,我们可以自定义系统主题、图标、锁屏界面内容、字体等等内容
gnome-shell-extension-top-icons-plus: 顶栏支持托盘图标,不过貌似不能操作,仅仅支持显示
6. 安装输入法 rime挺好用的
apt -y install ibus ibus-rime
> 默认的中文输入不是简体,可以在输入状态下F4然后选择
7. 其他好用的软件
firefox-esr
flameshot: 火焰截图
Audacious: 音频播放器
cmus: 命令行音频播放器
thunderbird
vlc
goldendict:好用。。

最小化安装debian10&gnome最小化安装的更多相关文章

  1. 最小化安装CentOS 7后,图形界面的安装(GNOME、KDE等)

    安装图形化界面: 1.首先安装X(X Window System),命令为 yum groupinstall "X Window System" 2.检查一下我们已经安装的软件以及 ...

  2. centos7 最小化安装 无 ifconfig,netstat 的安装

    centos7 最小化安装 无 ifconfig,netstat 的安装 centos7 最小化安装之后,默认是没有 ifconfig,netstat命令的: 我们可以直接使用 yum -y inst ...

  3. CentOS下Zabbix安装部署及汉化

    搭建环境:Centos6.5_x86_64,Zabbix2.4.5,epel 源 服务端: 1.安装开发软件包yum -y groupinstall "Development Tools&q ...

  4. ERDAS 2014安装破解及汉化图文教程

    关于ERDAS 2014 的安装破解及其汉化过程: 说明:汉化只是之针对英语能力不能正常满足使用软件的朋友们.如果英语过专八,完全没有必要汉化!在此之前查了好多关于ERDAS汉化的文档,可惜只是简单的 ...

  5. centos6.5下Zabbix系列之Zabbix安装搭建及汉化

    最近在研究zabbix,在整理完成之后就有了写一下总结博客的想法,在我研究zabbix的时候给我很大帮助的是it你好,博客地址http://itnihao.blog.51cto.com/他做的zabb ...

  6. centos6.5下Zabbix系列之Zabbix安装搭建及汉化 (转)

    最近在研究zabbix,在整理完成之后就有了写一下总结博客的想法,在我研究zabbix的时候给我很大帮助的是it你好,博客地址 http://itnihao.blog.51cto.com/他做的zab ...

  7. CentOS7安装GitLab、汉化及使用

    同步首发:http://www.yuanrengu.com/index.php/20171112.html 一.GitLab简介 GitLab是利用Ruby On Rails开发的一个开源版本管理系统 ...

  8. CentOS7安装GitLab、汉化、邮箱配置及使用

    同步首发:http://www.yuanrengu.com/index.php/20171112.html 一.GitLab简介 GitLab是利用Ruby On Rails开发的一个开源版本管理系统 ...

  9. 开源图像标注工具labelme的安装使用及汉化

    一 LabelMe简介 labelme是麻省理工(MIT)的计算机科学和人工智能实验室(CSAIL)研发的图像标注工具,人们可以使用该工具创建定制化标注任务或执行图像标注,项目源代码已经开源. 项目开 ...

  10. PLSQL安装、PLSQL汉化、激活

    前言 新版PLSQL连接Oracle时,不需要Oracle客户端为32位了,安装完Oracle后也不需要在单独安装客户端. 一.准备工作 1.点击下载PLSQL,本次安装的PLSQL版本为12.0.7 ...

随机推荐

  1. python实现移动二级目录下的文件到一级目录

    python实现移动二级目录下的文件到一级目录 import os import shutil import sys def move_to_work_folder(work_path, cur_pa ...

  2. 好消息!微信小程序开发环境自带vConsole

    背景介绍 事情是这样子的,我们在开发小程序的时候,需要在真机上把相关的日志打出来以便进行问题定位和回溯,于是在编程界就有个今天这个新闻.------ 好消息!广东某男子发现微信小程序开发环境自带vCo ...

  3. H5与原生APP调了交互方式

    APP中不支持position:fixed; 改成 position:absolute; 触发H5按钮跳转APP原生页,进入调取APP的名传自己的方法 <a href="javascr ...

  4. 使用Shapefile C Library读取shp文件并使用OpenGL绘制

    1. 概述 坐标数据是空间数据文件的核心,空间数据的数据量往往是很大的.数据可视化是GIS的一个核心应用,绘制海量的坐标数据始终是一个考验设备性能的难题,使用GPU进行绘制可有效减少CPU的负载,提升 ...

  5. SAP 登录文件路径

    链接文件地址C:\Users\Administrator\AppData\Roaming\SAP\Common 复制:Common文件夹所有文件替换

  6. pytho获取C函数返回值

    python调用C语言接口 注:本文所有示例介绍基于linux平台 在底层开发中,一般是使用C或者C++,但是有时候为了开发效率或者在写测试脚本的时候,会经常使用到python,所以这就涉及到一个问题 ...

  7. WeNet调试

    运行: 参照:markdown 问题: CMake Error: Error: generator : Ninja Ninja:提高构建速度 wenet/runtime/libtorch/fc_bas ...

  8. windows注册表的读

    1.打开 2.读取 //打开注册表 CString CDownDlg::GetPortCom(int nmber)//读取操作表,其类型为REG_SZ { CString ans; CString r ...

  9. MySQL安装最后一步无响应解决方法

    一.卸载及安装 MySQL安装到最后一步就卡住,如图: 卸载原来安装的MySQL1.首先,卸载MySQL:2.然后,删除C盘下(C:\ProgramData\MySQL)文件: 然后重新安装MySQL ...

  10. 最火小游戏《羊了个羊》最新H5升级通关版

    背景 最近大火的微信小游戏<羊了个羊>刷爆朋友圈和群聊,大家都在搜索羊了个羊第二关怎么过.羊了个羊通关秘籍.这款小游戏实在难度太高,及其容易上瘾,而且很多朋友怎么也通不过. 这一次小编给大 ...