当前位置: 首页 > news >正文

营销型网站建站公司建站

营销型网站建站公司,建站,布吉网站建设哪家便宜,厦门php商城网站建设Ubuntu更新源清晰方法 最直观的更新源方法安装Ubuntu1. 备份镜像源设置文件2. 编辑镜像源设置文件3. 更新源及/etc/apt/sources.list4. 更新已安装的软件包6. 将复制对应版本的清华源或科大源复制粘贴到打开的编辑文档7. 这是ubtuntu自带sources.listapt-get命令 手动更新Ubunt…

Ubuntu更新源清晰方法

  • 最直观的更新源方法
  • 安装Ubuntu
    • 1. 备份镜像源设置文件
    • 2. 编辑镜像源设置文件
    • 3. 更新源及/etc/apt/sources.list
    • 4. 更新已安装的软件包
    • 6. 将复制对应版本的清华源或科大源复制粘贴到打开的编辑文档
    • 7. 这是ubtuntu自带sources.list
    • apt-get命令
  • 手动更新Ubuntu内核版本

最直观的更新源方法

安装Ubuntu

推荐ventoy
其他U盘工具使用翻车了。
不会使用请自行百度。

安装好Ubuntu,首先第一步,要更换源,否则… …

Ubuntu中大部分的软件安装和更新都是利用apt命令,从Ubuntu的服务器直接安装的。
Ubuntu官方的服务器在国外,为了提高软件安装和更新速度,Ubuntu提供了选择最佳服务器的功能,可以帮助我们方便的找到一个速度最快的镜像服务器!

试错无数次,这里我推荐!
清华大学开源软件镜像站
中国科学技术大学
例如中国科学技术大学:可使用配置生成器生成各Ubuntu版本的镜像源。
在这里插入图片描述

在这里插入图片描述

1. 备份镜像源设置文件

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak

2. 编辑镜像源设置文件

sudo gedit /etc/apt/sources.list

3. 更新源及/etc/apt/sources.list

sudo apt-get update          

4. 更新已安装的软件包

sudo apt-get upgrade                

6. 将复制对应版本的清华源或科大源复制粘贴到打开的编辑文档

在这里插入图片描述

7. 这是ubtuntu自带sources.list

如要退回原来的源,复制粘贴即可。

# deb cdrom:[Ubuntu 20.04.6 LTS _Focal Fossa_ - Release amd64 (20230316)]/ focal main restricted# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal main restricted## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-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/ focal universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal universe
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-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/ focal multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-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/ focal-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ focal-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 focal partner
# deb-src http://archive.canonical.com/ubuntu focal partnerdeb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-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.

apt-get命令

在Ubuntu系统中,使用apt-get命令安装更新软件包:

sudo apt-get install package                   安装软件包
sudo apt-get install package - - reinstall     重新安装软件包
sudo apt-get -f install                        修复安装软件包"-f = ——fix-missing"
sudo apt-get remove package                    删除软件包
sudo apt-get remove package - - purge          删除软件包,包括删除配置文件等
sudo apt-get update                            更新源及/etc/apt/sources.list
sudo apt-get upgrade                           更新已安装的软件包
sudo apt-get dist-upgrade                      升级系统安装的软件包
sudo apt-get dselect-upgrade                   使用 dselect 升级
sudo apt-get build-dep package                 安装相关的编译环境
sudo apt-get clean && sudo apt-get autoclean   清理无用的软件包
sudo apt-get check                             检查是否有损坏的依赖
apt-cache search package                       搜索软件包
apt-cache show package                         获取包的相关信息,如说明、大小、版本等
apt-cache depends package                      了解使用依赖a
pt-cache rdepends package                      是查看该软件包被哪些软件包依赖

手动更新Ubuntu内核版本

更新Ubuntu Linux内核下载网站

http://www.hotlads.com/news/5495.html

相关文章:

  • 滴滴出行的网站是哪家公司做的排超联赛积分榜
  • 如何进行企业营销型网站建设站长之家综合查询工具
  • 北京网站建设的价格天搜索引擎竞价广告
  • 什么网站可以做网站北京seo费用是多少
  • 开发网站和app常见的营销策略有哪些
  • 网站建设 代理福州seo网络推广
  • 做网站的三年规划外包网络推广营销
  • 如何建一个公司的网站营销咨询顾问
  • 网站制作潍坊sem与seo的区别
  • 做网站的如何找客户网站运营工作的基本内容
  • 优秀的手机网站标准学生个人网页制作成品代码
  • 企业网站建设 知乎温州seo招聘
  • 招聘网站开发源码无锡seo公司
  • 网站建设温州企业邮箱哪个好
  • 谁会在掏宝网上做网站互联网推广方案
  • 网站的费用可以做无形资产吗百度手机版网址
  • 最佳网站设计更先进的seo服务
  • 战鼓网这种网站怎么做中文域名交易网站
  • 银行做网站视频中国最好的网络营销公司
  • 网站做支付宝 微信模块网络广告策划方案范文
  • dede门户网站模板下载优秀的网页设计网站
  • 深圳宝安区做网站的公司seo咨询解决方案
  • github网站使用教程账号seo是什么
  • 阿里云服务器上做淘宝客网站百度问一问人工客服怎么联系
  • 东莞网站设计知名乐云seo外链推广是什么意思
  • wordpress 最受欢迎文章网络优化工作内容
  • 去哪找网站建设公司最新热搜新闻
  • 网站如何做业务百度投流
  • 网站 规划公司网站页面设计
  • 做网站需要学什么专业seo教学视频教程