技术交流QQ群:①185473046   ②190706903   ③203744115   网站地图
登录

下次自动登录
现在位置 >首页 > Docker
0℃
2023年08月18日 Docker ⁄ 被围观 2,570次+
什么是ELK: ELK主要由ElasticSearch、Logstash和Kibana三个开源工具组成,还有其它轻量型数据采集器,如filebeat等组成的日志收集分析系统。 Elasticsearch :分布式搜索引擎,具有高可伸缩、高可靠、易管理等特点,可以用于全文检索、结构化检索和分析,并能将这三者结合起来,Elasticsearch 是用Java 基于 Lucene 开发,现在使用最广的开源搜索引擎之一。 Logstash :数据收集处理引擎,支持动态的从各种数据源搜集数据,并对数据进行过滤、分析、丰富、统一格式等操作,然后存储以供后续使用。 Kibana :可视...
阅读全文
0℃
2023年07月24日 Docker ⁄ 被围观 1,819次+
准备工作 在安装Docker之前,确保已经关闭SELINUX、关闭或卸载firewall、创建了Docker用户组,并且安装了iptables防火墙,系统内核版本为Linux 3.10及其以上版本。 1、关闭selinux #执行以下命令 setenforce 0 sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config 2、关闭firewall systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动 systemctl mask firewalld systemctl stop firewalld yum -y remove firewalld 3、添加docker用户组 group...
阅读全文
0℃
2021年12月03日 Docker ⁄ 被围观 3,537次+
Docker是一个开源的应用容器引擎,目前分为社区版本(CE)和企业版本(EE),一般使用社区版本。 CentOS系统下Docker目前支持CentOS 7.x 8.x 版本,系统内核版本为Linux 3.10及其以上版本。 一、安装前准备工作 1、CentOS使用rpm包升级系统内核 https://www.osyunwei.com/archives/12038.html 2、CentOS系统关闭selinux #执行以下命令 setenforce 0 sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config reboot #重启系统 /usr/sbin/sestatus -v #查看selinux状态,disabled表示关闭 [root@master01 ~]...
阅读全文
0℃
2021年11月03日 Docker ⁄ 被围观 4,957次+
CentOS 7.x 安装Docker-ce社区版本 https://www.osyunwei.com/archives/11592.html 搭建docker本地私有镜像仓库 https://www.osyunwei.com/archives/11928.html CentOS 7.x安装部署NFS文件共享服务器 https://www.osyunwei.com/archives/11942.html 使用Docker-Compose实现Docker容器编排 https://www.osyunwei.com/archives/11903.html 一、通过在Docker Swarm集群内每台服务器挂载nfs目录实现共享存储 1、在nfs服务器配置好挂载目录 /nfs 192.168.21.0/24(insecure,rw,sync,no_subtree_check,no_root_squash) 2...
阅读全文
0℃
2021年10月27日 Docker ⁄ 被围观 6,968次+
在使用Docker service create创建容器时,Docker首先默认从Docker Hub官方去下载镜像,这很不方便,很多时候我们的镜像都是使用Dockerfile自定义私有镜像,不对外公开,而且为了安全期间docker可能在内外环境下运行,所以我们有必要搭建一套docker本地私有镜像仓库,以供整个内外集群环境使用。 下面我们使用docker官方提供的registry镜像搭建私有仓库 一、搭建非https访问的私有镜像仓库 #私有镜像仓库服务器ip和对应域名,集群内所有服务器都提前做好解析 vi /etc/hosts #添加以下解析 192.168.21.8 hub.osyunw...
阅读全文
0℃
2021年10月18日 Docker ⁄ 被围观 4,572次+
本教程中用到的配置文件请参考下面的连接 Linux下使用Docker容器部署Web应用 https://www.osyunwei.com/archives/11855.html 一、基础概念 1、默认状态下,创建好的容器之间通过容器内部的虚拟ip是能够相互ping通和访问的 2、因为容器有可能在停止、重启等操作后容器内部ip地址发生变化,从而导致连接失败 3、一般不使用容器的虚拟ip来进行通信,而是使用容器的名称(docker run --name)来相互通信 4、Docker容器使用[容器的名称]进行相互通信有两种方式:Link 单向访问和 Bridge 网桥双向访问 5、使用Link 单向...
阅读全文
0℃
2021年10月17日 Docker ⁄ 被围观 19,324次+
本教程实现目的: 在CentOS 7.x系统下使用Docker分别安装nginx、php-fpm-mysql容器镜像,部署一套Web应用wordpress系统 一、CentOS 7.x 安装Docker-ce社区版本 https://www.osyunwei.com/archives/11592.html 二、下载容器镜像 以下容器镜像是提前制作好并上传到阿里云镜像仓库 docker pull registry.cn-hangzhou.aliyuncs.com/osyunwei/nginx:1.20.1 #nginx容器镜像 docker pull registry.cn-hangzhou.aliyuncs.com/osyunwei/php-fpm:8.0.11 #php-fpm容器镜像 docker pull registry.cn-hangzhou.aliyuncs.com/os...
阅读全文
0℃
一、CentOS 7.x 安装Docker-ce社区版本 https://www.osyunwei.com/archives/11592.html 二、准备安装软件包 cd /usr/local/src #建议先把需要安装的软件包下载到本地目录 1、下载mysql http://mirrors.sohu.com/mysql/MySQL-5.6/mysql-5.6.48.tar.gz 2、下载cmake(编译工具) https://cmake.org/files/v3.21/cmake-3.21.1.tar.gz 三、构建mysql容器镜像 1、从docker hub拉取官方基础镜像 #我们用centos系统进行构建 https://hub.docker.com/_/centos?tab=tags&page=1&ordering=last_updated 选择cento...
阅读全文
0℃
一、CentOS 7.x 安装Docker-ce社区版本 https://www.osyunwei.com/archives/11592.html 二、准备安装软件包 cd /usr/local/src #建议先把需要安装的软件包下载到本地目录 1、下载mysql https://cdn.mysql.com/archives/mysql-5.5/mysql-5.5.62.tar.gz 2、下载cmake(编译工具) https://cmake.org/files/v3.21/cmake-3.21.1.tar.gz 三、构建mysql容器镜像 1、从docker hub拉取官方基础镜像 #我们用centos系统进行构建 https://hub.docker.com/_/centos?tab=tags&page=1&ordering=last_updated 选择cent...
阅读全文
0℃
一、CentOS 7.x 安装Docker-ce社区版本 https://www.osyunwei.com/archives/11592.html 二、准备安装软件包 cd /usr/local/src #建议先把需要安装的软件包下载到本地目录 1、下载php http://mirrors.sohu.com/php/php-7.2.34.tar.gz 2、下载openssl https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz 3、下载libmcrypt(php扩展) https://nchc.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz 4、下载yasm(php扩展) http://www.tortall.net/projects/yasm/releases...
阅读全文
0℃
一、CentOS 7.x 安装Docker-ce社区版本 https://www.osyunwei.com/archives/11592.html 二、准备安装软件包 cd /usr/local/src #建议先把需要安装的软件包下载到本地目录 1、下载php https://www.php.net/distributions/php-7.1.33.tar.gz 2、下载openssl https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz 3、下载libmcrypt(php扩展) https://nchc.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz 4、下载yasm(php扩展) http://www.tortall.net/projects/yasm/re...
阅读全文
0℃
一、CentOS 7.x 安装Docker-ce社区版本 https://www.osyunwei.com/archives/11592.html 二、准备安装软件包 cd /usr/local/src #建议先把需要安装的软件包下载到本地目录 1、下载php http://mirrors.sohu.com/php/php-7.0.33.tar.gz 2、下载openssl https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz 3、下载libmcrypt(php扩展) https://nchc.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz 4、下载yasm(php扩展) http://www.tortall.net/projects/yasm/releases...
阅读全文
0℃
2021年07月30日 Docker ⁄ 被围观 5,040次+
Docker是一个开源的应用容器引擎,目前分为社区版本(CE)和企业版本(EE),一般使用社区版本。 CentOS系统下Docker目前支持CentOS 7.x 8.x 版本,系统内核版本为Linux 3.10及其以上版本。 一、安装前准备工作 1、CentOS 升级系统内核到最新版 https://www.osyunwei.com/archives/11582.html 2、CentOS系统关闭selinux #执行以下命令 setenforce 0 sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config reboot #重启系统 /usr/sbin/sestatus -v #查看selinux状态,disabled表示关闭 [root@master01 ~]...
阅读全文


Copyright© 2011-2024 系统运维 All rights reserved
版权声明:本站所有文章均为作者原创内容,如需转载,请注明出处及原文链接
陕ICP备11001040号-3