摘要: 一、关闭虚拟机防火墙 二、VMware设置 1.先查看主机默认网关地址。2.配置NAT模式子网ip。3.设置NAT网关 三、虚拟机中设置 四、主机中测试连接 阅读全文
posted @ 2020-03-15 13:41 a729360471 阅读(1243) 评论(0) 推荐(0) 编辑
摘要: //设置单元格 public ICellStyle SetStyle(ref IWorkbook workbook,short background,short color) { ICellStyle style = workbook.CreateCellStyle(); { style.Align 阅读全文
posted @ 2020-03-14 20:33 a729360471 阅读(1000) 评论(0) 推荐(0) 编辑
摘要: pycharm修改镜像 1、常用镜像源 清华:https://pypi.tuna.tsinghua.edu.cn/simple/ 阿里云:http://mirrors.aliyun.com/pypi/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/si 阅读全文
posted @ 2020-03-09 16:35 a729360471 阅读(2168) 评论(0) 推荐(0) 编辑
摘要: public static int PostFile(string getUrl, CookieContainer cookieContainer, HttpHeader header, string postdata, byte[] postdatabyte, Stream sm) { Strea 阅读全文
posted @ 2020-02-25 17:31 a729360471 阅读(1015) 评论(0) 推荐(0) 编辑
摘要: 第一步:下载并安装erlang 原因:RabbitMQ服务端代码是使用并发式语言Erlang编写的,安装Rabbit MQ的前提是安装Erlang。 下载地址:http://www.erlang.org/downloads 原因:RabbitMQ服务端代码是使用并发式语言Erlang编写的,安装Ra 阅读全文
posted @ 2019-10-25 15:57 a729360471 阅读(10959) 评论(1) 推荐(1) 编辑
摘要: 前提 zookeeper安装参考:https://www.cnblogs.com/JustinLau/p/11372782.html 其他安装参考:https://www.cnblogs.com/luotianshuai/p/5206662.html 安装Kafka前需要先安装zookeeper集群 阅读全文
posted @ 2019-08-18 16:58 a729360471 阅读(1976) 评论(0) 推荐(0) 编辑
摘要: 1:安装java 环境 yum -y install java-1.8.0-openjdk* 2:zookeeper 安装 (官网 http://www.apache.org/dyn/closer.cgi/zookeeper/) 2.1 目录创建 自定义文件目录(根据实际情况定义) mkdir /o 阅读全文
posted @ 2019-08-18 16:22 a729360471 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 环境 系统:CentOS 7 软件:alertmanager-0.18.0.linux-amd64.tar.gz 安装 下载二进制包 地址:https://prometheus.io/download/ 安装 # tar -xzvf alertmanager-0.18.0.linux-amd64.t 阅读全文
posted @ 2019-08-15 04:20 a729360471 阅读(507) 评论(0) 推荐(0) 编辑
摘要: Mysql安装 下载mysql离线安装包 https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.27-1.el7.x86_64.rpm-bundle.tar 解压后执行安装: cd /root/mysql-5.7.27-1.el7.x86_64.r 阅读全文
posted @ 2019-08-13 12:02 a729360471 阅读(2718) 评论(0) 推荐(1) 编辑
摘要: CentOS7离线安装Nginx(详细安装过程) 1、安装gcc、g++ 下载好所需的文件后上传至服务器(下载地址:https://download.csdn.net/download/a729360471/11532984) 当执行下面的语句后,系统会自动选出所需的依赖包进行安装,不需要的就会自动 阅读全文
posted @ 2019-08-13 03:25 a729360471 阅读(11066) 评论(2) 推荐(0) 编辑