Fork me on GitHub
瞬间的惊奇真是种确幸,每种确幸都是支玄妙的俳句。吊桥抬起,退回到内心幽静的花园,邂逅的还是那种熟悉的冷冷清清又轰轰烈烈的美妙质感。这真令人欢喜。
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页
摘要: #!/bin/bash#此脚本用于自动分割Nginx的日志,包括access.log和error.log#每天00:00执行此脚本 将前一天的access.log重命名为access-xxxx-xx-xx.log格式,并重新打开日志文件#Nginx日志文件所在目录LOG_PATH=/data/ser 阅读全文
posted @ 2018-10-01 10:02 干嘛那么贪睡 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 环境为Centos7 nginx1.14 mysql5.7 php7一,安装Nginx (yum装,快速) yum install nginx二,优化nginx (方便后期工作,如果纯为测试的话,不用)1, cat nginx.conf user www;worker_processes auto; 阅读全文
posted @ 2018-10-01 10:01 干嘛那么贪睡 阅读(1071) 评论(0) 推荐(0) 编辑
摘要: :(用的)https://www.coderecord.cn/lets-encrypt-wildcard-certificates.html :acme.shvim .acme.sh/account.conf SAVED_GD_Key='******************************* 阅读全文
posted @ 2018-10-01 10:00 干嘛那么贪睡 阅读(303) 评论(0) 推荐(0) 编辑
摘要: client haproxy nginx1 nginx2 192.168.1.250 192.168.1.1 192.168.1.10 192.168.1.20 一、安装Nginx[root@localhost ~]# yum -y install pcre-devel zlib-devel[roo 阅读全文
posted @ 2018-10-01 09:58 干嘛那么贪睡 阅读(287) 评论(0) 推荐(0) 编辑
摘要: docker-compose 常用命令 Commands: build Build or rebuild services bundle Generate a Docker bundle from the Compose file config Validate and view the compo 阅读全文
posted @ 2018-10-01 09:54 干嘛那么贪睡 阅读(367) 评论(0) 推荐(0) 编辑
摘要: ELK:version: '2' services: elasticsearch: build: context: elasticsearch/ volumes: - ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/ 阅读全文
posted @ 2018-10-01 09:53 干嘛那么贪睡 阅读(1473) 评论(0) 推荐(0) 编辑
摘要: 实例2:version: '3'services: user-service: image: "$DOCKER_SERVICE_IMAGE_TAG" network_mode: "host" environment: - SPRING_PROFILES_ACTIVE volumes: - /var/ 阅读全文
posted @ 2018-10-01 09:53 干嘛那么贪睡 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 实例3:version: '3'services: mysql: image: mysql network_mode: "host" environment: - MYSQL_ROOT_PASSWORD=123456 volumes: - /home/dbdata:/home/dbdata 阅读全文
posted @ 2018-10-01 09:52 干嘛那么贪睡 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1、最简单的 --生产者消费者 send.py# !/usr/bin/env python3.5# -*- coding:utf-8 -*-# __author__ == 'LuoTianShuai'"""生产者/发送消息方"""import pika # 远程主机的RabbitMQ Server设 阅读全文
posted @ 2018-10-01 09:48 干嘛那么贪睡 阅读(165) 评论(0) 推荐(0) 编辑
摘要: rpc_server.py# !/usr/bin/env python3.5# -*- coding:utf-8 -*-# __author__ == 'LuoTianShuai'"""RPC/Server端"""import pika# 添加认证信息credentials = pika.Plain 阅读全文
posted @ 2018-10-01 09:47 干嘛那么贪睡 阅读(165) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 15 下一页