当前位置:首页 > linux > 正文内容

linux 更换apt的源

root6年前 (2020-11-04)linux1340
sudo sed -i 's/archive.ubuntu.com/mirrors.ustc.edu.cn/g' /etc/apt/sources.list

archive.ubuntu.com源换为mirrors.ustc.edu.cn 更换的文件是/etc/apt/sources.list

扫描二维码推送至手机访问。

版权声明:本文由一叶知秋发布,如需转载请注明出处。

本文链接:https://zhiqiu.top/?id=31

分享给朋友:

相关文章

How to remotely monitor hosts over Telnet and SSH [Tutorial]

python ssh登录服务器In this tutorial, you will learn how to carry out basic configurations on a server with Telnet and SSH co...

linux 安装某些C源码程序,出现的依赖问题

configure:error:no acceptable C compiler found in $PATH这里提示是缺少C的编译器这个时候需要安装C的编译器但是我冬日大神告诉我还要点别的省的出问题。执行下面搞定:apt ins...

linux 切割文件split

split --help 用法:split [选项]... [输入 [前缀]] 将输入内容拆分为固定大小的分片并输出到"前缀aa"、"前缀ab",...;...

linux添加用户,修改用户密码,设置文件/文件夹的归属用户和用户组 、 hostname

添加用户useradd  username  修改用户密码passwd username修改文件用户和用户组chown -R username:group  /project/修改归属用户chown&...

Cannot uninstall 'ipaddress'. It is a distutils installed project and thus

强制升级:sudo pip install --ignore-installed +模块名...

apach 启动失败 可能因为安全策略

apach 启动失败 可能因为安全策略

执行 setenforce 0再次启动systemctl restart httpdOK 搞定...