摘要: https://www.cnblogs.com/cungen/p/4096907.html 简单的安装过程可以在这里找到,这里主要说一下如何配置uwsgi的服务,将uwsgi服务加入系统进程,你可以使用如下两种方式安装 apt-get 该命令会自动将uwsgi安装为一个服务,在 /etc/init. 阅读全文
posted @ 2018-12-17 20:00 秋寻草 阅读(816) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/7f72a7f360f9 阅读全文
posted @ 2018-12-17 17:20 秋寻草 阅读(286) 评论(0) 推荐(0)
摘要: 在安装uwsgi时,提示缺少python.h 其实是缺少python-dev 手动下载对应版本的python-dev:http://archive.ubuntu.com/ubuntu/pool/main/p/python-defaults dpkg - i python-dev_2.7.14-2ub 阅读全文
posted @ 2018-12-17 17:00 秋寻草 阅读(1897) 评论(0) 推荐(0)
摘要: 问题: 执行sudo apt-get update提示:Failed to fetch 但是在虚拟机里面直接访问:http://ppa.launchpad.net/fkrull/deadsnakes-python2.7/ubuntu 是可以的啊 一、删除文件 sudo rm -rf /var/lib 阅读全文
posted @ 2018-12-17 15:06 秋寻草 阅读(7002) 评论(0) 推荐(0)
摘要: 一、下载 手动或者命令都行 wget http://www.python.org/ftp/python/2.7.12/Python-2.7.12.tar.xz 二、解压: #xz -d Python-2.7.6.tar.xz #tar xvf Python-2.7.6.tar #cd Python- 阅读全文
posted @ 2018-12-17 13:42 秋寻草 阅读(223) 评论(0) 推荐(0)