Ubuntu7.04源更新方法

简介: 1.查看ubuntu版本 #cat /etc/issue 2.网络查找对应版本的更新源 Ubuntu7.04更新源: #首先推荐 deb http://tw.archive.

1.查看ubuntu版本

#cat /etc/issue

2.网络查找对应版本的更新源

Ubuntu7.04更新源:

#首先推荐

deb http://tw.archive.Ubuntu.com/ubuntu hardy main restricted universe multiverse

deb http://tw.archive.Ubuntu.com/ubuntu hardy-security main restricted universe multiverse

deb http://tw.archive.Ubuntu.com/ubuntu hardy-updates main restricted universe multiverse

deb http://tw.archive.Ubuntu.com/ubuntu hardy-backports main restricted universe multiverse

deb http://tw.archive.Ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse

deb-src http://tw.archive.Ubuntu.com/ubuntu hardy main restricted universe multiverse

deb-src http://tw.archive.Ubuntu.com/ubuntu hardy-security main restricted universe multiverse

deb-src http://tw.archive.Ubuntu.com/ubuntu hardy-updates main restricted universe multiverse

deb-src http://tw.archive.Ubuntu.com/ubuntu hardy-backports main restricted universe multiverse

deb-src http://tw.archive.Ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse

3.终端输入:$sudo gedit /etc/apt/sources.list 清空里面的内容并且把搜索到的新的源地址复制到这里面,复制后用下面命令即可更新系统

$sudo apt-get update 第一个update完之后接着,

$sudo apt-get upgrade


相关文章
|
5月前
|
Ubuntu Linux 虚拟化
2:发行版本安装演示——Ubuntu、CentOS、Kali?-步入Linux的现代方法
2:发行版本安装演示——Ubuntu、CentOS、Kali?-步入Linux的现代方法
75 0
|
4月前
|
Ubuntu Linux Windows
两种Ubuntu和Windows互相共享文件夹的方法
两种Ubuntu和Windows互相共享文件夹的方法
|
4月前
|
Ubuntu Shell 数据安全/隐私保护
百度搜索:蓝易云【Ubuntu密码忘记怎么办 Ubuntu重置root密码方法】
完成上述步骤后,Ubuntu系统的root密码应该已经被成功重置为你设置的新密码。请确保在重置密码后牢记新密码。
51 0
|
12天前
|
Ubuntu Unix Linux
|
13天前
|
Ubuntu 网络安全 数据安全/隐私保护
ubuntu启动宝塔的方法是什么
宝塔面板应该已经成功启动,并且你可以使用它来管理你的服务器和网站。请确保你已经安装并配置了宝塔面板,以便在启动后进行管理。
20 1
|
5月前
|
Ubuntu 数据可视化 Linux
Ubuntu下载、安装QGIS软件的方法
Ubuntu下载、安装QGIS软件的方法
|
2月前
|
存储 Ubuntu
Ubuntu查看系统日志的几种方法
Ubuntu查看系统日志的几种方法
|
7月前
|
Ubuntu Linux Apache
百度搜索:蓝易云【Ubuntu系统中找不到yum及安装方法!】
请记住,使用apt进行软件包管理是在Ubuntu系统中的推荐做法。如果您需要在Ubuntu系统中安装特定的软件包,请使用apt命令而不是yum希望这个回答对您有帮助,并解决了您在Ubuntu系统中找不到yum的问题。
783 4
|
4月前
|
存储 缓存 监控
自己整理的Ubuntu NFS常用指令及调优方法
NFS(Network File System)网络文件系统是一种分布式文件系统协议,最初由Sun Microsystems开发,并在1984年首次发布。 NFS允许不同计算机通过网络共享资源,特别是文件和目录,就像它们是本地存储的一部分一样。使用NFS的客户端可以挂载远程服务器上的文件系统,使得用户能够以透明的方式访问远程数据,实现跨多个系统的文件共享。
59 0
|
5月前
|
Ubuntu Linux 开发工具
Linux Ubuntu配置Git的方法
Linux Ubuntu配置Git的方法