上一页 1 2 3 4 5 6 ··· 16 下一页

2021年5月17日

摘要: /** * 判断是否为搜索引擎蜘蛛 * * @author Eddy * @return bool */ function isCrawler() { $agent= strtolower($_SERVER['HTTP_USER_AGENT']); if (!empty($agent)) { $sp 阅读全文

posted @ 2021-05-17 10:37 黔人阿诺 阅读(64) 评论(0) 推荐(0) 编辑

2021年5月15日

摘要: ps=`ps -efl|grep redis|grep -v $0|grep -v grep|wc -l` if [ $ps -eq 0 ]; then rm -f /www/server/redis/redis.pid echo -e "\n$(date '+%Y-%m-%d %H:%M:%S') 阅读全文

posted @ 2021-05-15 08:57 黔人阿诺 阅读(142) 评论(0) 推荐(0) 编辑

2021年5月7日

摘要: my.cnf文件中添加bind-address=0.0.0.0 阅读全文

posted @ 2021-05-07 03:29 黔人阿诺 阅读(424) 评论(0) 推荐(0) 编辑

2021年4月30日

摘要: 问题起源:手贱yum upgrade,重启服务器后无法使用vnc viewer远程连接 查看状态 # systemctl status vncserver@:1● vncserver@:1.service - Remote desktop service (VNC) Loaded: loaded ( 阅读全文

posted @ 2021-04-30 17:31 黔人阿诺 阅读(618) 评论(0) 推荐(0) 编辑

2021年4月15日

摘要: 解决方法:使用find命令查找逐个移动,命令如下: find sourcePath/ -name "*.txt" -exec mv {} targetPath/ \; 阅读全文

posted @ 2021-04-15 11:57 黔人阿诺 阅读(66) 评论(0) 推荐(0) 编辑

2021年3月5日

摘要: 解决办法:在my.ini里找到sql-mode=”STRICT_TRANS_TABLES,NO_AUTO_Create_USER,NO_ENGINE_SUBSTITUTION”把其中的STRICT_TRANS_TABLES,去掉,或者把sql-mode=STRICT_TRANS_TABLES,NO_ 阅读全文

posted @ 2021-03-05 16:04 黔人阿诺 阅读(434) 评论(0) 推荐(0) 编辑

2020年11月30日

摘要: 下载 http://mirrors.aliyun.com/centos/8.2.2004/isos/x86_64/CentOS-8.2.2004-x86_64-minimal.iso http://download.virtualbox.org/virtualbox/6.1.16/VBoxGuest 阅读全文

posted @ 2020-11-30 16:49 黔人阿诺 阅读(392) 评论(0) 推荐(0) 编辑

2020年6月8日

摘要: 阅读全文

posted @ 2020-06-08 13:30 黔人阿诺 阅读(131) 评论(0) 推荐(0) 编辑

2019年9月11日

摘要: urls=('www.baidu.com' 'mm.yellowurl.cn' 'm.yellowurl.cn' 'http://m.yellowurl.cn/product/a.html'); for i in ${urls[@]}; do http_code=$(curl -I -s $i -w %{http_code}); echo $i status: ${http_code:9:3}; 阅读全文

posted @ 2019-09-11 22:21 黔人阿诺 阅读(548) 评论(0) 推荐(0) 编辑

2019年6月24日

摘要: 前提条件:1 ibdata1 被删除 2 数据库文件还存在 特别是 ibd文件 3 原来数据库表结构及索引还在 恢复步骤: 1. 将原来的数据文件COPY到其它目录下。 2. 创建同名表,表结构必须保持一致。 3. 导出表空间 mysql> ALTER TABLE t DISCARD TABLESP 阅读全文

posted @ 2019-06-24 12:20 黔人阿诺 阅读(1434) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 16 下一页