随笔分类 - 运维实操
摘要:文章参考 https://zhuanlan.zhihu.com/p/617024637 http://www.taodudu.cc/news/show-4270751.html?action=onClick pve 版本 8.0.2 > 配置建议:机器最好是8C16G以上的配置 > > 硬盘最好有三
阅读全文
摘要:### 服务器优化 ```bash sed -i 's/enforcing/disabled/' /etc/selinux/config setenforce 0 systemctl stop firewalld systemctl disable firewalld swapoff -a sed
阅读全文
摘要:由于需求需要,我需要通过判断某一参数是否参在来据欸的那个是否执行我的命令 在Jenkins pipeline中判断是否定义了参数命令如下 ``` if (params.containsKey('names')){ sh "echo "exist" }else{ sh "echo "not exist
阅读全文
摘要:报错信息如下 ClickHouse exception, code: 1002, host: unknown, port: -1; Code: 396. DB::Exception: Limit for result exceeded, max bytes: 3.00 GiB, current by
阅读全文
摘要:首先选择TIBCO的Window - > Preferences - >Jaspersoft Studio - >Fonts 然后点击右侧的Add。 找不到字体的话,可以打开自己电脑的控制面板。 点击外观和个性化,然后点击字体下面的预览、删除或者显示和隐藏字体。 然后选择一个复制粘贴到电脑的桌面或其
阅读全文
摘要:ansible安装 yum -y install ansible #如果是内网安装,外网机相同环境机器,执行 yum -y install ansible --downloadonly --downloaddir=/root/ansible ansible默认模块为command,可以根据需要修改为
阅读全文
摘要:cat 1.yml - hosts: test1 gather_facts: no tasks: - name: tar jdk #压缩包放到主控端的/root下 unarchive: src=/root/jdk-8u191-linux-x64.tar.gz dest=/usr/local/ - n
阅读全文
摘要:location /setup { stub_status; #启用模块监控 #出于安全,可以引用nginx密码验证 auth_basic "login password"; auth_basic_user_file /apps/nginx/passwd/.htpasswd ; #也可以增加ip限制
阅读全文
摘要:需要安装的插件 build-user-vars-plugin Build Timestamp 其中,pipeline内容如下 pipeline { agent any stages { stage('build') { steps { sh 'pwd' } } stage('test') { ste
阅读全文