pid可以是dockerID也可以是docker里面起的进程ID##安装wgethttps://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.32/util-linux-2.32.tar.gztar-xzvfutil-linux-2.32.tar.gzcdutil-linux-2.32/./configure--without-ncur
分类:
其他好文 时间:
2020-03-04 00:29:06
阅读次数:
69
一,先下载最新版本的cmake,解压--》 进行目录--》然后再操作 ./configure sudo make sudo make install hash -r cmake --version ...
分类:
系统相关 时间:
2020-03-03 20:48:53
阅读次数:
555
一、修改settings.py中的默认数据库配置 DATABASES = { # 'default': { # 'ENGINE': 'django.db.backends.sqlite3', # 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), # } 'd ...
分类:
数据库 时间:
2020-03-02 20:45:14
阅读次数:
88
一、修改maven.xml 1、添加<.packaging>war</.packaging>,打包为war包 <packaging>war</packaging> 2、不使用SpringBoot内置的Tomcat,添加 <dependency> <groupId>org.springframewor ...
分类:
编程语言 时间:
2020-03-02 12:31:20
阅读次数:
71
概述 接上一篇 "Docker实战之MySQL主从复制" , 这里是Docker实战系列的第二篇,主要进行Redis Cluster集群环境的快速搭建。Redis作为基于键值对的NoSQL数据库,具有高性能、丰富的数据结构、持久化、高可用、分布式等特性,同时Redis本身非常稳定,已经得到业界的广泛 ...
分类:
其他好文 时间:
2020-03-01 19:52:15
阅读次数:
60
# nginx.conf http { # you do not need to configure the following line when you # use LuaRocks or opm. lua_package_path "/path/to/lua-resty-mlcache/lib ...
分类:
其他好文 时间:
2020-02-29 20:24:03
阅读次数:
57
Sqlserver开启xp_cmdshell: EXEC sp_configure 'show advanced options', 1; RECONFIGURE WITH OVERRIDE; EXEC sp_configure 'Ole Automation Procedures', 1; REC ...
分类:
数据库 时间:
2020-02-28 18:35:33
阅读次数:
71
问题分析及解决方案 问题原因: Mybatis没有找到合适的加载类,其实是大部分spring - datasource - url没有加载成功,分析原因如下所示. DataSourceAutoConfiguration会自动加载. 没有配置spring - datasource - url 属性. ...
分类:
Web程序 时间:
2020-02-27 20:54:34
阅读次数:
84
前言 gitlab这个代码托管工具真是强大,很多东西都是做好了直接用的。 这里就包括备份和恢复功能。 正文 1. 备份 我们可以直接运行此命令,来进行备份。 然后gitlab就会将现有的所有内容打包成一个tar包,默认会将其放在/var/opt/gitlab/backups下,例如这种: 15818 ...
分类:
其他好文 时间:
2020-02-27 17:34:08
阅读次数:
47
一、概述 1、桌面环境: Windows7,OpenSUSE 13.2,Kubuntu(KDE) 2、yum安装回顾 a、yum程序包管理器 C/S: yum client(yum) yum repository(ftp/http/https) base:主包 extras:额外的包 updates ...
分类:
系统相关 时间:
2020-02-27 00:57:00
阅读次数:
108