上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 76 下一页
摘要: ${project.basedir}/src/main/resources true static/layuiadmin/layui/font/** ${project.basedir}/src/main/resources false static/layuiadmin/layui/font/** ... 阅读全文
posted @ 2019-02-28 14:41 ahuo 阅读(470) 评论(0) 推荐(0) 编辑
摘要: 错误:使用Nginx的反向代理访问tomcat时400错误。 upstream配置: upstream java_test{ server 127.0.0.1:8080; } 原因:nginx中upstream后面的名称不能使用下滑线,Nginx不能识别。 解决:将java_test改成java-t 阅读全文
posted @ 2019-02-22 09:50 ahuo 阅读(519) 评论(0) 推荐(0) 编辑
摘要: windows:mongod.exe --logpath D:\mongodb\logs\mongodb.log --logappend --dbpath D:\mongodb\data --directoryperdb --serviceName MongoDB --install 阅读全文
posted @ 2019-02-20 10:29 ahuo 阅读(167) 评论(0) 推荐(0) 编辑
摘要: while true do nc -vz 127.0.0.1 1234 rs=$? echo $rs if [ $rs -gt 0 ] then echo "1" ls else echo "0" ls -l fi sleep 2 done 阅读全文
posted @ 2019-01-16 16:53 ahuo 阅读(412) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ import itchat, time def lc(): print("Finash Login!") def ec(): print("exit") itchat.auto_login(loginCallback=... 阅读全文
posted @ 2019-01-02 15:43 ahuo 阅读(177) 评论(0) 推荐(0) 编辑
摘要: mount: wrong fs type, bad option, bad superblock on 125.64.41.244:/data/img, missing codepage or helper program, or other error (for several filesyste 阅读全文
posted @ 2018-12-26 12:33 ahuo 阅读(438) 评论(0) 推荐(0) 编辑
摘要: hydra -L user.txt -P pass.txt -o savessh.log -f -vV -e ns 10.0.5.24 sshhydra -L user.txt -P sup.txt -o savessh.log -f -vV -e ns 113.105.144.130 mysql 阅读全文
posted @ 2018-12-26 10:55 ahuo 阅读(175) 评论(0) 推荐(0) 编辑
摘要: vi /etc/pam.d/sshd #%PAM-1.0auth required pam_tally2.so deny=3 unlock_time=600 even_deny_root root_unlock_time=1200 查看错误登录次数:pam_tally2 -u root pam_ta 阅读全文
posted @ 2018-12-20 09:38 ahuo 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 建同步用户CREATE USER 'repl'@'%' IDENTIFIED BY 'repl123';GRANT REPLICATION SLAVE ON *.* TO 'repl'@'%'; *************主[mysqld]log-bin=mysql-binserver-id=1bi 阅读全文
posted @ 2018-12-10 11:12 ahuo 阅读(223) 评论(0) 推荐(0) 编辑
摘要: # 下载yum源的rpm包wget https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm# 安装rpm包rpm -Uvh mysql57-community-release-el7-11.noarch.rpm # 阅读全文
posted @ 2018-12-10 10:24 ahuo 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 删除原有的mariadbrpm -qa|grep mariadbrpm -e --nodeps mariadb-libs 安装rpm -ivh mysql-community-common-5.7.20-1.el7.x86_64.rpmrpm -ivh mysql-community-libs-5. 阅读全文
posted @ 2018-12-07 14:23 ahuo 阅读(849) 评论(2) 推荐(0) 编辑
摘要: 1Setting -> build-compiler 勾选 Build project automatically选项 2 快捷键Ctrl + Shift + A查找registry命令: 在查找到的registry命令通过鼠标双击或敲回车键,在弹出的面板中搜索关键字automake, 找到并勾选 阅读全文
posted @ 2018-12-07 10:42 ahuo 阅读(4566) 评论(0) 推荐(0) 编辑
摘要: import cv2 import dlibimport jsonface_detector = dlib.get_frontal_face_detector() cap = cv2.VideoCapture("rtsp://admin:123@192.168.0.244:554/h264/ch6/ 阅读全文
posted @ 2018-11-28 14:06 ahuo 阅读(586) 评论(1) 推荐(0) 编辑
摘要: 1.Ctrl+ALT+F1 进入控制台 2.输入用户名和密码进入系统 3.输入以下命令: cd /etc/X11 sudo cp xorg.conf.failsafe xorg.conf sudo reboot 进入系统后感觉到明显的卡顿,查看分辨率很低,而且在vm下无法全屏 解决办法: sudo 阅读全文
posted @ 2018-11-26 17:07 ahuo 阅读(363) 评论(0) 推荐(0) 编辑
摘要: cd /etc/sysconfig/network-scripts/ #进入网卡目录 cp ifcfg-eth0 ifcfg-eth0:1 # 复制出ifcfg-eth0:1虚拟网卡 vi ifcfg-eth0:1 #配置ifcfg-eth0:1虚拟网卡 DEVICE="eth0:1" #修改名称 阅读全文
posted @ 2018-11-23 14:53 ahuo 阅读(1900) 评论(1) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 76 下一页