当前位置:首页 > 第18页

解决zabbix 嵌入到frame时不被允许

root5年前 (2021-03-17)运维&自动化3217
系统嵌入zabbix界面时间遇见不被允许插入frame中因为header头设置了X-Frame-Options 前端界面显示为:Refused to display 'http://192.168.0.174/'...

pom.xml文件的标签含义

root5年前 (2021-03-11)java1547
<?xml version="1.0" encoding="UTF-8"?>声明xml的版本<project xmlns="http://maven.apache.org/...

linux 安全策略关闭

root5年前 (2021-02-23)linux1423
#防火墙关闭systemctl stop firewalld.service#永久关闭防火墙systemctl disable firewalld.service#临时关闭selinuxsetenforce 0#永久关闭sed -i &qu...

python 的configparser 读取配置文件遇到%特殊符号

root5年前 (2021-02-23)python2124
test.ini 配置文件中有mysql的密码,且密码含有“%”这个特殊符号因为%在py是转义符的含义需要对该字符转义即修改  %  为 %%用%对%进行转义...

linux创建用户和用户组

root5年前 (2021-02-23)linux1438
添加用户和组groupadd testuseradd -r -g test test删除用户和组userdel testgroupdel test给文件添加用户组和用户归属chown -R test:test test_file...

shell 替换文件配置

root5年前 (2021-02-23)linux1373
sed -i "s/enforcing/disabled/g" /etc/selinux/config...

centos切勿执行yum -y update

root5年前 (2021-02-23)linux1427
yum update 跟apt-get update 不一样centos的yum update相当于ubuntu的apt upgrade如果想用ubuntu的apt update,centos是yum makecache因为执行yum -y...

git 忽略文件不起作用 .gitignore

root5年前 (2021-02-04)linux1452
git rm -r --cached . git add .   git commit -m "update .gitignore"  git status查看是否是"working di...

记一次docker问题定位(perf,iostat等性能分析) 记录分析方法

root5年前 (2021-02-04)docker1587
记一次docker问题定位(perf,iostat等性能分析)    记录分析方法
原文链接 背景   最近参与的项目是基于 OpenStack 提供容器管理能力,丰富公司 IaaS 平台的能力。日常主要工作就是在开源的 novadocker 项目(开源社区已停止开发)基础上进行增强,与公司的...

python os 模块文件常用操作

root5年前 (2021-02-04)python1490
123456import os #回去当前文件路径os.path.realpath(__file__)#获取文件是否存在os.path.exists(filepath)#获取文件大小os.path.getsize(fil...