安装部署

centos 7 mini安装

yum install vim nfs-utils wget *bin/ifconfig mlocate lrzsz epel* *bin/route *bin/traceroute nc -y

centos 7 默认使用firewall管理防火墙,我还是习惯使用iptables.

yum remove firewalld -y  && yum install iptables-services -y

禁用selinux

setenforce 0
sed -i 's/enforcing/disabled/g' /etc/selinux/config

利用nfs共享软件包

yum install nfs-utils -y
echo "/opt *(rw,no_root_squash)" > /etc/exports
#其他机器 mount

安装高版本内核

链接可能失效,可以去elrepo官网查看最新源。

修改主机名

Last updated

Was this helpful?