新的全局主题

apt换源

换源以后会出现很多非常奇怪的问题,而且官方源还可以,建议不换

bernard@aqua:~$ sudo passwd
[sudo] password for bernard:
New password:
Retype new password:
passwd: password updated successfully
bernard@aqua:~$ sudo kate /etc/apt/sources.list
Executing Kate with sudo is not possible due to unfixable security vulnerabilities.
bernard@aqua:~$ su root
Password:
root@aqua:/home/bernard# kate /etc/apt/sources.list

换成这个

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
#deb cdrom:[Kubuntu 21.04 _Hirsute Hippo_ - Release amd64 (20210420)]/ hirsute main multiverse restricted universe# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ hirsute main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ hirsute main restricted## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ hirsute-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ hirsute-updates main restricted## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ hirsute universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ hirsute universe
deb http://cn.archive.ubuntu.com/ubuntu/ hirsute-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ hirsute-updates universe## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://cn.archive.ubuntu.com/ubuntu/ hirsute multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ hirsute multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ hirsute-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ hirsute-updates multiverse## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://cn.archive.ubuntu.com/ubuntu/ hirsute-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ hirsute-backports main restricted universe multiverse## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu hirsute partner
# deb-src http://archive.canonical.com/ubuntu hirsute partnerdeb http://security.ubuntu.com/ubuntu hirsute-security main restricted
# deb-src http://security.ubuntu.com/ubuntu hirsute-security main restricted
deb http://security.ubuntu.com/ubuntu hirsute-security universe
# deb-src http://security.ubuntu.com/ubuntu hirsute-security universe
deb http://security.ubuntu.com/ubuntu hirsute-security multiverse
# deb-src http://security.ubuntu.com/ubuntu hirsute-security multiverse# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
# 备份

安装软件

su root
apt update
apt-get install g++
wget https://vscode.cdn.azure.cn/stable/054a9295330880ed74ceaedda236253b4f39a335/code_1.56.2-1620838498_amd64.deb
sudo dpkg -i code_1.56.2-1620838498_amd64.deb

设置开机引导GRUB

sudo vi /etc/default/grub
  1. 删除或者注释掉grub_timeout_style=hidden
  2. 把grub_cmdline_linux_default修改为text
  3. 改完之后还要把GRUB_TERMINAL=console这一行的注释符删掉
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'GRUB_DEFAULT=0
#GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX_DEFAULT="text"
GRUB_CMDLINE_LINUX=""# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"# Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL=console
sudo update-grub

配置一台新的kubuntu相关推荐

  1. 一台新的DELL服务器安装VMware ESXi 6.7服务器安装配置详细步骤图文

    一.给一台新的服务器装系统时遇到的小坑 给公司新买的一台DELL服务器安装ESXi 6.7系统,刚开始只是用U盘作为启动盘打开看了看, 但是并没有安装到服务器的硬件上,第一次接触给一台新的服务器做系统 ...

  2. Exchange2003-2010迁移系列之四,配置第一台Exchange CAS/HUB服务器

    配置第一台CAS/HUB      关于Cas/hub的配置请大家详见前面关于Ex2010的部署(两个配置基本相同在这里就不做详细的解说了)下面关于Cas的配置在前面已经提到了但是下面是另一种新的方法 ...

  3. 如何配置一台深度学习工作站?

    这篇文章主要介绍的是家用的深度学习工作站,典型的配置有两种,分别是一个 GPU 的机器和四个 GPU的机器.如果需要更多的 GPU 可以考虑配置两台四个 GPU 的机器. 如果希望一台机器同时具备 6 ...

  4. 如何配置一台适用于深度学习的工作站?

    问题详情: 如何配置一台适用于深度学习的工作站? 刚买两块Titan Z GPU准备搞搞深度学习,结果原来的工作站功率不够,带不动,所以准备组装一台新工作站.求大神们给点意见,最好给个完整的list, ...

  5. 电脑底下的任务栏不见了_拿到一台新的Windows电脑,我会做什么?

    前言 最近搞了一台新的Windows笔记本,拿到一台新的电脑当然是要配置自己喜欢的环境(以及工作需要的开发环境的啦).所以这篇文章来写写我拿到一台新的Windows电脑习惯配置些什么(以后再拿到一部新 ...

  6. 【深度学习】如何配置一台深度学习工作站?

    极市导读 本文介绍了家用的深度学习工作站的两种典型配置,以及各类硬件的参数介绍和选择方案,可以作为选购时的参考. 这篇文章主要介绍的是家用的深度学习工作站,典型的配置有两种,分别是一个 GPU 的机器 ...

  7. 拿到一台新的Windows电脑,我会做什么?

    最近搞了一台新的Windows笔记本,拿到一台新的电脑当然是要配置自己喜欢的环境(以及工作需要的开发环境的啦).所以这篇文章来写写我拿到一台新的Windows电脑习惯配置些什么(以后再拿到一部新的Wi ...

  8. 你可能小赚,但苹果永远不亏!华强北老板说一台新iPhone只赚10块钱?

    昨天新iPhone正式开售,库克一定又笑开了花.光是预售,iPhone 11系列就拿下了不俗的成绩. 从现如今的结果来看,iPhone 11系列依然保持了真香传统,前一天还在说背后摄像头丑,创新不够, ...

  9. 用CentOS 6快速配置一台企业级Web代理服务器

    用CentOS 6快速配置一台企业级Web代理服务器 时间:2012-04-09 10:03 来源:布加迪 编译 字体:[大 中 小] Web代理服务器让企业员工可以快速安全地浏览网络.Web代理服务 ...

  10. 如何配置一台能够进行Gromacs科学计算的电脑

    如何配置一台能够进行Gromacs科学计算的电脑(预算1万元左右) 前言 1. CPU 2. 显卡 3. 内存 4. 硬盘 5. 主板 6. 电源 6. 散热 7. 机箱 8. 显示器 前言 这里提到 ...

最新文章

  1. Git教程:最详细、最傻瓜、最浅显、真正手把手教!
  2. R语言用户自定义函数的语法结构、编写自定义统计值计算函数(使用ifelse结构计算均值和标准差等)、编写自定义日期格式化(format)函数(switch函数使用不同分枝格式化日期数据)、应用自定函数
  3. leetcode算法题--Bulls and Cows
  4. log4.properties文件【笔记自用】
  5. Linux 下修改(NTFS或fuseblk)磁盘(卷标)显示名称
  6. Table边框使用总结
  7. Android使用帧动画解决内存溢出问题
  8. 向android获取文件路径,在Android上获取图像的文件路径
  9. Java他们其中一个IO(一)
  10. asp.net membership 配置错误
  11. iperf3的交叉编译
  12. 人工智能相关数据集分享(三)
  13. H.264再学习 -- 目前主流的几种数字视频压缩编解码标准(转载)
  14. [clear] python 种子转磁力链
  15. IOS APP资源网站汇总
  16. 明明在内网,做种的人很多,为什么在transmission里bt下载速度仅10kb/s
  17. MySQL 生成随机数字、字符串、日期、验证码以及 UUID
  18. 把时间当作朋友 -- 读书笔记
  19. 基于python的气象数据分析统计服_基于Python的风向风速数据分析的设计与实现
  20. 误删了计算机桌面回收站,如何解决电脑回收站被误删故障 电脑回收站被误删的两种解决方法...

热门文章

  1. c 语言 农历,农历转阴历 c语言
  2. 上中下结构DIV CSS布局实例
  3. ARM和MIPS架构
  4. [CVPR 2019]类别级物体6自由度位姿估计
  5. Access根据出生日期计算年龄_如何根据出生日期计算年龄
  6. 浙江省等保测评机构项目测评收费价格标准参考
  7. 虚拟服务器忘记密码,Win7系统下VMware虚拟机忘记开机密码如何解决
  8. 华硕raid 0 安装linux,ROG Maxius IX主板技巧篇:组建RAID 0
  9. dell r630 配置raid_DELL服务器RAID配置图文教程
  10. 2021年中国外卖行业发展现状、市场竞争格局及未来发展趋势分析:美团外卖市场份额持续提升[图]