rocky8重新引导重置root密码
1、重启系统,在grub引导时按e中断引导过程 2、在linux行末尾处(可以使用ctrl+e或end跳到行末尾)添加rd.break,如下图所示,然后按ctrl+x启动系统,启动完成后会看到switch_root提示符。 3、将文件系统重新挂载 [crayo … 阅读全文
1、重启系统,在grub引导时按e中断引导过程 2、在linux行末尾处(可以使用ctrl+e或end跳到行末尾)添加rd.break,如下图所示,然后按ctrl+x启动系统,启动完成后会看到switch_root提示符。 3、将文件系统重新挂载 [crayo … 阅读全文
OpenEuler22.03 SP3编译MySQL5.7版本时,常规编译大概率会报错,这是因为OpenEuler系统虽然兼容红帽8.x系列,但是里面的软件包组改动过多,经常会出现编译某个软件时报错。 在OpenEuler22.03 SP3版本中,默认的gcc已 … 阅读全文
在使用redis过程中,往往我们会忽视一些重要的因素,例如redis内存的限制与内存淘汰策略。 首先我们来说下redis内存限制 在redis配置文件中,影响redis使用系统内存的参数是maxmemory。查看当前maxmemory值可以通过redis-cl … 阅读全文
在HPE ProLiant DL20 Gen10服务器安装Windows Server操作系统时,使用了服务器所配备的S100i阵列卡(Software RAID),如果不加载S100i驱动,Windows server安装程序可能无法识别或访问阵列卡上的磁盘 … 阅读全文
我这里以HPE ProLiant DL380 Gen10 server为例,在官方驱动程序中搜索iLO中文语言包关键词Chinese Simplified 我当前使用的Windows系统,所以我这里下载Windows的版本,然后提取更新文件。 运行.exe程序 … 阅读全文
本文以HPE ProLiant DL20 Gen10 server为例,来查看S100i阵列卡状态,通过HPE的SSA软件。 HPE Smart Storage Administrator (HPE SSA) 是惠普企业(Hewlett Packard Ent … 阅读全文
之前写过Dell iDRAC控制卡访问不了的文章:https://blog.whsir.com/post-7357.html,本次来说下HPE的iLO控制卡处理办法。 解决办法:重启iLO控制卡,我这里以HPE ProLiant DL380 Gen10 ser … 阅读全文
当前elasticsearch版本8.11.4,报错内容如下:
1 2 3 |
[ERROR][o.e.b.Elasticsearch ] [ceph1] node validation exception [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch. For more information see [https://www.elastic.co/guide/en/elasticsearch/reference/8.11/bootstrap-checks.html] bootstrap check failure [1] of [1]: memory locking requested for elasticsearch process but memory is not locked; for more information see [https://www.elastic.co/guide/en/elasticsearch/reference/8.11/_memory_lock_check.html] |
这是因为在elasticsearch配置文件中开启了bootstrap.memory_lock: true参数。 解决办法: 1、 … 阅读全文
当前elasticsearch版本8.11.4,报错内容如下:
1 2 3 |
[ERROR][o.e.b.Elasticsearch ] [ceph1] node validation exception [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch. For more information see [https://www.elastic.co/guide/en/elasticsearch/reference/8.11/bootstrap-checks.html] bootstrap check failure [1] of [1]: initial heap size [2147483648] not equal to maximum heap size [4294967296]; this can cause resize pauses and prevents memory locking from locking the entire heap; for more information see [https://www.elastic.co/guide/en/elasticsearch/reference/8.11/_heap_size_check.html] |
这是因为jvm的参数原因,把jvm的参数设置为相等,我这里基于rpm包安装的,所以修改以下配置。 [crayon-662a9a03 … 阅读全文
提到删除文件,首先想到的就是rm命令,但并不是所有的文件删除都需要通过rm命令,本文重点来普及下,在Linux命令行中如何正确的删除文件。 1、删除单一文件 unlink命令:用于删除指定的单一文件,只能同时删除一个文件或链接,不能删除目录,不能批量删除,适合 … 阅读全文