上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 48 下一页
摘要: 外网要访问内网,内网出口必须有公网ip,且外网访问内部网络可以用花生壳,可以用主机端口映射 写ansible调api,打通内网到阿里云的master节点 如何将公司内网与云服务器内网打通 参照文档 https://www.aliyun.com/jiaocheng/138262.html 通过 Ope 阅读全文
posted @ 2018-12-03 17:15 effortsing 阅读(3611) 评论(0) 推荐(0) 编辑
摘要: 1、eureka 的作用 eureka 作用实现服务互调,比如订单服务 要调用商品服务 2、用容器搭建两个eureka实现互相注册要注意的问题 1)必须要用域名来注册, 2)把域名分别写到hosts里面 阅读全文
posted @ 2018-12-03 17:00 effortsing 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 参照文档 https://blog.csdn.net/yes_is_ok/article/details/79271965 https://blog.csdn.net/cl723401/article/details/82695973 阅读全文
posted @ 2018-12-02 20:21 effortsing 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 用下面这句话就可以实现插入mysql数据时候实现id自增create table shuju (id int(10) auto_increment primary key,name varchar(20) NOT NULL,pin varchar(20) NOT NULL之前遇到的问题:之前用pyc 阅读全文
posted @ 2018-12-02 17:29 effortsing 阅读(2277) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/buddyquan/p/6293503.html 阅读全文
posted @ 2018-12-01 22:34 effortsing 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 1、通过 pip 安装 pymysql [root@bogon ~]# pip install pymysql 2、测试连接 [root@bogon ~]# python Python 3.6.5 (default, Nov 22 2018, 03:13:09) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux Type "help", ... 阅读全文
posted @ 2018-12-01 21:51 effortsing 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 1、Pycharm No module named requests 的解决方法 pip install requests 然后重启pycharm 阅读全文
posted @ 2018-12-01 20:00 effortsing 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1、BeautifulSoup 解析html如何使用 转自:http://blog.csdn.net/u013372487/article/details/51734047 #!/usr/bin/python # -*- coding: UTF-8 -*- from bs4 import BeautifulSoup import re #待分析字符串 html_doc = """ ... 阅读全文
posted @ 2018-12-01 15:17 effortsing 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 1、python爬取贴吧壁纸 1.1、获取整个页面数据 #coding=utf-8 import urllib def getHtml(url): page = urllib.urlopen(url) html = page.read() return html html = getHtml("http://tieba.baidu.com/p/2738151262... 阅读全文
posted @ 2018-12-01 14:53 effortsing 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 6、linux突然所有命令消失 临时解决: export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin 永久解决: [root@bogon mysql]# /bin/vi /etc/profil 阅读全文
posted @ 2018-12-01 10:20 effortsing 阅读(207) 评论(0) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 48 下一页