ubuntu 20.04 装机配置

ubuntu 20.04 装机配置

ubuntu 20.04 配置pip 源

1.安装pip

apt-get install python-pip python-dev build-essential

pip install --upgrade pip

pip install --upgrade virtualenv

sudo apt install net-tools

apt-get update -y
apt-get install -y iputils-ping

2.创建pip.config 文件

mkdir ~/.pip

vim ~/.pip/pip.conf

3.添加pip源

# 阿里源
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host=mirrors.aliyun.com
# nexus3源
[global]
index-url = https://nexus3.in/repository/pypi-aliyun/simple/
[install]
trusted-host=nexus3.in

https://hongbb.top/2019/01/22/UbuntuToDo/

https://sspai.com/post/60411

https://zhuanlan.zhihu.com/p/139305626

https://blog.diqigan.cn/posts/ubuntu-2004-optimization.html

https://zhuanlan.zhihu.com/p/71833109

https://yyixx.com/docs/os/ubuntu18_init/

posted @   michaelchengjl  阅读(1628)  评论(0编辑  收藏  举报
编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
点击右上角即可分享
微信分享提示