1.添加ip地址
ifconfig eth0:0 10.80.102.240 netmask 255.255.254.0 up
防止重啟丟失
vi /etc/sysconfig/network-scripts/ifcfg-eth0:0
copy eth0 的組態檔 更改新的ip
更改為
2.添加路由 route add default gw 10.80.102.1
3.服務器更名
更改/etc/hosts 檔案
添加192.168.213.8 dbserv1.orbotech.org dbserv1 # 盡量放到上邊一點
4.重啟測驗
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/114812.html
標籤:系統維護與使用區
下一篇:log4cxx出現資料丟失問題
