## 修改后 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
## 修改前 deb http://mirrors.cloud.aliyuncs.com/ubuntu/ bionic main deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ bionic main
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ bionic-updates main deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ bionic-updates main
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ bionic universe deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ bionic universe deb http://mirrors.cloud.aliyuncs.com/ubuntu/ bionic-updates universe deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ bionic-updates universe
创建并切换用户
1 2 3 4
useradd -m steam su steam bash # 切换到 bash 以保证命令行体验 cd ~
import subprocess from threading import Thread from queue import Queue, Empty import psutil from datetime import datetime import time import traceback import sys import os