柔中带刚,刚中带柔,淫荡中富含柔和,刚猛中荡漾风骚,无坚不摧,无孔不入!
全部博文(1669)
分类: 云计算
2014-06-04 20:26:07
1
2
3
4
5
6
7
8
9
10
11
12
|
[root@CloudManager ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="none"
ONBOOT="yes"
TYPE="Ethernet"
IPADDR=10.0.0.150
NETMASK=255.255.255.0
[root@CloudManager ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1002 0 0 eth0
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[root@CloudManager ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
BOOTPROTO="none"
ONBOOT="yes"
TYPE="Ethernet"
IPADDR=10.0.0.150
NETMASK=255.255.255.0
GATEWAY=10.0.0.254
[root@CloudManager ~]# nohup /etc/init.d/network restart
nohup: ignoring input and appending output to `nohup.out'
[root@CloudManager ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 1002 0 0 eth0
default 10.0.0.254 0.0.0.0 UG 0 0 0 eth0
|
1
2
3
4
5
6
|
[root@CloudManager ~]# cloudstack-setup-management
Starting to configure CloudStack Management Server:
Configure sudoers ... [OK]
Configure Firewall ... [OK]
Configure CloudStack Management Server ...[OK]
CloudStack Management Server setup is Done!
|