1、保持1800秒连接不被中断keepalive_timeout:保持连接活跃时间proxy_read_timeout:等待后台服务器响应超时时间server {listen...

1、保持1800秒连接不被中断keepalive_timeout:保持连接活跃时间proxy_read_timeout:等待后台服务器响应超时时间server {listen...
一、配置文件路径:/etc/gitlab/gitlab.rb访问白名单IPgitlab_rails['trusted_proxies'] = ["192.168.110.18...
1、增加磁盘并分区fdisk /dev/sdb 【fdisk /dev/vdb】(1)输入:p,进行分区(2)输入:n,创建分区(3)输入:p,进行主分区,接着两次回车(默认...
1、安装httpd-toolsyum install -y httpd-tools 2、设置账号密码htpasswd -cb /opt/nginx/conf/htpasswd...
#!/bin/bash # ########## 脚本执行参数 ########## 时间同步服务器地址time_sync_domain="cn.pool.ntp.org"#...
sudo vi /etc/netplan/01-network-manager-all.yaml 配置内容 network:version: 2renderer: netwo...
安装后的初始密码要能打印的my.cnf配置 [mysqld]log_error=/var/log/mysqld.loglog_error_verbosity=2general...
第一章 查找1、find(1)、忽略大小写查找文件:find ./ -iname xxx(2)、过滤子目录查找文件:find ./ -path "./subdir" -a p...
1、进入网卡配置目录:cd /etc/sysconfig/network-scripts/2、创建网卡文件:>ifcfg-ens1923、编辑文件:vi ifcfg-ens1...
配置一:静态文件部署 配置一:静态文件部署server{listen 22103;location /{alias /home/Rndiii/projects/w...
1、下载nginx源码包wget http://nginx.org/download/nginx-1.24.0.tar.gz[http://nginx.org/downloa...
一、下载官方安装脚本自动安装curl -fsSL https://get.docker.com[https://get.docker.com] -o get-docker.s...
1、打开文件:vi /etc/yum.repos.d/CentOS-Base.repo2、将下面的信息拷贝到打开的文件中去[base]name=CentOS-$release...
// 从列表对象中获取字段列表List<TagVO> tagVOList = new ArrayList<>();List UserIds = new ArrayList<...
1.利用Collectors.toMap方法进行转换Map<Long, String> orgId2NameMap = orgDTOList.stream().collect...
!/bin/bash 网卡IP地址 IP1=19.142.32.32 路由IP地址 GATE=19.142.32.254 要绑定的网卡1 ETH1=enp125s0f0 要绑...
一、让服务器能够通过ipv4访问ipv6的服务 1、打开文件 vim /usr/lib/sysctl.d/00-system.conf 2、加入一行 net.ipv4.ip...