sudo service bind 9

/etc/bind/zones
/etc/resolv.conf   -> name server
nslookup
nsswitch

 
1145  sudo bash
 
1149  vi /etc/host.conf
1150  route -n
 


1152  sudo bash
1153  brctl delbr br0
1154  brctl br0 down
1155  ifdown br0
1156  brctl delbr br0
1158  ifconfig eth0 up


1161  vi /etc/sysconfig/network-scripts/ifcfg-eth0


 
1163  service networking restart
 

1165  lsb_release -a
 
1166  vi /etc/sysconfig/network-scripts/ifcfg-eth0
1168  vi /etc/sysconfig/network-scripts/ifcfg-br0
1169  hostname
1170  dhclient
 
1172  dmesg
1173  route -n


 
1174  route add default gw 172.16.1.1/24 eth1
1176  route add default gw 172.16.1.1/24 br0
 
1180  dhclient eth0
1182  route add default gw 172.16.1.1/24 eth0
 
 
1185  dhclient eth0
1190  dhclient eth0
 

1191  cat /etc/resolv.conf
1192  vi /etc/resolvconf/resolv.conf.d/head
1193  resolvconf
1194  resolvconf -u
1195  cat /etc/resolv.conf
1196  ping google.com
 
1197  route -n
1198  service networking restart
1199  dmesg
1200  dhclient eth0
1201  pkill dhclient
1202  dhclient eth0
1203  ping google.com
 
1206  sudo bash
1207  ifconfig br0 down
1208  ping google.com
1212  route -n
1213  sudo bash
1214  ifconfig


1218  cd zk-web/
1220  cd conf/
1224  route -n
1225  route add default gw 172.16.1.1/24 br0
1226  route -n
1227  ping google.com
1228  ping ceph2.local
1229  ping ceph3.local
 
1230  route -n
1231  ifconfig
1232  route add default gw 172.16.1.1 eth1
1233  ping 172.16.1.1
1234  route add default gw 172.16.1.1/24 eth1
1235  route -n
1236  route add default gw 172.16.1.1/24
1237  ping google.com
1238  dhclient eth1
 

1318  ifconfig



 
1065  ll /etc/apache2/sites-available/
1066  ll /etc/apache2/
1069  tree /etc/apache2
1070  sudo vim /etc/apache2/sites-enabled/000-default
 
1072  sudo find / -name bootstrap.js
1074  cd zk-web/
1076  sudo find . -name bootstrap.js
1077  cd resources/
1079  cd public/
 


run
 
 
/etc/hosts
/etc/lsb-
/etc/nsswitch
/etc/resolv
/etc/network/interface
 

 
sudo ip route
 
route -n
route add default gw [ip] dev [eth0]
 
sudo if br0 down
brctl -h
brctl delbr br0
 
ifconfig br0 down
brctl delbr br0
 
dhclient_h
 
sudo service bind9
 
/etc/bind/zones