独立缓存服务器: LinuxCentOS Redis版本: 3.0 下面我们针对于Redis安装做下详细的记录: 编译和安装所需的包: #yum install gcc tcl创建安装目录: #mkdir /usr/local/redis 解压: #tar -zxvf 3.xx.tar.gz #mv ...
分类:
其他好文 时间:
2021-05-24 00:38:58
阅读次数:
0
使用云服务器git clone某个项目时,遇到如下问题: fatal: Out of memory, malloc failed (tried to allocate 2000000000 bytes) 百度后找到如下解决方法: sudo mkdir -p /opt/temp sudo dd if= ...
分类:
其他好文 时间:
2021-05-24 00:26:08
阅读次数:
0
gitlab CI/CD架构: gitlab CI/CD步骤: 安装Runner: Linux服务器安装: ?Linux安装文档:https://docs.gitlab.com/runner/install/linux-repository.html curl -L https://packages ...
分类:
其他好文 时间:
2021-05-24 00:17:04
阅读次数:
0
1. 安装 Use docker、package or source installations to install 第三方仓库 https://pkgs.org/download/haproxy 1.1 use docker docker run -it --rm haproxy:2.2 hap ...
分类:
其他好文 时间:
2021-05-04 16:22:39
阅读次数:
0
安装docker sudo apt-get install docker.io 创建文件目录 mkdir docker-images 修改本地存储路径 # 查看服务状态 sudo systemctl status docker ● docker.service - Docker Applicatio ...
分类:
其他好文 时间:
2021-05-04 15:54:46
阅读次数:
0
import os # os.mkdir("n1") # 创建目录 # 创建文件 # with open('1.txt',mode='w') as file: # file.write('11111') # os.mknod("n1.txt") # 创建文件,windows上面不支持,linux中支 ...
分类:
编程语言 时间:
2021-05-04 15:43:42
阅读次数:
0
python中拆分字符串 1、 >>> test1 = "abxcdxefxfh" >>> test1 'abxcdxefxfh' >>> test1.split(sep = "x") ['ab', 'cd', 'ef', 'fh'] ...
分类:
编程语言 时间:
2021-05-04 15:23:41
阅读次数:
0
在.gitignore文件里面输入 *.zip 表示所有zip文件忽略更改 /bin 表示忽略整个根目录的bin文件夹 /src/aa.jar 表示忽略/src/aa.jar文件 设置完.gitignore文件,在操作那里,点击,打开命令行 输入以下命令: git rm -r --cached .g ...
分类:
其他好文 时间:
2021-05-03 12:27:28
阅读次数:
0
一、打开nginx机器的nginx配置文件 命令: locate nginx.conf 会列出所有nginx.conf文件的地址, 一般咱们要用的nginx配置文件是/usr/local/nginx/conf/nginx.conf cd /usr/local/nginx/conf vim nginx ...
分类:
其他好文 时间:
2021-05-03 12:11:25
阅读次数:
0
盘符切换 例如 E: 查看当前目录下的所有文件 dir 切换目录 cd change directory 退回上级目录 cd .. 清理屏幕 cls 退出终端 exit 查看电脑IP ipconfig 打开应用 calc 计算器 mspaint 画图 notepad 记事本 ping命令 ping ...
分类:
其他好文 时间:
2021-05-03 12:08:43
阅读次数:
0