上一页 1 2 3 4 5 6 7 8 ··· 14 下一页
摘要: 一、环境准备docker中安装uwsgi报错:ERROR: Command errored out with exit status 1,需要安装以下组件ubuntu: apt install build-essential #安装gccubuntu: apt install python3-dev 阅读全文
posted @ 2021-11-24 11:32 風£飛 阅读(247) 评论(0) 推荐(0) 编辑
摘要: find之强大毋庸置疑,此处只是带领大家一窥find门径,更详细的说明见man find和info find。 一、Get Start最简单的find用法莫过于如此: $ find . 查找当前目录下的所有文件。find命令的一般格式为: find [-H] [-L] [-P] [path...] 阅读全文
posted @ 2021-07-30 12:44 風£飛 阅读(172) 评论(0) 推荐(0) 编辑
摘要: [root@ansible ~]# yum -y install ansible[root@ansible ~]# yum remove ansible [root@ansible ~]# ansible-doc cron #查看cron模块详细帮助信息[root@ansible ~]# ansib 阅读全文
posted @ 2021-07-23 11:06 風£飛 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 在python项目中,通常我们要将功能划分为多个文件,可能出现一些,各模块需要一些公共的值、实例,同时相互存在循环引用的问题。这种循环引用在 静态语 中一般没有问题,python中无法正常运行。本文指导明如何简单的解决这个问题。 出错信息为:cannot import name 'xxx' from 阅读全文
posted @ 2021-07-21 17:49 風£飛 阅读(92) 评论(0) 推荐(0) 编辑
摘要: [root@localhost ~]# docker pull registry[root@localhost ~]# cat /opt/registry/config.yml #registry容器中/etc/docker/registry/目录下有该文件,增加删除私有仓库镜像功能 version 阅读全文
posted @ 2021-07-09 15:45 風£飛 阅读(71) 评论(0) 推荐(0) 编辑
摘要: yum install -y cronie #安装定时任务服务systemctl restart crond.service #重启定时任务服务 定时任务没有运行,查看cron运行日志tail -f /var/log/cron报如下错误:May 8 10:14:01 localhost crond[ 阅读全文
posted @ 2021-07-03 19:07 風£飛 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Nghttp2编译安装nghttp2-1.24.0.tar.bz2./configure --prefix=/usr/local/nghttp2 && make && make installln -sv /usr/local/nghttp2/lib/libnghttp2.so.14 /usr/li 阅读全文
posted @ 2021-06-01 20:00 風£飛 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 1、docker安装CentOS中安装wget -P /etc/yum.repos.d/ https://download.docker.com/linux/centos/docker-ce.repoyum list docker-ce --showduplicates | sort -r #查看可 阅读全文
posted @ 2021-05-26 16:05 風£飛 阅读(195) 评论(0) 推荐(0) 编辑
摘要: python环境为python3.8版本 File "deploy.py", line 305, in <module> File "deploy.py", line 271, in mainUnicodeEncodeError: 'ascii' codec can't encode charact 阅读全文
posted @ 2021-05-21 14:52 風£飛 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 一、生成requirements.txt依赖包文件方法1、使用pip freeze命令生成 [root@localhost project]# pip freeze > requirements.txt 2、使用pipreqs命令生成#安装pipreqs命令 [root@localhost proj 阅读全文
posted @ 2021-05-20 09:51 風£飛 阅读(121) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 14 下一页