1. MySQL部署 1.1拉取MySQL镜像 docker pull mysql docker images 1.2创建MySQL容器 docker run -d --name mysql_name -p 3306:3306 -e MYSQL_ROOT_PASSWORD=password mysq ...
分类:
数据库 时间:
2020-07-26 01:20:29
阅读次数:
85
现象描述: cms内容发布系统上传不了大文件,当上传超过32M文件时就上传不了 提示:无效的文件. 文件尺寸太大。 分析文件上传过程: browser --> nginx --> php 需要修改 nginx.conf和php.ini 1.nginx.conf新增如下参数,重启无效: client_ ...
分类:
Web程序 时间:
2020-07-24 15:49:48
阅读次数:
81
#source的名字 agent.sources = kafkaSource # channels的名字,建议按照type来命名 agent.channels = memoryChannel # sink的名字,建议按照目标来命名 agent.sinks = hdfsSink # 指定source使 ...
分类:
Web程序 时间:
2020-07-23 22:28:11
阅读次数:
105
一、拉取ubuntu18.04镜像sudodockerpullubuntu:18.04sudodockerrun-it-p80:80-v~/data/vhost/:/var/www--namemyubuntu18.04ubuntu:18.04/bin/bash二、添加阿里源(ubuntu18.04:bionic;20.04:focal)cp/etc/apt/sources.list/etc/apt
分类:
系统相关 时间:
2020-07-23 16:40:05
阅读次数:
107
cd /etc/apt/ sudo cp sources.list sources.list.bb sudo vi sources.list 复制下面这些 deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe mu ...
分类:
编程语言 时间:
2020-07-22 15:30:34
阅读次数:
79
首先我们还是要先备份下: sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 更改源(使用vim编辑器或者gedit编辑器) sudo vim /etc/apt/sources.list 或者 sudo gedit/etc/apt/sour ...
分类:
系统相关 时间:
2020-07-22 02:04:27
阅读次数:
111
##Mybatis环境配置 官方文档地址:https://mybatis.org/mybatis-3/zh/getting-started.html ###一.添加依赖 <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</ ...
分类:
其他好文 时间:
2020-07-21 23:12:56
阅读次数:
73
一、简介 UICollectionView是iOS6之后引入的一个新的UI控件,它和UITableView有着诸多的相似之处,其中许多代理方法都十分类似。简单来说,UICollectionView是比UITbleView更加强大的一个UI控件,有如下几个方面: 1、支持水平和垂直两种方向的布局 2、 ...
分类:
其他好文 时间:
2020-07-21 09:32:47
阅读次数:
59
Penetration Test - Planning and Scoping(6) LEGAL CONCEPTS Statement of Work(SOW) Clearly states what tasks are to be accomplished Master Service Agree ...
分类:
Web程序 时间:
2020-07-21 01:05:18
阅读次数:
99