直到后面配置网络源之前都是断网安装,因为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. 内网安全之:Windows系统帐号隐藏

    Windows系统帐号隐藏 目录 Windows系统帐号隐藏 1 CMD下创建隐藏账户 2 注册表创建隐藏账户 3 利用工具隐藏账户 1 CMD下创建隐藏账户 CMD下创建隐藏账户 net user ...

  2. C#神器"BlockingCollection"类实现C#神仙操作

    前言 如果你想玩转C# 里面多线程,工厂模式,生产者/消费者,队列等高级操作,就可以和我一起探索这个强大的线程安全提供阻塞和限制功能的C#神器类 BlockingCollection简单介绍 微软介绍 ...

  3. IO相关了解

    1.IO的概念 IO简单来讲就是对输入输出设备的简化表达形式 单片机中各种接口,进行数据流的传输 从磁盘中读取数据至内存,又或者从内存中写入磁盘 编程中的IO 此时的IO其应用程序的运行态,即进程-- ...

  4. 花10几元买ESP32-C3,体验一下MicroPython (和CircuitPython)

    ESP32是近年很火的国产低成本MCU系列. 买了芯片ESP32-C3的模组安信可 ESP-C3-32S的开发板安信可 NodeMCU ESP-C3-32S-Kit .开发板很小,没有任何多余的东西, ...

  5. 跟着廖雪峰学python 006

    ​ 递归函数 在函数内部调用自身本身 计算阶乘: def fact(n): if n == 1: return 1 return n * fact(n - 1) 注意:使用递归函数需要防止栈溢出. 在 ...

  6. 【6】java之数组的定义和使用

    一.数组的定义与使用 1.1 数组的基本概念 数组指的就是一组相关变量的集合. 数组的定义: 声明并开辟数组 数据类型 数组名称 [] = new 数据类型[长度]: 数据类型 [] 数组名称 = n ...

  7. axios 进行同步请求(async+await+promise)

    axios 进行同步请求(async+await+promise) 遇到的问题介绍 将axios的异步请求改为同步请求想到了async 和await.Promise axios介绍 Axios 是一个 ...

  8. WPF 打印界面控件内容

    public class PrintDialogHelper { private const string PrintServerName = "DESKTOP-49LV5U6"; ...

  9. ssh操作

    # -*- coding: utf-8 -*-"""------------------------------------------------- File Name ...

  10. JS 时间的获取和比较

    JS获取时间 获取当前时间 var date = new Date(); 可指定某种格式来获取时间,或者将字符串转换成时间 var date = new Date("2019-09-24 T ...