修改主机名
vi /etc/hosts
/etc/rc.d/boot.localnet restart
/etc/init.d/network restart
/etc/init.d/ncsd restart
vi /etc/HOSTNAME
设置网卡地址
ifconfig
ifconfig -a
ifconfig eth2 24.24.10.11 netmask 255.255.255.0
查看路由和网关
route
Copyright @ 2024 绿Z Powered by .NET 8.0 on Kubernetes Powered by: .Text and ASP.NET Theme by: .NET Monster