随笔分类 -  Linux

Linux
摘要:前置条件 Docker 安装 Elasticsearch ### 部署服务端 skywalking-oap-server docker pull apache/skywalking-oap-server:8.1.0-es7 docker run --name skywalking-oap-serve 阅读全文
posted @ 2021-05-21 14:46 VipSoft 阅读(998) 评论(0) 推荐(0) 编辑
摘要:为了Skywalking 准备 elasticsearch 至少 需要2G内存 docker pull elasticsearch:7.9.3 docker run --name elasticsearch -p 9200:9200 -p 9300:9300 \ -e "discovery.type 阅读全文
posted @ 2021-05-19 19:40 VipSoft 阅读(346) 评论(0) 推荐(0) 编辑
摘要:https://hub.docker.com/r/sebp/elk 安装ELK镜像 docker pull sebp/elk:793 启动 elk 容器 docker run --name elk --restart always \ -d -p 5601:5601 -p 9200:9200 -p 阅读全文
posted @ 2021-05-19 18:09 VipSoft 阅读(762) 评论(0) 推荐(0) 编辑
摘要:每5分钟检查一次,如果不在线就重启 #!/bin/bash count=`ps axu | grep kafka_2.11-1.0.0|grep -v grep|wc -l` echo "process count => "countif["count" != 0 ];then echo 阅读全文
posted @ 2021-03-02 17:16 VipSoft 阅读(119) 评论(0) 推荐(0) 编辑
摘要:放行FTP服务器 TCP 21端口及FTP服务器被动1024/65535端口 阅读全文
posted @ 2021-01-25 14:23 VipSoft 阅读(190) 评论(0) 推荐(0) 编辑
摘要:[root@centos-linux jimmy]# firewall-cmd --state not running [root@centos-linux jimmy]# sysctl net.ipv4.ip_forward net.ipv4.ip_forward = 0 [root@centos 阅读全文
posted @ 2020-07-04 00:13 VipSoft 阅读(1016) 评论(0) 推荐(0) 编辑
摘要:简单安装为了集成 SpringBoot,真实使用,增加增加更多配置,比如将log映射出来 1.安装 zookeeper [root@centos-linux ~]# docker pull wurstmeister/zookeeper [root@centos-linux ~]# docker pu 阅读全文
posted @ 2020-07-03 22:35 VipSoft 阅读(1406) 评论(0) 推荐(2) 编辑
摘要:1. 创建仓库 管理里面,可以查看详细的信息 设置登录密码 2. 接下来,将本地镜像推到阿里 : SpringBoot Docker 发布 docker commit 这部分可以不操作 docker commit -m "提交信息" -a "作者" 容器id 要创建的目标镜像名:标签名 [root@ 阅读全文
posted @ 2020-06-27 20:31 VipSoft 阅读(386) 评论(0) 推荐(0) 编辑
摘要:本文是手动模式,可以移步 Intellij IDEA 集成 Docker 发布 使用 Intellij 集成Docker 发布,比较方便 pom 文件 <groupId>com.vipsoft.boot</groupId> <artifactId>vipsoft-web-boot</artifact 阅读全文
posted @ 2020-06-27 19:01 VipSoft 阅读(700) 评论(0) 推荐(0) 编辑
摘要:配置好后 重新加载一下 daemon [root@centos-linux jimmy]# systemctl daemon-reload [root@centos-linux jimmy]# systemcel restart docker 重启后,docker pull 就会有飞一般的感觉 如果 阅读全文
posted @ 2020-06-25 23:35 VipSoft 阅读(837) 评论(0) 推荐(0) 编辑
摘要:将文件上传至 /opt 目录下 [root@localhost opt]# ll total 63704 -rw-r--r--. 1 root root 9181276 Mar 28 11:07 apache-maven-3.6.1-bin.zip drwxr-xr-x. 7 root root 8 阅读全文
posted @ 2020-04-19 21:09 VipSoft 阅读(167) 评论(0) 推荐(0) 编辑
摘要:配置 Nginx 可以把.conf 文件拉到本地,配置好再传上去 #gzip on; upstream cluster{ server 192.168.0.113:8848; server 192.168.0.110:8848; server 192.168.0.109:8848; } server 阅读全文
posted @ 2020-04-19 21:00 VipSoft 阅读(3128) 评论(0) 推荐(0) 编辑
摘要:三台虚机的IP地址被DHCP重分了一下1.MySQL 配置 先建一个 nacos_config 数据库 将SQL执行(方法很多,选自己喜欢的就行) 2.修改 application.properties 配置文件(application.properties.example 是示例) 先备份一下 v 阅读全文
posted @ 2020-04-19 19:00 VipSoft 阅读(1362) 评论(0) 推荐(0) 编辑
摘要:虚机准备、Nacos 文件准备、MySQL 5.7 安装 https://nacos.io/zh-cn/docs/cluster-mode-quick-start.html 根据官网要求,至少3个节点(VM VirtualBox 比VMWare占资源要少些) 2.用 SecureCRT(工具无所谓, 阅读全文
posted @ 2020-04-13 00:11 VipSoft 阅读(2006) 评论(0) 推荐(0) 编辑
摘要:1.安装 docker-compose 将 docker-compose-Linux-x86_64 传到 /usr/local/bin 目录下,并改名为 docker-compose 2.设置权限 [root@localhost ~]# chmod +x /usr/local/bin/docker- 阅读全文
posted @ 2020-03-28 17:22 VipSoft 阅读(1896) 评论(0) 推荐(0) 编辑
摘要:首先创建一个镜像,点击:创建一个简单的Docker镜像 1.先注册帐号 https://hub.docker.com/ 2.将镜象推上去 [root@localhost docker]# docker login [root@localhost docker]# docker tag hello-k 阅读全文
posted @ 2020-03-28 14:26 VipSoft 阅读(557) 评论(0) 推荐(0) 编辑
摘要:1. 创建 Dockerfile 文件、index.html测试页面 [root@localhost docker]# vi Dockerfile FROM nginx:1.17.6 #基于 nginx 1.17,在build 时,会自动pull 一个 1.17.6 版本的 nginx ENV LA 阅读全文
posted @ 2020-03-28 13:35 VipSoft 阅读(2164) 评论(0) 推荐(0) 编辑
摘要:[root@localhost ~]# docker pull zookeeper Using default tag: latest latest: Pulling from library/zookeeper 68ced04f60ab: Already exists 4874c5772968: 阅读全文
posted @ 2020-03-22 17:36 VipSoft 阅读(829) 评论(0) 推荐(0) 编辑
摘要:安装 ElasticSearch https://www.elastic.co/guide/cn/index.html [root@localhost ~]# docker pull elasticsearch Using default tag: latest latest: Pulling fr 阅读全文
posted @ 2020-03-22 16:27 VipSoft 阅读(445) 评论(0) 推荐(0) 编辑
摘要:ob for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for detail 阅读全文
posted @ 2020-03-13 15:18 VipSoft 阅读(19505) 评论(2) 推荐(0) 编辑

点击右上角即可分享
微信分享提示