会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
maxiaohei
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
···
9
下一页
2019年1月25日
psql: FATAL: database "" does not exist 解决步骤
摘要: 问题描述 username@MaLiJun-Ubuntu:~/private$ psql psql: FATAL: database "username" does not exist 使用默认用户登陆默认数据库 1 creating role on pgsql with privilege as
阅读全文
posted @ 2019-01-25 18:57 mlj0503
阅读(16384)
评论(0)
推荐(0)
2018年8月29日
ubuntu下docker 安装、使用mysql
摘要: Docker 安装 MySQL(使用docker pull mysql) 安装 查找docker hub 上mysql镜像 docker search mysql 这里我选择使用官方标签为5.7的镜像 docker pull mysql:5.7 查看本地镜像列表,是否下载成功 docker imag
阅读全文
posted @ 2018-08-29 12:15 mlj0503
阅读(2248)
评论(0)
推荐(0)
2018年8月26日
ubuntu使用crontab启动定时任务
摘要: Ubuntu cron 定时执行任务 https://blog.csdn.net/qq_38228830/article/details/80545004 参考以上两篇博客,经过实践完成自己的定时任务 crontab命令 crontab 命令用于安装、删除或者列出用于驱动cron后台进程的表格。也就
阅读全文
posted @ 2018-08-26 20:17 mlj0503
阅读(793)
评论(0)
推荐(0)
2018年8月21日
python 获取sina/qq邮箱内容
摘要: sina使用邮箱密码,qq使用16位授权吗登陆
阅读全文
posted @ 2018-08-21 18:13 mlj0503
阅读(2312)
评论(0)
推荐(0)
2018年8月8日
使用dockerfile文件创建image
摘要: 在已有dockerfile文件的前提下 1 docker build -t mlj/wxbot_py2.7:0.1 . 2 docker images -a 查看刚刚启动的镜像(如果) REPOSITORY TAG IMAGE ID CREATED SIZE <none> <none> 354818
阅读全文
posted @ 2018-08-08 12:45 mlj0503
阅读(256)
评论(0)
推荐(0)
2018年7月23日
gunicorn 访问日志配置与项目启动
摘要: gunicorn_config.py 文件的使用案例 # coding=utf-8 import sys import os import multiprocessing path_of_current_file = os.path.abspath(__file__) path_of_current
阅读全文
posted @ 2018-07-23 19:15 mlj0503
阅读(6076)
评论(1)
推荐(0)
2018年7月5日
制作符合自己需求的镜像 docker image
摘要: 常用命令 镜像列表 docker images malijun@MaLiJun-Ubuntu:~/workdir/dockerpro/bitmexpro$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE bitmex 0.0.1 2fa73485
阅读全文
posted @ 2018-07-05 14:52 mlj0503
阅读(2649)
评论(0)
推荐(0)
linux 查看系统信息
摘要: 查看cpu信息 cat /proc/cpuinfo
阅读全文
posted @ 2018-07-05 12:26 mlj0503
阅读(234)
评论(0)
推荐(0)
docker container(容器)的使用方法
摘要: 相关概念 image: 用于创建容器的模板 container:独立运行的一个或一组应用(你创建的独立的工作环境) client:通过命令行与docker的守护进程通信 容器相关命名: run : 启动一个容器(以镜像为模板启动一个新的容器),一个镜像使用run命令启动容器需要注意 -it imag
阅读全文
posted @ 2018-07-05 11:58 mlj0503
阅读(5206)
评论(0)
推荐(0)
2018年6月8日
Unable to locate package pakage_name
摘要: 在 ubuntu .debian下安装失败报错 Unable to locate package XXX 解决办法: 1 升级 apt-get update 2 查看安装包名称是否正确 最后执行 apt-get install pakage_name
阅读全文
posted @ 2018-06-08 11:06 mlj0503
阅读(311)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
9
下一页
公告