换源

更换apt源为国内镜像源

# 备份原始源文件
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup

# 编辑源文件
sudo vim /etc/apt/sources.list

这里使用阿里云的镜像,打开sources.list,替换为以下内容

deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse

然后更新软件包

sudo apt update

sudo apt upgrade

使用代理

安装包时需要去 https://download.jitsi.org/stable/ 下载,但是国内下载会很慢,所以最好是开代理,由局域网另一台机子提供局域网访问的代理功能,本机使用另一台机子提供的代理服务

本机网络设置中找到类似代理功能的相关设置

image.png

image.png

终端配置代理

export http_proxy="http://另一台机子ip:port"
export https_proxy="http://另一台机子ip:port"

配置完成后打开浏览器检查是否正常访问google。

配置安装环境

安装前置依赖

sudo su
apt update
apt install apt-transport-https
apt-add-repository universe
apt update