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

2021年10月9日

摘要: #!/bin/sh date=`date +%Y%m%d\[%H:%M:%S]` n=`mysqladmin -uroot -p密码 processlist | grep -i sleep | wc -l` echo "sleep count:$n" if [ "$n" -gt 10 ]; then 阅读全文

posted @ 2021-10-09 13:02 黔人阿诺 阅读(221) 评论(0) 推荐(0)

2021年8月19日

摘要: delete from toutiao where title in (SELECT a.title from (select title from toutiao group by title having count(title) > 1) a )and id not in (SELECT b. 阅读全文

posted @ 2021-08-19 13:44 黔人阿诺 阅读(167) 评论(0) 推荐(0)

2021年7月23日

摘要: cd C:\Program Files\Oracle\VirtualBoxVBoxManage.exe setextradata centos8 VBoxInternal2/SharedFoldersEnableSymlinksCreate/wwwroot 1 centos8为主机名 wwwroot 阅读全文

posted @ 2021-07-23 16:37 黔人阿诺 阅读(96) 评论(0) 推荐(0)

摘要: mysql>use dbtest; mysql>set names utf8; mysql>source D:/www/sql/back.sql; 阅读全文

posted @ 2021-07-23 16:33 黔人阿诺 阅读(883) 评论(0) 推荐(0)

2021年7月16日

摘要: cd C:\Program Files\Oracle\VirtualBox //安装目录 VBoxManage.exe setextradata centos VBoxInternal2/SharedFoldersEnableSymlinksCreate/wwwroot 1 //centos 虚拟机 阅读全文

posted @ 2021-07-16 18:03 黔人阿诺 阅读(125) 评论(0) 推荐(0)

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 黔人阿诺 阅读(89) 评论(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 黔人阿诺 阅读(186) 评论(0) 推荐(0)

2021年5月7日

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

posted @ 2021-05-07 03:29 黔人阿诺 阅读(481) 评论(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 黔人阿诺 阅读(929) 评论(0) 推荐(0)

2021年4月15日

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

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

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