上一页 1 ··· 8 9 10 11 12 13 14 15 下一页
摘要: import pymysql # 在这之前需要给mysql授登录权限 grant all on "." to 'root'@'%' identified by "123456"; 否则会导致连接时出错 # flush privileges; #创建连接 conn = pymysql.connect(host='127.0.0.1',port=3306,user='root',p... 阅读全文
posted @ 2018-05-13 16:35 想翻身的猫 阅读(180) 评论(0) 推荐(0) 编辑
摘要: Title 选择 主机名 端口 ... 阅读全文
posted @ 2018-05-13 14:36 想翻身的猫 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Title 菜单一 内容1 内容1 内容1 菜单二 ... 阅读全文
posted @ 2018-05-13 14:35 想翻身的猫 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 接着可以直接输入iftop 可检测当前ip流量数据 阅读全文
posted @ 2018-05-06 10:43 想翻身的猫 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 参考文章:http://blog.xieyc.com/differences-between-a-record-and-cname-record/ A (Address) 记录是用来指定主机名(或域名)对应的IP地址记录。用户可以将该域名下的网站服务器指向到自己的web server上。同时也可以设 阅读全文
posted @ 2018-04-29 10:07 想翻身的猫 阅读(5373) 评论(0) 推荐(1) 编辑
摘要: 版本:Mysql 5.6.38 1、 安装cmake # tar xzvf cmake-2.8.8.tar.gz # cd cmake-2.8.8 # ./configure # gmake # gmake install 2、安装 curses-devel gcc # yum -y install curses-devel gcc 3、创建用户、组 # useradd -s /sbin/n... 阅读全文
posted @ 2018-04-25 08:35 想翻身的猫 阅读(209) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_29721419/article/details/70310183 阅读全文
posted @ 2018-04-23 20:58 想翻身的猫 阅读(1664) 评论(0) 推荐(0) 编辑
摘要: zip list1=[1,2,3] list2=['a','b','c'] dict(zip(list1,list2)) {1: 'a', 2: 'b', 3: 'c'} 阅读全文
posted @ 2018-04-23 20:18 想翻身的猫 阅读(165) 评论(0) 推荐(0) 编辑
摘要: def bin_search(data_set, val): low = 0 high = len(data_set) - 1 while low <= high: mid = (low + high) //2 if data_set[mid] == val: return mid elif da... 阅读全文
posted @ 2018-04-23 19:50 想翻身的猫 阅读(231) 评论(0) 推荐(0) 编辑
摘要: Samba共享服务器 先将selinux关闭和防火墙端口号打开 139 445 #iptables -A INPUT -p udp -dport 137 -j ACCEPT #iptables -A INPUT -p udp -dport 138 -j ACCEPT iptables -A INPUT -p tcp -dport 139 -j ACCEPT iptables -A INPUT -... 阅读全文
posted @ 2018-04-23 12:37 想翻身的猫 阅读(168) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 下一页