转载请注明出处,谢谢~
系列文章目录
文章目录
前言
注意:挂载的文件系统必须是ext4,不能是默认的xfs!swap至少2GB
安装完CentOS后先yum update确保依赖包都是最新的,最好用静态地址
一、安装前准备
1.关闭防火墙
[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
2.关闭selinux
[root@localhost ~]# vi /etc/selinux/config
将SELINUX改为SELINUX=disabled
[root@localhost ~]# setenforce 0 #临时关闭,后续需要重启
3.安装依赖包
[root@localhost ~]# yum -y install gdb m