智能运维

  • centos SELinux 简介

    SELinux 简介 # 查看selinux命令 # 查看selinux的允许状态 $ getenforce Enforcing $ /usr/sbin/sestatus # 查看进程具体的标签 $ ps -Z unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 3882 pts/0 00:00:…

    智能运维 2022年9月9日
  • Linux下Arthas的安装和卸载

    关于Arthas的简介在《Windows下Arthas的安装和卸载》这篇文章写过了,就不重复了直接进入正题 安装步骤其实跟Windows下安装是差不多的,也是下载Arthas的jar包,启动jar包来安装Arthas 方法一:在线安装   这个就…

    智能运维 2022年9月9日
  • Linux 压缩、解压缩命令

    Linux 压缩、解压缩命令 tar 语法命令 tar [options…] [files] options: 选择 描述 -A 追加tar文件至归档 -c 创建一个新文档 -d 找出归档和文件系统的差异 --delete 从归档中删除 -r 追加文件至归档结尾 -t 列出归…

    智能运维 2022年9月9日
  • CentOS7 更改默认启动内核、删除无用内核

    服务器或Linux系统电脑开机,出现多个内核启动选项,CentOS系统默认选择第一个最新的内核启动,但常常这个最新的内核没有作用,有可能会导致服务器或电脑无法自动开机的现象。此时,需要修改系统默认的开机启动内核…

    智能运维 2022年9月9日
  • nginx 强制使用https后,如何使用http访问kkFileView

    场景: 生产环境要求强制使用https访问,但是kkFileView不支持https!而且我的nginx配置了 add_header Content-Security-Policy "upgrade-insecure-requests;connect-src *"; 怎么办? 解决方案 方案一 下载kkFileVi…

    智能运维 2022年9月9日
  • linux按行读取 (while read line与for-loop)

    转自: linux按行读取 (while read line与for-loop) 在linux下一般用while read line与for循环按行读取文件。现有如下test.txt文件:      1. while read line while read line; do echo $line done < test.txt …

    智能运维 2022年9月9日
  • linux 查看端口是否存在命令

    第一: lsof -i:端口号    第二种: netstat -aptn  

    智能运维 2022年9月9日
  • yum安装报错:Errors during downloading metadata for repository 'AppStream'的处理

    yum源故障 [root@iZ2ze1e3u7m7oe426pyndaa ~]# yum install net-tools -y CentOS-8 - AppStream 7.9 kB/s | 2.3 kB 00:00 Errors during downloading metadata for repository 'AppStream': - Status code: 404 for…

    智能运维 2022年9月9日
  • linux系统启动达梦迁移工具失败解决办法

      在达梦数据库服务端的tool目录下执行./dts来启动迁移工具,迁移工具启动前出现报错,以下提供几种遇到问题的解决办法: 1. 报错1:   执行./dts,报错提示: [yyuser@qy-ggyf-zyl-19 tool]$ ./dts An error h…

    智能运维 2022年9月9日
  • 5 Best Free Media Players For Windows 11

    Enjoy your music and movies with these apps while Windows 11 does come with a fully-featured MediaPlaýer, it doesn’t check all the boxes like many dedicated media players do. These media player…

    智能运维 2022年9月8日