摘要:
rsyslog 50-default.conf # vim /etc/rsyslog.d/50-default.conf *.=info;*.=notice;*.=warn;\ auth,authpriv.none;\ cron,daemon.none;\ mail,news.none -/var/ 阅读全文
摘要:
启用2AF 登录测试 参考文档 https://docs.gitlab.com/ee/security/two_factor_authentication.html#enforce-two-factor-authentication 阅读全文
摘要:
环境要求 8 + of CPU 16 GB+ of RAM 50 GB+ of drive space docker-compose.yml version: '3.6' services: web: image: 'gitlab/gitlab-ce:latest' restart: always 阅读全文
摘要:
nfs-server IP # ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 阅读全文
摘要:
下载sonar-scanner wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.8.0.2856-linux.zip 设置sonar-scanner 解压sonar-sc 阅读全文
摘要:
要求 前提条件 sysctl.conf # echo "vm.max_map_count=524288" >> /etc/sysctl.conf # echo "fs.file-max=131072" >> /etc/sysctl.conf # sysctl -p limits.conf # ech 阅读全文
摘要:
安装插件 插件安装路径 ls -l /usr/local/sonarqube/extensions/plugins/ total 76 -rw-r--r-- 1 sonarqube sonarqube 737 Feb 3 11:19 README.txt -rw-r--r-- 1 sonarqube 阅读全文
摘要:
查看binlog MySQL [(none)]> show binary logs; + + + | Log_name | File_size | + + + | mysql-bin.000246 | 1073742039 | | mysql-bin.000247 | 1073742006 | | 阅读全文
摘要:
创建文件存储库配置 echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list 导入存储库签名密钥 wget --quiet - 阅读全文
摘要:
方法一:.pgpass 查看postgres家目录 grep postgres /etc/passwd postgres:x:114:119:PostgreSQL administrator,,,:/var/lib/postgresql:/bin/bash 创建.pgpass touch /var/ 阅读全文