直到后面配置网络源之前都是断网安装,因为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

  1. deb http://mirrors.cloud.tencent.com/debian/ buster main non-free contrib
  2. deb http://mirrors.cloud.tencent.com/debian-security buster/updates main
  3. deb http://mirrors.cloud.tencent.com/debian/ buster-updates main non-free contrib
  4. deb http://mirrors.cloud.tencent.com/debian/ buster-backports main non-free contrib
  5.  
  6. deb-src http://mirrors.cloud.tencent.com/debian-security buster/updates main
  7. deb-src http://mirrors.cloud.tencent.com/debian/ buster main non-free contrib
  8. deb-src http://mirrors.cloud.tencent.com/debian/ buster-updates main non-free contrib
  9. deb-src http://mirrors.cloud.tencent.com/debian/ buster-backports main non-free contrib

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

  1. deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
  2. # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
  3. deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
  4. # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
  5.  
  6. deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
  7. # deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
  8.  
  9. deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
  10. # 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. 东方CannonBall

    代码 #include<cstdio> using namespace std; const int N = 1e5; double fx[N + 5] , fy[N + 5] , g[N ...

  2. 题解 CF17201 A~D2

    A 先约分,显然答案必然是 0 或 1 或 2 相等为 0,主要考虑 1 或 2 的情况. 假设 \(a>b\),令 \(c = a/b\),如果 \(c\) 为整数答案为 \(1\),否则为 ...

  3. 在 CentOS7 部署 ELK8.0.1

    在 CentOS7 部署 ELK8.0.1 目录 在 CentOS7 部署 ELK8.0.1 1 下载软件: 2 环境准备: 2.1 关闭防火墙和SELinux 2.2 修改Linux最大打开文件数 ...

  4. SQL语句中 left join 后用 on 还是 where,区别大了!

    前天写SQL时本想通过 A left B join on and 后面的条件来使查出的两条记录变成一条,奈何发现还是有两条. 后来发现 join on and 不会过滤结果记录条数,只会根据and后的 ...

  5. Cesium渲染调度

    1. 引言 Cesium是一款三维地球和地图可视化开源JavaScript库,使用WebGL来进行硬件加速图形,使用时不需要任何插件支持,基于Apache2.0许可的开源程序,可以免费用于商业和非商业 ...

  6. Angular 利用路由快照实现tab

    1.定义路由快照 新建文件SimpleReuseStrategy.ts import { RouteReuseStrategy, DefaultUrlSerializer, ActivatedRout ...

  7. 【C学习笔记】day4-1 在屏幕上输出以下图案

    1.在屏幕上输出以下图案: * *** ***** ******* ********* *********** ************* *********** ********* ******* ...

  8. @Resource 与@Autowired 区别

    @Resource与@Autowired两个的作用是相同的,很多人因为个人习惯选择用的不同,但是他们两个本质上还有有一定的区别的,可以参考区别来选择具体用哪一个: @Autowired与@Resour ...

  9. python 非阻塞线程对话框,非qt(解决qt MessageBox使用线程时候卡死问题)

    def msg_okbox(self, strinfo, isYesno=False): if isYesno: return win32api.MessageBox(None, strinfo, & ...

  10. mysql修改密码遇到的问题

    在docker上安装了 mysql 容器,mysql镜像是8.0+版本 修改密码语句: 只针对本机生效 alter user "root"@'localhost' identifi ...