Ubuntu更新源切换为香港中文大学

lcy6个月前 (03-15)技术文章299

1、更新源nano /etc/apt/sources.list在sources.list中加入以下代码:

deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-security main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-updates main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty-backports main restricted universe multiverse

相关文章

Ubuntu Server LTS 20.04 安装桌面

Ubuntu server版安装后没有图形界面,为了管理方便,安装完成后,即可安装界面和远程桌面工具。1、更新源nano /etc/apt/sources.list在sources.list中加入以下...

ubuntu 一键安装docker

以下是在 Ubuntu 上一键安装 Docker 的方法: 使用 curl 命令下载 Docker 安装脚本: curl -fsSL https://get.docker.com -o get...

Ubuntu20.04 通过netplan 配置静态ip

要在Ubuntu 20.04上使用netplan配置静态IP,请按照以下步骤进行操作: 打开 /etc/netplan/ 目录下的 yaml 配置文件,例如 01-netcfg.yaml。 在...

macos 安装vue 运行环境

在 MacOS 上安装 Vue 运行环境需要以下步骤: 安装 Node.js:Vue 需要依赖 Node.js 运行环境,可以从官网下载并安装:https://nodejs.org/en/dow...

git 常用命令以及解释

以下是git常用命令及其解释: git init初始化一个新的Git仓库 git add [文件名]将指定文件添加到暂存区 git commit -m “提交信息”将暂存区的内容提交到本地仓...

Mac下使用Wireshark抓iphone手机数据包

首先需要用数据线连接手机 终端输入 rvictl -s iphone设备id 断开链接执行 rvictl -x iphone设备id...

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。