标签:ted 存在 ubuntu mkdir ssl 路径 ubunt 使用 server搭建
环境:服务器 Ubuntu16.04,客户端 Ubuntu18.04,Python3环境
sudo pip install pypiserver
mkdir ~/packages
sudo pip install passlib
sudo apt install apache2-utils -y
htpasswd -sc ~/packages/.passwd.txt username
vim ~/.pypirc
[distutils]
index-servers =
local
[local]
repository: http://192.168.0.2:9898
username: username
password: passwd
python setup.py sdist upload -r local
pip install -i http://192.168.0.2:9898/ packagename --trusted-host 192.168.0.2
标签:ted 存在 ubuntu mkdir ssl 路径 ubunt 使用 server搭建
原文地址:http://blog.51cto.com/13801588/2296331