摘要: iptables下开放ftp连接端口 转载 2014年04月19日 10:04:27 2275 转载 2014年04月19日 10:04:27 2275 iptables 就是linux系统的防火墙,很多人安装iptables之后重启服务器发现网站无法访问,ftp无法连接。关闭iptables之后网 阅读全文
posted @ 2018-04-16 22:49 夏天的麦田 阅读(975) 评论(0) 推荐(0)
摘要: centos7 关闭firewall安装iptables并配置 centos7 关闭firewall安装iptables并配置 时间:2015-01-10 12:34来源:linux.it.net.cn 作者:IT网 一、配置防火墙,开启80端口、3306端口 CentOS 7.0默认使用的是fir 阅读全文
posted @ 2018-04-16 18:35 夏天的麦田 阅读(119) 评论(0) 推荐(0)
摘要: path = [] while True: temp = db for item in path: temp = temp[item] print("当前所有的子节点:",list(temp.keys())) choice = input("1:添加节点;2:查看节点;(Q/b);\n>>>") if choice == "1": ... 阅读全文
posted @ 2018-04-16 13:29 夏天的麦田 阅读(277) 评论(0) 推荐(0)
摘要: Python 函数 # def test(x):# '''# 2*x+1# :param x:整形数字# :return: 返回计算结果# '''# y=2*x+1# return y## def test():# '''# 2*x+1# :param x:整形数字# :return: 返回计算结果 阅读全文
posted @ 2018-04-16 10:14 夏天的麦田 阅读(118) 评论(0) 推荐(0)