配置环境 系统版本:centos7 nginx版本: nginx-1.14.2 mysql版本: php版本:PHP 5.4.16 一键安装脚本源码 1 #!/bin/bash 2 # 关闭防火墙与selinux 3 systemctl stop firewalld.service && seten ...
分类:
系统相关 时间:
2020-06-18 21:50:12
阅读次数:
91
There are 2 options for you to choose before order please: 1. Software is in a 320G hdd before shipment, the customers need to install it and active i ...
分类:
其他好文 时间:
2020-06-18 21:48:17
阅读次数:
180
k8s:py项目发布流程 1. 编写Dockerfile # cat Dockerfile FROM python:3.6-slim USER root RUN apt-get update && apt-get install gcc -y && \ apt-get clean && \ rm - ...
分类:
其他好文 时间:
2020-06-18 21:39:50
阅读次数:
71
修改nginx 的配置文件/etc/nginx/nginx.conf http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_ref ...
分类:
系统相关 时间:
2020-06-18 21:31:42
阅读次数:
81
实验目的,熟悉AWSElasticContainerService实验包括:创建和定义ECS的任务(Task)创建ECSCluster部署应用到ECSService中实验前准备:AWS账号熟悉IAMrole、EC2、Docker等知识Task1:使用ecs-sampleimage注册和定义Task进入到ECS服务,创建TaskDefinitions:{"family":"myContainer",
分类:
其他好文 时间:
2020-06-18 21:15:06
阅读次数:
65
(一)插入文档插入文档一共有3种方法,分别如下:# 插入一个或多个文档,如果是多个文档,用数组存放文档db..insert(document)# 插入1个文档db..insertOne(document)# 插入多个文档db..insertMany(document)测试1 :使用db..inser... ...
分类:
数据库 时间:
2020-06-18 19:46:07
阅读次数:
52
下面给出两种系统下的排查步骤,都是一模一样的,只是命令稍有区别! 查消耗cpu最高的进程PID 根据PID查出消耗cpu最高的线程号 根据线程号查出对应的java线程,进行处理。 准备一行死循环代码: 怎么跑,应该不用我说了,直接教大家怎么查! windows版 可能有人有疑问,我为什么要说wind ...
分类:
编程语言 时间:
2020-06-18 19:38:01
阅读次数:
60
1.首先注册github账号,登录,创建新仓库 ,点击+,点击new repository 2.得到如下页面,填写仓库名,自己随便写一个名字,下面的描述可写可不写,点击Initialize this repository with a README,然后创建: 3.下载git shell,网上给了很 ...
分类:
Web程序 时间:
2020-06-18 19:25:47
阅读次数:
64
继承 Python 中所有的类都是object类的子类,而object 继承自type 继承分为 接口继承和实现继承 接口继承:使用父类的接口名,子类重写这个方法。尽可能的继承接口类,在子类中实现方法,鼓励对接口类的多继承,这样遵循接口隔离原则,有利于归一化设计,不提倡对抽象类进行多继承 实现继承: ...
分类:
编程语言 时间:
2020-06-18 19:20:25
阅读次数:
47
Description HostAgent fails to establish SSH Connection to RedHat EL7 hostThe error reported when the agent attempts to connect to the host matches th ...
分类:
系统相关 时间:
2020-06-18 19:16:06
阅读次数:
459