摘要: docker集中化web管理平台 一、shipyard 1.启动docker,下载镜像 2.下载shipyard脚本 3.优点 # 支持镜像管理、容器管理。 # 支持控制台命令 # 容器资源消耗监控 # 支持集群swarm,可以随意增加节点 # 支持控制用户管理权限,可以设置某个容器对某个用户只读、 阅读全文
posted @ 2018-11-14 11:10 依然-Fanstic 阅读(22366) 评论(2) 推荐(1) 编辑
摘要: 1 #!/bin/bash 2 # coding: utf-8 3 # Copyright (c) 2018 4 set -e #返回值为0时,退出脚本 5 echo "1. 备份yum" 6 { 7 for i in /etc/yum.repos.d/*.repo;do cp $i ${i%.re 阅读全文
posted @ 2018-11-14 10:58 依然-Fanstic 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 1 #!/bin/bash 2 # coding: utf-8 3 # Copyright (c) 2018 4 5 set -e #返回值为非0时,退出脚本 6 7 echo "0. 系统的一些配置" 8 setenforce 0 || true 9 systemctl stop iptables.service || true >/dev... 阅读全文
posted @ 2018-11-14 09:51 依然-Fanstic 阅读(1809) 评论(0) 推荐(0) 编辑
摘要: 系统: CentOS 7 IP: 192.168.11.199关闭 selinux 和防火墙 修改字符集,否则可能报 input/output error的问题,因为日志里打印了中文 一. 准备 Python3 和 Python 虚拟环境1.1 安装依赖包 1.2 编译安装 1.3 建立 Pytho 阅读全文
posted @ 2018-11-14 09:44 依然-Fanstic 阅读(590) 评论(0) 推荐(0) 编辑
摘要: docker 容器阿里云docker安装脚本:curl -sSL http://acs-public-mirror.oss-cn-hangzhou.aliyuncs.com/docker-engine/internet | sh -DaoCloud 的安装脚本:curl -sSL https://g 阅读全文
posted @ 2018-11-14 09:42 依然-Fanstic 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 一、Tomcat安装 1.下载jdk,Tomcat,解压到/usr/local/ 2.配置jdk环境: 3.修改Tomcat首页: 4.启动Tomcat 二、nginx安装 1.下载源码包,解压到/usr/local/ 2.安装编译依赖: 3.编译: 4.安装: 5.启动: 三、负载均衡 1.ssl 阅读全文
posted @ 2018-11-14 09:37 依然-Fanstic 阅读(1232) 评论(0) 推荐(0) 编辑
摘要: 一、Nginx配置文件的"三大块" 全局块: 主要设置一些影响nginx服务器整体运行的配置指令,如:nginx服务器的用户(组)、worker process 数、pid等,其作用域是nginx服务器全局。events块: 主要设置一些影响nginx服务器与用户的网络连接的指令。http块: 可以 阅读全文
posted @ 2018-11-14 09:29 依然-Fanstic 阅读(241) 评论(0) 推荐(0) 编辑