发布于 2025-06-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
摘要
一般linux服务器想要扩容物理交换内存的话,就两种情况。1是之前没有配置交换内存,想添加,2是之前添加了交换内存,但是内存小,想 …
发布于 2025-05-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 hub的官方站点已经被屏蔽,目前国内要是不挂梯子的话,使用docker pull镜像 …
发布于 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-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-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-07-03
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
博主的wordpress一开始使用的Live2D看板娘是随着博主现在使用的主题sakurairo安装的,但是博主的sakurair …
发布于 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 …
发布于 2022-02-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
摘要
1.使用scp命令的起因 博主最近在工作上碰上了一个问题,就是博主想要访问服务器B并下载服务器B上的文件,但是服务器B的DCN映射 …
发布于 2022-01-12
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
最近这几天博主发现自己搭建的HoshinoBot经常性的会自己DOWN掉,起初博主只是以为是偶尔性发生的问题,因为之前也有过机器人 …
发布于 2021-08-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
摘要
一.使用SSH代理 本次碰到的问题是我的阿里云服务器想通过git pull拉取更新,但是出现超时拉取失败的情况 失败原因代码:fa …