硬件和操作系统
老紫竹
这个作者很懒,什么都没留下…
展开
-
linux redhat 7 sshd 指定sha256密钥算法hmac-sha2-256
redhat 7 的openssh 默认sshd是可以用sha1算法的,处于安全考虑,升级到sha256算法。本文介绍安全加固的方案。redhat 6对应的openssh版本太低,不支持sha256。GBase 8a新版本已经支持这个安全加固项:https://www.gbase8.cn/2591修改配置文件/etc/ssh/sshd_config增加如下参数MACs hmac-sha2-256,[email protected]效果如下..原创 2020-12-28 16:24:54 · 4653 阅读 · 0 评论 -
Linux 通过debugfs查看文件的真正创建时间,不是stat里面的access,modify和change时间,而是crtime
stat命令可以查看到访问时间,修改时间以及属性变动的改动时间,但看不到创建时间。 本文介绍用过debugfs来获取文件真是的创建时间。原文https://www.gbase8.cn/2539stat的输出[root@rh6-1 ~]# stat /opt/gnode/userdata/gbase/gctmpdb/metadata File: `/opt/gnode/userdata/gbase/gctmpdb/metadata' Size: 4096 Bloc.原创 2020-12-22 11:40:57 · 1136 阅读 · 0 评论 -
RAID的后台初始化 Background Initialization
Background initialization is a check for media errors on the drives when you create a virtual drive. It is an automatic operation that starts five minutes after you create the virtual drive. This chec翻译 2015-10-26 14:06:38 · 17257 阅读 · 3 评论 -
GBase 8a集群操作系统安装和配置建议
针对大数据,比如每天2T以上的新数据。RAID 配置 操作系统 2块做RAID 1。 条带默认 数据盘 8块以内做RAID5, 多了做RAID50。 条带,建议1M。操作系统分区 SWAP大小。 低于64G,选择1-2倍内存的SWAP. 比如32G内存,设置32G或者64G的SWAP。 大于等原创 2015-10-26 14:19:06 · 6255 阅读 · 5 评论