发布于 20 天前
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认证模块禁止 …
发布于 2023-09-05
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
由于Centos7或red hat7系统默认的openssh版本为7.4,版本较低,如果做漏洞扫描的话经常会扫描出一堆漏洞,所以博 …
发布于 2023-06-28
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本身拥有4种网络模式:Bridge(桥接模式)、none(不配置网络)、host(主机网络)、container(容器 …
发布于 2023-06-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
摘要
博主目前服务器使用的系统为Centos7,默认Centos7安装的Openssl版本为1.0.2k,所以在这里记录一下我升级ope …