愤怒中的小草

博客园 首页 新随笔 联系 订阅 管理

2019年11月6日 #

摘要: 1. 首先下载node.js安装 下载地址:https://nodejs.org/en/download/ 2. 安装vue脚手架 在cmd命令里面输入 npm install -g @vue/cli 3. 安装 node_modules 项目执行 npm run serve 阅读全文
posted @ 2019-11-06 19:39 愤怒中的小草 阅读(172) 评论(0) 推荐(0) 编辑

2019年8月22日 #

摘要: 场景:前端(VUE.js)应用部署在linux服务器,需要支持http和https访问。 问题1:阿里服务器不支持域名访问? 通过域名绑定服务器解决 问题2:如何通过http访问前端 前端通过nginx访问反向代理,在浏览器直接访问。 问题3:如何通过https访问前端 由于通过nginx反向代理是 阅读全文
posted @ 2019-08-22 20:10 愤怒中的小草 阅读(287) 评论(0) 推荐(0) 编辑

2019年8月18日 #

摘要: import requestsimport os#url 请求def getHTMLText(url): try: r = requests.get(url, timeout = 30) r.raise_for_status() #如果状态不是200,引发HttpError异常 r.encoding 阅读全文
posted @ 2019-08-18 20:15 愤怒中的小草 阅读(166) 评论(0) 推荐(0) 编辑

2019年8月14日 #

摘要: 安装python3.6可能使用的依赖 yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap 阅读全文
posted @ 2019-08-14 10:04 愤怒中的小草 阅读(597) 评论(0) 推荐(0) 编辑

2019年8月12日 #

摘要: 1 阅读全文
posted @ 2019-08-12 11:00 愤怒中的小草 阅读(1938) 评论(0) 推荐(0) 编辑

2019年8月7日 #

摘要: 技术体系: gateway nacos 20190807 第一步:理请学习阿里中台的思想,了解搭建超级API的思路 阅读全文
posted @ 2019-08-07 21:22 愤怒中的小草 阅读(608) 评论(0) 推荐(0) 编辑

2019年7月8日 #

摘要: 1.下载并启动zookeeper 2.下载配置storm 官网地址 http://apache.fayea.com/storm 下载版本为 apache-storm-2.0.0 添加环境变量 修改配置文件 启动 命令查看 界面查看 http://127.0.0.1:8080/index.html 阅读全文
posted @ 2019-07-08 10:55 愤怒中的小草 阅读(213) 评论(0) 推荐(0) 编辑

2019年7月4日 #

摘要: 基础知识 同nginx相比,traefik能够自动感知后端容器变化,从而实现自动服务发现。 traefik部署在k8s上分为daemonset和deployment两种方式各有优缺点: daemonset 能确定有哪些node在运行traefik,所以可以确定的知道后端ip,但是不能方便的伸缩 de 阅读全文
posted @ 2019-07-04 11:56 愤怒中的小草 阅读(4932) 评论(0) 推荐(0) 编辑

2019年7月3日 #

摘要: 1.在linux服务器下载nacos 首先安装git命令 yum install git 2.部署nfs 2.1 创建角色 rbac.yaml 命令及查看创建结果 [root@master nfs]# kubectl get clusterrole|grep nfs nfs-client-provi 阅读全文
posted @ 2019-07-03 09:50 愤怒中的小草 阅读(5504) 评论(0) 推荐(0) 编辑

2019年6月21日 #

摘要: yum install -y unzip zip 配置host 1. zookeeper zookeeper下载地址 http://mirror.bit.edu.cn/apache/zookeeper/zookeeper-3.4.14/zookeeper-3.4.14.tar.gz tar -zxv 阅读全文
posted @ 2019-06-21 19:23 愤怒中的小草 阅读(3244) 评论(0) 推荐(1) 编辑