上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 29 下一页
摘要: https://zhuanlan.zhihu.com/c_1189883314197168128 45、ORM框架SQLAlchemy https://zhuanlan.zhihu.com/p/120953101 43、数据备份、pymysql模块 https://zhuanlan.zhihu.co 阅读全文
posted @ 2020-07-24 11:58 xiondun 阅读(312) 评论(0) 推荐(0) 编辑
摘要: js 时间戳转为日期格式 什么是Unix时间戳(Unix timestamp): Unix时间戳(Unix timestamp),或称Unix时间(Unix time)、POSIX时间(POSIX time),是一种时间表示方式,定义为从格林威治时间1970年01月01日00时00分00秒起至现在的 阅读全文
posted @ 2020-07-24 10:34 xiondun 阅读(1762) 评论(1) 推荐(0) 编辑
摘要: /** * 判断脚本是否在运行 * @param $script_name * @return array */ public function isRunning($script_name) { try { exec('sudo ps -aux | grep ' . $script_name, $ 阅读全文
posted @ 2020-07-23 13:16 xiondun 阅读(683) 评论(0) 推荐(0) 编辑
摘要: ## content systemLog: destination: file logAppend: false #path: /www/server/mongodb/log/config.log path: /dev/null # Where and how to store data. stor 阅读全文
posted @ 2020-07-23 11:27 xiondun 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 进程管理工具(Supervisor) 简介 Supervisor是用Python开发的一个client/server服务,是Linux/Unix系统下的一个进程管理工具,不支持Windows系统。它可以很方便的监听、启动、停止、重启一个或多个进程。用Supervisor管理的进程,当一个进程意外被杀 阅读全文
posted @ 2020-07-23 09:29 xiondun 阅读(1436) 评论(0) 推荐(0) 编辑
摘要: 解决MySQL不需要密码就能登录问题 因为执行了一个更改数据库root用户密码的命令,当我更改完后,发现用我新密码和旧密码都能登陆,于是感觉没有输密码,直接回车就能登录,而我在配置中也没有进行免密码登陆的操作,最后,执行了一条命令解决update user set plugin = "mysql_n 阅读全文
posted @ 2020-07-21 09:11 xiondun 阅读(2724) 评论(0) 推荐(0) 编辑
摘要: Ubuntu-18.04更改安装源为国内源 环境查看 修改源文件 1 /etc/apt/sources.list 备份配置文件后把文件内容替换如下 1 2 3 4 5 6 7 8 9 10 11 12 13 14 deb http://mirrors.aliyun.com/ubuntu/ bioni 阅读全文
posted @ 2020-07-20 15:12 xiondun 阅读(956) 评论(0) 推荐(0) 编辑
摘要: CentOS 7 yum安装 PHP7.3 教程 参考:https://www.mf8.biz/centos-rhel-install-php7-3/ 1、首先安装 EPEL 源: yum install epel-release 安装 REMI 源: yum install http://rpms 阅读全文
posted @ 2020-07-20 10:05 xiondun 阅读(2884) 评论(0) 推荐(0) 编辑
摘要: python 模拟键盘输入 一、PyUserInput安装 python3.5的PyMouse和PyKeyboard模块都集成到了PyUserInput模块中。在python3.5中,直接安装PyUserInput模块即可 PyUserInput模块安装前需要安装pywin32和pyHook模块 p 阅读全文
posted @ 2020-07-18 10:41 xiondun 阅读(7059) 评论(0) 推荐(0) 编辑
摘要: 1. 首先利用配置文件启动nginx。 命令: nginx -c /usr/local/nginx/conf/nginx.conf 重启服务: service nginx restart 2. 快速停止或关闭Nginx:nginx -s stop 3. 正常停止或关闭Nginx:nginx -s q 阅读全文
posted @ 2020-07-17 18:13 xiondun 阅读(170) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 29 下一页