![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
李 东兵
python之旅
展开
-
Nginx+uwsgi+flask+centos7项目部署
一、确认服务器与客户端之间互通(检查网络 )ping 192.168.184.131 二、配置环境1.检查防火墙状态 systemctl status firewalld #(setenforce 0 次命令可暂时不使用) #暂停防火墙 systemctl stop firewalld2.将项目文件传到服务器上mkdir ~/downloads #后面用...原创 2020-02-17 00:06:05 · 640 阅读 · 0 评论 -
Python3.7安装报错 configure: error: no acceptable C compiler found in $PATH
[root@vultr Python-3.7.0]# ./configure --prefix=/usr/local/python3checking build system type... x86_64-pc-linux-gnuchecking host system type... x86_64-pc-linux-gnuchecking for python3.7... nocheck...原创 2020-02-10 19:06:37 · 5276 阅读 · 0 评论 -
crontab设置间隔时间执行python脚本
如果没有安装,安装命令yum install crontabs#列出crontab任务crontab -l这里截图显示有2个定时任务,每一行是一个任务比如第二个意思是:每间隔5分钟 执行命令: python3 ~/projects/csdn.py 并输出日子到~/csdn.py.log里面具体添加任务命令:crontab -e编辑好了esc :wq!保存即可...原创 2020-02-02 19:56:26 · 2663 阅读 · 0 评论