发布于 3 天前
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
一般linux服务器想要扩容物理交换内存的话,就两种情况。1是之前没有配置交换内存,想添加,2是之前添加了交换内存,但是内存小,想 …
发布于 14 天前
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
由于博主所在公司的工厂需要部署一台DNS递归服务器用于向总部的DNS服务器解析域名信息,所以博主在自己的fedora虚拟机上先尝试 …
发布于 16 天前
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
众所周知目前由于国内政策的限制,docker hub的官方站点已经被屏蔽,目前国内要是不挂梯子的话,使用docker pull镜像 …
发布于 2025-04-25
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
博主的bot的服务器部署python版本为3.9.5,现在想安装一个新的bot,但是新的bot要求的python版本为3.10以上 …
发布于 2024-10-29
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
一.安装docker和docker-compose 二.部署rsshub镜像并在防火墙中放开1200端口 三.编辑docker-c …
发布于 2024-10-24
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
目前centos系统已经停止维护了,所以官方的yum源已经失效了,目前想要正常使用的话需要,需要将官方的yum源切换为阿里云或腾讯 …
发布于 2024-10-24
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
目的:添加一块10g大小的磁盘,将磁盘的分区分为一个主分区和一个扩展分区,在扩展分区之上分出一个逻辑分区,并格式化为ext4的文件 …
发布于 2024-10-23
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
在redhat9.x系统中,默认使用Networkmanager管理器来管理网络,而不是早期的network-scripts的方式 …
发布于 2024-10-23
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
扩容思路流程 (1)在虚拟机上先扩容磁盘容量 (2)对扩容的磁盘进行分区(fdisk创建新的逻辑分区) (3)使用lvs和vgdi …
发布于 2024-10-15
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
一.确认服务器环境信息 操作系统版本:CentOS Linux release 7.9.2009 (Core) 内核版本:3.10 …
发布于 2024-10-15
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
博主在工作上经常会涉及到需要修改linux服务器网卡的地方,由于red hat系和ubuntu系的系统在网卡信息修改方式上有所不同 …
发布于 2024-07-10
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
系统环境:Ubuntu 22.04 LTS python 3.10.12 博主使用napcat+nonebot2的形式搭建机器人, …
发布于 2024-05-23
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
博主在工作上经常碰到服务器因为openssh版本过低而被扫描出漏洞的情况。由于工作上的大多数服务器是离线服务器,比较难进行open …
发布于 2023-11-27
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
博主自己本身有购买六台云服务器在手上,但是一直没有搭建一个可以监控各个云服务器运行状态的平台,有时候服务出现问题后博主也没有办法第 …
发布于 2023-11-21
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
博主在工作上经常会碰到许多主机需要做基线整改的情况,所以特此在这里记录一些常用基线的整改方法。 一.检查是否使用PAM认证模块禁止 …