摘要: 1.更换阿里云源(不换下载很慢) sed -e 's|^mirrorlist=|#mirrorlist=|g' -e 's|^#baseurl=http://dl.rockylinux.org/$contentdir|baseurl=https://mirrors.aliyun.com/rockyl 阅读全文
posted @ 2024-09-30 14:49 Rohin1 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 1.安装CUPS sudo yum install cups && sudo yum install foomatic-filters 2.配置 cups [root@docker-elk cups]# cat /etc/cups/cupsd.conf |sed '/^#/d;/^$/d' /etc 阅读全文
posted @ 2024-09-30 14:45 Rohin1 阅读(1) 评论(0) 推荐(0) 编辑
摘要: TCP被称为可靠连接导向,其连线主要是透过许多机制来达成的,其中最重要的就是三向交握的功能。当然TCP传送资料的机制非常复杂,(TCP三次握手四次挥手。)? A:封包发起状态,TCP 封包带有 SYN 旗标,假设序号为 10001 号 当客户端想要对服务器端连线时,就必须要送出一个要求连线的封包,此 阅读全文
posted @ 2024-09-30 10:31 Rohin1 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 架构图 Nexus安装 1.安装docker sudo dnf update -y sudo dnf install -y yum-utils sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/do 阅读全文
posted @ 2024-09-24 15:36 Rohin1 阅读(16) 评论(0) 推荐(0) 编辑
摘要: ` # -*- coding: utf-8 -*- # @Time : 2024/3/1 10:02 # @Author : Rohing # @File : 监控文件.py # @Software: PyCharm` import time import logging import fnmatc 阅读全文
posted @ 2024-09-10 19:17 Rohin1 阅读(3) 评论(0) 推荐(0) 编辑
摘要: import sounddevice as sd import requests import socket import json # Webhook URL webhook_url = '换成自己的webhook' # Check sound card def check_sound_card( 阅读全文
posted @ 2024-09-10 19:15 Rohin1 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 总结 第十九章、开机流程、模块管理与 Loader Linux 不可随意关机,否则容易造成文件系统错乱或者是其他无法开机的问题; 开机流程主要是:BIOS、MBR、Loader、kernel+initramfs、systemd 等流程 Loader 具有提供选单、加载核心文件、转交控制权给其他 lo 阅读全文
posted @ 2024-09-10 19:06 Rohin1 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 总结 第一章:计算机概论 介绍计算机硬件、软件、操作系统等基础概念。 介绍Linux操作系统的历史、特点以及发行版本。 第二章:Linux的安装 讲解如何准备安装Linux所需的条件。 介绍Linux安装的几种方式,包括光盘安装和网络安装。 第三章:Linux文件、目录与权限 介绍Linux文件系统 阅读全文
posted @ 2024-09-10 19:06 Rohin1 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Rocky Linux 9.4 部署Zabbix 7.0 1-1.检测源 wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm #下载epel的源 rpm -ivh epel-release-lates 阅读全文
posted @ 2024-09-10 18:29 Rohin1 阅读(10) 评论(0) 推荐(0) 编辑
摘要: `cat access.log |grep nginx |awk '{print $1}'| sort | uniq -c | sort -nr -k1 | head -n 10 |awk -F ' ' '{print $2 " 次数:"$1}' 1、查看有多少个IP访问 awk '{print $ 阅读全文
posted @ 2024-09-09 11:41 Rohin1 阅读(4) 评论(0) 推荐(0) 编辑