08 2020 档案

摘要:常用命令 systemctl daemon-reloadsystemctl enable nginx.servicesystemctl status nginx.servicesystemctl stop nginxsystemctl start nginxsystemctl restart ngi 阅读全文
posted @ 2020-08-23 03:21 JeromePowell 阅读(430) 评论(0) 推荐(0) 编辑
摘要:* * * * * * - - - - - - | | | | | | | | | | | + year [optional] | | | | + day of week (0 - 7) (Sunday=0 or 7) | | | + month (1 - 12) | | + day of mont 阅读全文
posted @ 2020-08-23 03:04 JeromePowell 阅读(71) 评论(0) 推荐(0) 编辑
摘要:1、crontab定时任务 默认最小单位分钟级别,如果要实现秒级通常需要shell sleep等进行辅助控制实现。 例如:每30s执行一次 # 1. 多条crontab 每分钟一次,另一条sleep 30s后执行 # Need these to run on 30-sec boundaries, k 阅读全文
posted @ 2020-08-23 01:57 JeromePowell 阅读(443) 评论(0) 推荐(0) 编辑
摘要:-- 当数据库在有约束的情况下,无论进行删除或者更新操作,都会对相关表进行一个校验,判断相关表的相关记录是否被删除或者更新。 -- 在删除大量数据时,可以先禁用触发器,然后再进行删除。最后再优化一下表空间 -- 1.禁用触发器 ALTER TABLE table_name DISABLE TRIGG 阅读全文
posted @ 2020-08-23 00:18 JeromePowell 阅读(2434) 评论(0) 推荐(0) 编辑
摘要:from:https://blog.csdn.net/opensure/article/details/46047931 ipset介绍 iptables是在linux内核里配置防火墙规则的用户空间工具,它实际上是netfilter框架的一部分。可能因为iptables是netfilter框架里最常 阅读全文
posted @ 2020-08-22 23:55 JeromePowell 阅读(699) 评论(0) 推荐(0) 编辑
摘要:常用: kill -1 SIGHUP - hangup or exit a foreground running process from a terminal kill -1 向进程发送SIGHUP signal,对于不同类型的进程可能产生不一样的效果。如果pid对象为daemon,则kill - 阅读全文
posted @ 2020-08-22 20:12 JeromePowell 阅读(2423) 评论(0) 推荐(0) 编辑
摘要:docker ce安装 https://docs.docker.com/engine/install/centos/ docker hub image https://hub.docker.com/search?type=image 阅读全文
posted @ 2020-08-20 10:50 JeromePowell 阅读(73) 评论(0) 推荐(0) 编辑
摘要:Python MySQL版本 def delete_mysql_expired_data(db_name, table_name, time_field): """删除MySQL指定库指定表指定字段的数据""" time_end = get_font_6_last_second(t_type='ti 阅读全文
posted @ 2020-08-20 10:42 JeromePowell 阅读(461) 评论(0) 推荐(0) 编辑
摘要:图解 https://regexper.com/ https://jex.im/regulex/ 阅读全文
posted @ 2020-08-20 10:41 JeromePowell 阅读(274) 评论(0) 推荐(0) 编辑
摘要:安装: https://docs.timescale.com/latest/getting-started/installation/rhel-centos/installation-yum Github: https://github.com/timescale/timescaledb-tune 阅读全文
posted @ 2020-08-20 02:51 JeromePowell 阅读(766) 评论(0) 推荐(0) 编辑
摘要:转自:http://www.luyixian.cn/news_show_395768.aspx 记一次 Centos7 postgresql v11 安装时序数据库 TimescaleDB 2020/5/26 16:27:32 0 人评论 83 次浏览 分类:学习教程 一、数据库安装 根据自身环境需 阅读全文
posted @ 2020-08-20 02:47 JeromePowell 阅读(704) 评论(0) 推荐(0) 编辑
摘要:https://bbs.sangfor.com.cn/plugin.php?id=service:download 阅读全文
posted @ 2020-08-20 02:42 JeromePowell 阅读(70) 评论(0) 推荐(0) 编辑
摘要:在线安装: yum install -y nginx 离线安装 下载Nginx RPM:Index of /packages/centos/7/x86_64/RPMS/ http://nginx.org/packages/centos/7/x86_64/RPMS/ wget http://nginx 阅读全文
posted @ 2020-08-20 02:38 JeromePowell 阅读(244) 评论(0) 推荐(0) 编辑
摘要:官方参考文档: https://docs.docker.com/engine/reference/commandline/dockerd/ --iptables Enable addition of iptables rules (default true) --iptables=true Enab 阅读全文
posted @ 2020-08-20 02:14 JeromePowell 阅读(271) 评论(0) 推荐(0) 编辑
摘要:解压a.tar.gz压缩包中以one开头的文件或目录到/tmp目录中 tar -xzv -C /tmp -f a.tar.gz one* tar -xjvf a.tar.bz2 -C /tmp one* 阅读全文
posted @ 2020-08-20 02:03 JeromePowell 阅读(84) 评论(0) 推荐(0) 编辑
摘要:https://tools.ietf.org/rfc/rfc7239.txt 阅读全文
posted @ 2020-08-18 14:09 JeromePowell 阅读(231) 评论(0) 推荐(0) 编辑
摘要:https://ebtables.netfilter.org/documentation/docs.html https://ebtables.netfilter.org/misc/ebtables-man.html 阅读全文
posted @ 2020-08-18 14:06 JeromePowell 阅读(122) 评论(0) 推荐(0) 编辑
摘要:from:https://mirror.tuna.tsinghua.edu.cn/help/centos/ 清华CentOS 镜像使用帮助建议先备份 CentOS-Base.repo sudo cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d 阅读全文
posted @ 2020-08-18 13:55 JeromePowell 阅读(1404) 评论(0) 推荐(0) 编辑
摘要:from:https://www.cnblogs.com/hellojesson/p/10037315.html 执行DROP DATABASE testdb;的时候提示: ERROR: database "testdb" is being accessed by other users DETAI 阅读全文
posted @ 2020-08-18 13:47 JeromePowell 阅读(803) 评论(0) 推荐(0) 编辑
摘要:1、ceontos bash: ip command not found yum install -y initscripts或者yum install -y iproute2 iproute2-doc bash: lsof: command not found yum install -y lso 阅读全文
posted @ 2020-08-18 13:40 JeromePowell 阅读(334) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示