GBase 8a
安装配置
文章

GBase8a部署前环境一般检查

发表于2025-11-11 18:50:3738次浏览4个评论

-----------selinux  
[root@test01 sysconfig]# vi /etc/selinux/config  
reboot  
[root@test01 sysconfig]# sestatus

----------防火墙  
[root@test01 sysconfig]# systemctl status firewalld.service  
[root@test01 sysconfig]# systemctl stop firewalld.service  
[root@test01 sysconfig]# systemctl disable firewalld.service  
-----------sshd  
[root@test01 ~]# service status sshd

------------修改虚存配置  
[root@test01 opt]# echo ‘* soft as unlimited’>>/etc/security/limits.conf  
[root@test01 opt]# echo ‘* hard as unlimited’>>/etc/security/limits.conf

----------关闭transparent_hugepage参数  
[root@test01 ~]# vi /etc/default/grub  
GRUB_CMDLINE_LINUX=“crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet transparent_hugepage=never”  
[root@test01 opt]# grub2-mkconfig -o /boot/grub2/grub.cfg  
重启  
[root@test01 opt]# cat /sys/kernel/mm/transparent_hugepage/enabled

评论

登录后才可以发表评论
用户头像
GBase用户28017发表于 8个月前
学习。
用户头像
锁钥发表于 8个月前
学习学习
GBase用户31099发表于 8个月前
66
用户头像
levvel发表于 3个月前
进来看看,应该有收获