# 是一种非关系数据库 no only SQL 缓存 操作原子性 数据保存在内存 定期写到磁盘 安装 sudo apt-get update sudo apt install redis-server 启动 redis-server 连接: 本机连接: redis-cli 127.0.0.1:637 ...
分类:
其他好文 时间:
2020-06-13 19:46:55
阅读次数:
50
CF1165F2 Microtransactions (hard version) 题目描述 The only difference between easy and hard versions is constraints. Ivan plays a computer game that cont ...
分类:
其他好文 时间:
2020-06-13 17:20:37
阅读次数:
72
1、拉取镜像 docker pull redis 2、运行容器 docker run --name=redis -p 16379:6379 -d redis --appendonly yes --appendonly yes 开启持久化策略 ...
分类:
其他好文 时间:
2020-06-13 15:49:25
阅读次数:
80
哈尔滨工业大学 2020 操作系统实验Lab3,采用新版本的实验仓库 ...
分类:
编程语言 时间:
2020-06-12 12:51:10
阅读次数:
61
[Ansible实战]-ansible部署rsync全网备份项目. 转自 第一章 项目需求 1.1 概述: 每天晚上12点整备份全网所有机器的系统配置文件和web服务器上的程序文件至备份服务器上 1.2 具体要求: 1)所有服务器的备份目录必须都为/backup。 2)要备份的系统配置文件包括但不限 ...
分类:
其他好文 时间:
2020-06-12 01:05:30
阅读次数:
80
问题描述oracle中DG出现主备不同步现象,alert日志报警有gap信息,但是v$archive_gap视图查不到任何信息。同时主库上的对应归档已经删除且没有备份 解决方案 1.查询备库的scnSQL> select current_scn from v$database; 这时有可能出来的sc ...
分类:
数据库 时间:
2020-06-11 22:11:33
阅读次数:
103
第二步 进入下面的目录 [root@localhost network-scripts]# pwd /etc/sysconfig/network-scripts 第三步 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=static ...
分类:
其他好文 时间:
2020-06-11 22:06:32
阅读次数:
111
参照Alpine Install: from a disc to a virtualbox machine single only安装alpine会遇到一些问题,主要是网络配置和apk仓库引起的。 所以在此整理了下自己的安装过程。 ####1. 在Preparing the virtual mach ...
分类:
系统相关 时间:
2020-06-11 19:56:51
阅读次数:
74
package main import ( "bufio" "fmt" "io/ioutil" "net/http" "os" ) func main() { client := &http.Client{} req,err := http.NewRequest("GET","http://tool ...
分类:
其他好文 时间:
2020-06-11 16:23:01
阅读次数:
70