依赖包: <dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> <version>2.4.0</version> </dependency> 代码: package json.js ...
分类:
Web程序 时间:
2020-06-24 19:43:35
阅读次数:
45
Spring事务管理概述 事务管理的核心接口 在 Spring的所有JAR包中,包含一个名为Spring-tx-4.3.6 RELEASE的JAR包,该包就是Spring提供的用于事务管理的依赖包。在该JAR包的 org. springframework.transaction包中,有3个接口文件 ...
分类:
编程语言 时间:
2020-06-23 19:15:30
阅读次数:
54
1、安装依赖包 一次安装4个依赖包 命令:yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel 2、下载nginx nginx下载地址:https://nginx.org/download/ 本次示例版本:nginx/ ...
分类:
其他好文 时间:
2020-06-22 15:32:07
阅读次数:
59
一键安装nginx脚本#!/bin/bash#定义函数,检查软件包是否安装check_packet(){rpm-qa$1|wc-l}#安装依赖包packet_install(){foriin"pcre-develzlibzlib-developensslopenssl-deve"doa=`check_packet$i`if[$a==0]thenyum-yinstall$ifidone}#安装ngi
分类:
其他好文 时间:
2020-06-22 09:28:56
阅读次数:
52
一 初始化npm环境 在终端输入npm -v ,会显示版本号。如果没显示,要先安装node环境 下载地址 http://nodejs.cn/ 二 安装webpack,webpack-dev-server 1.初始化,生成依赖包文件package.json 2.安装 webpack,webpack-d ...
分类:
Web程序 时间:
2020-06-22 01:04:53
阅读次数:
133
springboot整合mybatis+mysql+druid数据源 导入依赖包 <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> ...
分类:
数据库 时间:
2020-06-20 16:02:06
阅读次数:
85
springboot应用打包的两种方式 一.纯手工方式 1).在工程的根目录打开cmd命令行 2).执行maven clean install命令,打成jar包,此处有坑(不会打依赖包进去) 3).需要使用maven clean package dependency:copy-dependencie ...
分类:
编程语言 时间:
2020-06-19 21:00:14
阅读次数:
76
前言 如何判断一个文件的类型呢,判断这个文件是png还jpg,还是mp3文件? filetype 包是 python 用来判断文件类型的依赖包,github地址https://github.com/h2non/filetype.py filetype 安装 pip install filetype ...
分类:
编程语言 时间:
2020-06-18 01:32:12
阅读次数:
72
一、安装依赖包sudoyuminstall-ycurlpolicycoreutils-pythonopenssh-serverpostfix二、开启相关服务及放行防火墙#启动sshd并配置开机启动sudosystemctlenablesshdsudosystemctlstartsshd#启动postfix并配置开机启动sudosystemctlenablepostfixsudosystemctls
分类:
其他好文 时间:
2020-06-17 11:06:18
阅读次数:
57
部署社区版gitlab安装前准备:内存:至少4G1.安装依赖检查依赖包是否安装yuminstall-ycurlopenssh-serveropenssh-clientspostfixcroniepolicycoreutils-python2.启动postfix,并设置为开机启动systemctlstartpostfixsystemctlenablepostfix3.设置防火墙(可暂时关闭防火墙)f
分类:
其他好文 时间:
2020-06-17 10:30:12
阅读次数:
98