最小化安装debian10&gnome最小化安装
直到后面配置网络源之前都是断网安装,因为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最小化安装的更多相关文章
- 最小化安装CentOS 7后,图形界面的安装(GNOME、KDE等)
安装图形化界面: 1.首先安装X(X Window System),命令为 yum groupinstall "X Window System" 2.检查一下我们已经安装的软件以及 ...
- centos7 最小化安装 无 ifconfig,netstat 的安装
centos7 最小化安装 无 ifconfig,netstat 的安装 centos7 最小化安装之后,默认是没有 ifconfig,netstat命令的: 我们可以直接使用 yum -y inst ...
- CentOS下Zabbix安装部署及汉化
搭建环境:Centos6.5_x86_64,Zabbix2.4.5,epel 源 服务端: 1.安装开发软件包yum -y groupinstall "Development Tools&q ...
- ERDAS 2014安装破解及汉化图文教程
关于ERDAS 2014 的安装破解及其汉化过程: 说明:汉化只是之针对英语能力不能正常满足使用软件的朋友们.如果英语过专八,完全没有必要汉化!在此之前查了好多关于ERDAS汉化的文档,可惜只是简单的 ...
- centos6.5下Zabbix系列之Zabbix安装搭建及汉化
最近在研究zabbix,在整理完成之后就有了写一下总结博客的想法,在我研究zabbix的时候给我很大帮助的是it你好,博客地址http://itnihao.blog.51cto.com/他做的zabb ...
- centos6.5下Zabbix系列之Zabbix安装搭建及汉化 (转)
最近在研究zabbix,在整理完成之后就有了写一下总结博客的想法,在我研究zabbix的时候给我很大帮助的是it你好,博客地址 http://itnihao.blog.51cto.com/他做的zab ...
- CentOS7安装GitLab、汉化及使用
同步首发:http://www.yuanrengu.com/index.php/20171112.html 一.GitLab简介 GitLab是利用Ruby On Rails开发的一个开源版本管理系统 ...
- CentOS7安装GitLab、汉化、邮箱配置及使用
同步首发:http://www.yuanrengu.com/index.php/20171112.html 一.GitLab简介 GitLab是利用Ruby On Rails开发的一个开源版本管理系统 ...
- 开源图像标注工具labelme的安装使用及汉化
一 LabelMe简介 labelme是麻省理工(MIT)的计算机科学和人工智能实验室(CSAIL)研发的图像标注工具,人们可以使用该工具创建定制化标注任务或执行图像标注,项目源代码已经开源. 项目开 ...
- PLSQL安装、PLSQL汉化、激活
前言 新版PLSQL连接Oracle时,不需要Oracle客户端为32位了,安装完Oracle后也不需要在单独安装客户端. 一.准备工作 1.点击下载PLSQL,本次安装的PLSQL版本为12.0.7 ...
随机推荐
- 接口自动化库-apist
前言 目前很多公司用jmeter或者RF框架来实现接口自动化,确实是可以实现,但不利于CI/CD. 为了方便后续的可拓展性.可维护性.可复用性,项目leader在技术选型的时候应当以趋势.主流的为主, ...
- 有趣的python库-pillow
pillow-图像处理 安装时不再是PIL,是pillow哦! 烟花 pillow + tkinter实现 import tkinter as tk from PIL import Image, Im ...
- CF873E - Awards For Contestants
题意:对于 \(n\) 个人,每个人有一个分数,现在要把所有人分成四等,使得: 前三类都有人 前三类中,任意类的人数不大于其他类的人数的两倍 不能有 \(i\) 的分数比 \(j\) 高但是所属的等级 ...
- 05#Web 实战:可拖拽的侧边栏
效果演示图 可拖拽的左.右侧边栏的使用情况还是挺多的,博客园后台管理的左侧边栏就可以拖拽哟!效果演示如下图: HTML 代码 <div class="container"&g ...
- GeoServer发布Oracle空间数据
1. 概述 Oracle是常用的数据库,Oracle数据库包含空间数据库,可以在Oracle中进行空间数据的存储,更详细的信息可参考: 空间数据库 | Oracle 中国 GeoServer是常用的开 ...
- centos7中关闭防火墙命令
1.命令行界面输入命令"systemctl status firewalld.service"并按下回车键. 2.然后在下方可以查看得到"active(running)& ...
- OSI网络7层模型,TCP/IP协议族
ARP和RARP协议在OSI中属于数据链路层,在我们的认知里属于网络层,与IP在一层 OSI 7层模型比这个5层模型多了三层,5层模型熟悉的情况下,可以这么记多出的层:用表会输 应用层 表示层 会话层 ...
- Vulnhub:ReconForce-01.1靶机
kali:192.168.111.111 靶机:192.168.111.200 信息收集 端口扫描 nmap -A -v -sV -T5 -p- --script=http-enum 192.168. ...
- CF468E Permanent 题解
考虑暴力状压 DP. 按行 DP,记录列哪些被选过,可以做到 \(O(2^kk^2)\). 注意到某一列扫完了之后这一列选没选过不重要,可以减少这里的状态. 简单优化一下,每次选择最少的一列,使这一列 ...
- 【redis】配置优化及从库优先级
https://blog.51cto.com/u_15902893/5912902 vim /etc/redis/redis.conf ##################基础############ ...