docker下gitlab安装配置使用(完整版) 一、安装及配置 1.gitlab镜像拉取 # gitlab-ce为稳定版本,后面不填写版本则默认pull最新latest版本 $ docker pull gitlab/gitlab-ce 2.运行gitlab镜像 $ docker run -d -p ...
分类:
其他好文 时间:
2020-07-27 13:48:09
阅读次数:
60
linux资源限制 万能设置 /etc/security/limits.conf * soft core unlimited * hard core unlimited * soft nproc 1000000 * hard nproc 1000000 * soft nofile 1000000 * ...
分类:
系统相关 时间:
2020-07-27 09:50:00
阅读次数:
100
出现这个问题是软件源和系统版本不一致导致的,更换软件源就可以了,可以参考阿里云软件源: https://developer.aliyun.com/mirror/ 可以看到不同的版本的ubuntu对应不同的软件源 然后修改了软件源之后在执行对应的操作就可以了,是不是很神奇呢! ...
分类:
系统相关 时间:
2020-07-27 09:39:00
阅读次数:
244
8.3 HDFS-HA集群配置 8.3.1 环境准备 1. 修改IP 2. 修改主机名及主机名和IP地址的映射 3. 关闭防火墙 4. ssh免密登录 5. 安装JDK,配置环境变量等 8.3.2 规划集群 表3-1 hadoop102 hadoop103 hadoop104 NameNode Na ...
分类:
其他好文 时间:
2020-07-26 23:10:23
阅读次数:
85
Ubuntu 20.04 Install Guest Additions for VirtualBox时有报错: This system is currently not set up to build kernel modules.Please install the gcc make perl ...
分类:
系统相关 时间:
2020-07-26 23:00:43
阅读次数:
94
第一次使用 Debian9 系列的操作系统,发现默认有些小问题,使用不太习惯,在此做个记录。 1、使用Xshell远程Debian9后,vim无法使用鼠标粘贴 解决方法: 修改vim的配置文件 vim /usr/share/vim/vim80/defaults.vim 将 set mouse=a 改 ...
分类:
其他好文 时间:
2020-07-26 19:47:35
阅读次数:
110
smms不再支持v1接口,可以使用[picgo-plugin-smms-user插件解决这个问题, 以Ubuntu为例,在Typora里面下载的PicGo-Core在~/.config/Typora/picgo里面,将插件clone到该目录下,然后执行npm install picgo-plugin ...
分类:
其他好文 时间:
2020-07-26 19:33:51
阅读次数:
160
一,安装: sudo apt-get install nginx /usr/sbin/目录下是nginx命令所在目录, /etc/nginx/目录下是nginx所有的配置文件,用于配置nginx服务器以及负载均衡等信息 二,查看Nginx进程是否启动: ps -ef|grep nginx 三,启动N ...
分类:
系统相关 时间:
2020-07-26 19:22:03
阅读次数:
81
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)E: Unable to lock the administration directory (/var/lib/dpkg/), are you ...
分类:
系统相关 时间:
2020-07-26 15:56:12
阅读次数:
98
b for ssh.service failed because the control process exited with error code. See "systemctl status ssh.service" and "journalctl -xe" for details. 1.按照 ...
分类:
其他好文 时间:
2020-07-26 15:55:41
阅读次数:
180