1、修改基础环境 更改主机名,关闭防火墙和selinux hostnamectl set-hostname 7niu systemctl stop firewalld systemctl disable firewalld setenforce 0 sed -i 's/SELINUX=enforci ...
分类:
其他好文 时间:
2020-06-18 10:27:39
阅读次数:
139
#主机环境 #hostnamectl status Static hostname: k8s-master Icon name: computer-vm Chassis: vm Machine ID: 60943b8b8b72471c82b7e50337e0ab9e Boot ID: d5e57a9 ...
分类:
其他好文 时间:
2020-06-18 01:36:01
阅读次数:
99
### RabbitMQ急速入门 急速入门,在这里我们使用RabbitMQ 3.6.5 版本进行操作: - 环境搭建: - 官网地址:http://www.rabbitmq.com/ - 环境描述:Linux(centos7 Redhat7) ## 1. 首先在Linux上进行一些软件的准备工作,y ...
分类:
其他好文 时间:
2020-06-17 20:24:14
阅读次数:
67
因为需要在一个机器上安装一个OnlyOffice 安装包括docker版,和非docker版 docker版是先在电脑(我用的是linux的centos7.3系统)上装一个叫docker的虚拟机,在这个虚拟机上安装onlyoffice(这种方式很方便) 非docker版就是直接在电脑上安装onlyo ...
分类:
其他好文 时间:
2020-06-17 13:13:06
阅读次数:
137
一:正则表达式grep -a 不要忽略二进制数据。 -A <显示列数> 除了显示符合范本样式的那一行之外,并显示该行之后的内容。 -b 在显示符合范本样式的那一行之外,并显示该行之前的内容。 -c 计算符合范本样式的列数。 -C <显示列数>或-<显示列数> 除了显示符合范本样式的那一列之外,并显示 ...
分类:
系统相关 时间:
2020-06-17 12:42:49
阅读次数:
70
详尽、完善的安装配置步骤服务器配置如下:LVS服务器(DS)DIP:192.168.3.121VIP:172.30.100.111nginx1服务器(RS)RIP:192.168.3.122网关:192.168.1.121nginx2服务器(RS)RIP:192.168.3.123网关:192.168.1.121安装ipvsadmyuminstall-yipvsadm清除iptables,关闭防火
分类:
其他好文 时间:
2020-06-17 11:14:31
阅读次数:
68
安装及配置 修改docker-compose文件 vim docker-compose.yml gitlab: image: 'gitlab/gitlab-ce:latest' restart: always hostname: 'gitlab_1' environment: GITLAB_OMNI ...
分类:
其他好文 时间:
2020-06-17 10:48:28
阅读次数:
45
记录所有用户登录系统的任何操作日志,以便有据可查。1.编辑/etc/profile文件vim/etc/profilehistoryUSER=`whoami`USER_IP=`who-uami2>/dev/null|awk‘{print$NF}‘|sed-e‘s/[()]//g‘`if["$USER_IP"=""];thenUSER_IP=`hostname`fiif[!-d/var/log/
分类:
系统相关 时间:
2020-06-17 10:43:12
阅读次数:
63
记录所有用户登录系统的任何操作日志,以便有据可查。1.编辑/etc/profile文件vim/etc/profilehistoryUSER=`whoami`USER_IP=`who-uami2>/dev/null|awk‘{print$NF}‘|sed-e‘s/[()]//g‘`if["$USER_IP"=""];thenUSER_IP=`hostname`fiif[!-d/var/log/
分类:
系统相关 时间:
2020-06-17 10:33:52
阅读次数:
61
部署社区版gitlab安装前准备:内存:至少4G1.安装依赖检查依赖包是否安装yuminstall-ycurlopenssh-serveropenssh-clientspostfixcroniepolicycoreutils-python2.启动postfix,并设置为开机启动systemctlstartpostfixsystemctlenablepostfix3.设置防火墙(可暂时关闭防火墙)f
分类:
其他好文 时间:
2020-06-17 10:30:12
阅读次数:
98