!/bin/bash while true; do done
一、配置文件路徑:/etc/gitlab/gitlab.rb訪問白名單IPgitlab_rails['trusted_proxies'] = ["192.168.110.18...
1、增加磁盤并分區(qū)fdisk /dev/sdb 【fdisk /dev/vdb】(1)輸入:p,進(jìn)行分區(qū)(2)輸入:n,創(chuàng)建分區(qū)(3)輸入:p,進(jìn)行主分區(qū),接著兩次回車(默認(rèn)...
1、安裝httpd-toolsyum install -y httpd-tools 2、設(shè)置賬號(hào)密碼htpasswd -cb /opt/nginx/conf/htpasswd...
#!/bin/bash # ########## 腳本執(zhí)行參數(shù) ########## 時(shí)間同步服務(wù)器地址time_sync_domain="cn.pool.ntp.org"#...
sudo vi /etc/netplan/01-network-manager-all.yaml 配置內(nèi)容 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、進(jìn)入網(wǎng)卡配置目錄:cd /etc/sysconfig/network-scripts/2、創(chuàng)建網(wǎng)卡文件:>ifcfg-ens1923、編輯文件:vi ifcfg-ens1...
一、下載官方安裝腳本自動(dòng)安裝curl -fsSL https://get.docker.com[https://get.docker.com] -o get-docker.s...
// 從列表對象中獲取字段列表List<TagVO> tagVOList = new ArrayList<>();List UserIds = new ArrayList<...
1.利用Collectors.toMap方法進(jìn)行轉(zhuǎn)換Map<Long, String> orgId2NameMap = orgDTOList.stream().collect...
!/bin/bash 網(wǎng)卡IP地址 IP1=19.142.32.32 路由IP地址 GATE=19.142.32.254 要綁定的網(wǎng)卡1 ETH1=enp125s0f0 要綁...