……
相关下载:
(1) RHEV Hypervisor 6.5 ISO
……
相关下载:
(1) RHEV Hypervisor 6.5 ISO
http://www.ioncube.com/loaders.php
http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
[ionCube Loader]
zend_extension=”/usr/local/ioncube/ioncube_loader_lin_5.3.so”
[root@cp ~]# php -v
PHP 5.3.3 (cli) (built: Dec 11 2013 03:29:57)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd.
[root@cp ~]#
最小化安装系统后查看系统默认软件源列表
linux-o2qn:~ # zypper repos
# | Alias | Name | Enabled | Refresh
--+---------------------------+------------------------------------+---------+--------
1 | openSUSE-13.1-1.10 | openSUSE-13.1-1.10 | Yes | No
2 | repo-debug | openSUSE-13.1-Debug | No | Yes
3 | repo-debug-update | openSUSE-13.1-Update-Debug | No | Yes
4 | repo-debug-update-non-oss | openSUSE-13.1-Update-Debug-Non-Oss | No | Yes
5 | repo-non-oss | openSUSE-13.1-Non-Oss | Yes | Yes
6 | repo-oss | openSUSE-13.1-Oss | Yes | Yes
7 | repo-source | openSUSE-13.1-Source | No | Yes
8 | repo-update | openSUSE-13.1-Update | Yes | Yes
9 | repo-update-non-oss | openSUSE-13.1-Update-Non-Oss | Yes | Yes
linux-o2qn:~ #
删除安装系统时生成的安装光盘软件源后重新查看源列表
linux-o2qn:~ # zypper removerepo openSUSE-13.1-1.10
Removing repository 'openSUSE-13.1-1.10' ..........................................................[done]
Repository 'openSUSE-13.1-1.10' has been removed.
linux-o2qn:~ # zypper repos
# | Alias | Name | Enabled | Refresh
--+---------------------------+------------------------------------+---------+--------
1 | repo-debug | openSUSE-13.1-Debug | No | Yes
2 | repo-debug-update | openSUSE-13.1-Update-Debug | No | Yes
3 | repo-debug-update-non-oss | openSUSE-13.1-Update-Debug-Non-Oss | No | Yes
4 | repo-non-oss | openSUSE-13.1-Non-Oss | Yes | Yes
5 | repo-oss | openSUSE-13.1-Oss | Yes | Yes
6 | repo-source | openSUSE-13.1-Source | No | Yes
7 | repo-update | openSUSE-13.1-Update | Yes | Yes
8 | repo-update-non-oss | openSUSE-13.1-Update-Non-Oss | Yes | Yes
linux-o2qn:~ #
删除软件源配置时同时也删除了目录中的配置文件
linux-o2qn:~ # ls /etc/zypp/repos.d/ repo-debug.repo repo-debug-update.repo repo-oss.repo repo-update-non-oss.repo repo-debug-update-non-oss.repo repo-non-oss.repo repo-source.repo repo-update.repo linux-o2qn:~ # linux-o2qn:~ # zypper rr repo-oss repo-non-oss repo-update repo-update-non-oss Removing repository 'openSUSE-13.1-Non-Oss' .......................................................[done] Repository 'openSUSE-13.1-Non-Oss' has been removed. Removing repository 'openSUSE-13.1-Oss' ...........................................................[done] Repository 'openSUSE-13.1-Oss' has been removed. Removing repository 'openSUSE-13.1-Update' ........................................................[done] Repository 'openSUSE-13.1-Update' has been removed. Removing repository 'openSUSE-13.1-Update-Non-Oss' ................................................[done] Repository 'openSUSE-13.1-Update-Non-Oss' has been removed. linux-o2qn:~ # ls /etc/zypp/repos.d/ repo-debug.repo repo-debug-update-non-oss.repo repo-debug-update.repo repo-source.repo linux-o2qn:~ #
添加阿里云软件源,可以提高访问和下载速度
linux-o2qn:~ # zypper addrepo -f http://mirrors.aliyun.com/opensuse/distribution/13.1/repo/oss/ openSUSE-13.1-Oss
Adding repository ‘openSUSE-13.1-Oss’ …………………………………………………….[done]
Repository ‘openSUSE-13.1-Oss’ successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: http://mirrors.aliyun.com/opensuse/distribution/13.1/repo/oss/
linux-o2qn:~ # zypper addrepo -f http://mirrors.aliyun.com/opensuse/distribution/13.1/repo/non-oss/ openSUSE-13.1-Non-Oss
Adding repository ‘openSUSE-13.1-Non-Oss’ …………………………………………………[done]
Repository ‘openSUSE-13.1-Non-Oss’ successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: http://mirrors.aliyun.com/opensuse/distribution/13.1/repo/non-oss/
linux-o2qn:~ # zypper repos
# | Alias | Name | Enabled | Refresh
–+—————————+————————————+———+——–
1 | openSUSE-13.1-Non-Oss | openSUSE-13.1-Non-Oss | Yes | Yes
2 | openSUSE-13.1-Oss | openSUSE-13.1-Oss | Yes | Yes
3 | repo-debug | openSUSE-13.1-Debug | No | Yes
4 | repo-debug-update | openSUSE-13.1-Update-Debug | No | Yes
5 | repo-debug-update-non-oss | openSUSE-13.1-Update-Debug-Non-Oss | No | Yes
6 | repo-source | openSUSE-13.1-Source | No | Yes
linux-o2qn:~ #
使用短参数添加软件源
linux-o2qn:~ # zypper ar -f http://mirrors.aliyun.com/opensuse/update/13.1/ openSUSE-13.1-Update-Oss
Adding repository ‘openSUSE-13.1-Update-Oss’ ………………………………………………[done]
Repository ‘openSUSE-13.1-Update-Oss’ successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: http://mirrors.aliyun.com/opensuse/update/13.1/
linux-o2qn:~ # zypper ar -f http://mirrors.aliyun.com/opensuse/update/13.1-non-oss/ openSUSE-13.1-Update-Non-Oss
Adding repository ‘openSUSE-13.1-Update-Non-Oss’ …………………………………………..[done]
Repository ‘openSUSE-13.1-Update-Non-Oss’ successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: http://mirrors.aliyun.com/opensuse/update/13.1-non-oss/
linux-o2qn:~ #
更改软件源后执行刷新
linux-o2qn:~ # zypper refresh Retrieving repository 'openSUSE-13.1-Non-Oss' metadata ............................................[done] Building repository 'openSUSE-13.1-Non-Oss' cache .................................................[done] Retrieving repository 'openSUSE-13.1-Oss' metadata ................................................[done] Building repository 'openSUSE-13.1-Oss' cache .....................................................[done] Retrieving repository 'openSUSE-13.1-Update-Non-Oss' metadata .....................................[done] Building repository 'openSUSE-13.1-Update-Non-Oss' cache ..........................................[done] Retrieving repository 'openSUSE-13.1-Update-Oss' metadata .........................................[done] Building repository 'openSUSE-13.1-Update-Oss' cache ..............................................[done] All repositories have been refreshed. linux-o2qn:~ #
linux-s4lx:~ # uname -ar
Linux linux-s4lx 3.11.6-4-default #1 SMP Wed Oct 30 18:04:56 UTC 2013 (e6d4a27) x86_64 x86_64 x86_64 GNU/Linux
linux-s4lx:~ # zypper update
Loading repository data…
Reading installed packages…
The following NEW packages are going to be installed:
kernel-default-3.11.10-11.1 keyutils
The following packages are going to be upgraded:
aaa_base aaa_base-extras autofs bind-libs bind-utils ca-certificates ca-certificates-mozilla coreutils
curl dbus-1 dbus-1-x11 file file-magic fontconfig gio-branding-openSUSE glib2-tools glibc glibc-extra
glibc-locale gpg2 grub2 grub2-i386-pc grub2-x86_64-efi iputils kernel-firmware kpartx krb5 less
libblkid1 libcap-ng0 libcurl4 libdbus-1-3 libgio-2_0-0 libglib-2_0-0 libgmodule-2_0-0 libgobject-2_0-0
libgudev-1_0-0 libmagic1 libmount1 libopenssl1_0_0 libparted0 libpng16-16 libprocps1 libpython2_7-1_0
libsolv-tools libstorage4 libstorage-ruby libtirpc1 libudev1 libupower-glib1 libuuid1 libxml2-2
libyaml-0-2 libzypp logrotate lvm2 mdadm mozilla-nspr multipath-tools nfs-client nscd openssh openssl
pam parted pm-utils procps python-base release-notes-openSUSE rpm rsync ruby20 sudo SuSEfirewall2
sysconfig sysconfig-netconfig sysconfig-network systemd systemd-presets-branding-openSUSE
systemd-sysvinit tar udev udevmountd upower util-linux vim yast2 yast2-add-on yast2-ldap-client
yast2-network yast2-ruby-bindings yast2-storage yast2-trans-en_US yast2-ycp-ui-bindings zypper
zypper-aptitude
96 packages to upgrade, 2 new.
Overall download size: 104.6 MiB. After the operation, additional 160.8 MiB will be used.
Continue? [y/n/? shows all options] (y):
http://mirrors.sohu.com/opensuse/update/13.1/
http://mirrors.sohu.com/opensuse/update/13.1-non-oss/
http://mirrors.sohu.com/opensuse/distribution/13.1/repo/non-oss/
http://mirrors.sohu.com/opensuse/distribution/13.1/repo/oss
查看网卡配置信息,默认为从DHCP自动获得IP地址
linux-o2qn:~ # cat /etc/sysconfig/network/ifcfg-eth0
BOOTPROTO=’dhcp’
BROADCAST=”
ETHTOOL_OPTIONS=”
IPADDR=”
MTU=”
NAME=’Ethernet Card 0′
NETMASK=”
NETWORK=”
REMOTE_IPADDR=”
STARTMODE=’auto’
USERCONTROL=’no’
linux-o2qn:~ #
查看接口IP信息
linux-o2qn:~ # ifconfig
eth0 Link encap:Ethernet HWaddr 52:54:00:23:36:5F
inet addr:192.168.2.233 Bcast:192.168.3.255 Mask:255.255.252.0
inet6 addr: fe80::5054:ff:fe23:365f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:165825 errors:0 dropped:29991 overruns:0 frame:0
TX packets:17858 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41686835 (39.7 Mb) TX bytes:1926372 (1.8 Mb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
linux-o2qn:~ #
启动SSHD服务并查看服务运行状态
linux-o2qn:~ # rcsshd start
linux-o2qn:~ # rcsshd status |grep Active
Active: active (running) since Wed 2014-06-25 04:11:16 CST; 1h 23min ago
linux-o2qn:~ #
linux-o2qn:~ # netstat -ltn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 :::22 :::* LISTEN
linux-o2qn:~ #
远程登录SSH无法成功
harveymei@linux-7zyd:~> ssh root@192.168.2.233
ssh: connect to host 192.168.2.233 port 22: Connection timed out
harveymei@linux-7zyd:~>
修改防火墙配置文件,设置允许从外部网络访问的TCP服务端口号或名称
linux-o2qn:~ # vi /etc/sysconfig/SuSEfirewall2
## Type: string
#
# Which TCP services _on the firewall_ should be accessible from
# untrusted networks?
#
# Format: space separated list of ports, port ranges or well known
# service names (see /etc/services)
#
# Examples: “ssh”, “123 514”, “3200:3299”, “ftp 22 telnet 512:514″
#
# Note: this setting has precedence over FW_SERVICES_ACCEPT_*
#
FW_SERVICES_EXT_TCP=””
修改为以下内容
FW_SERVICES_EXT_TCP=”22″
重启防火墙并查看防火墙运行状态
linux-o2qn:~ # rcSuSEfirewall2 restart
linux-o2qn:~ # rcSuSEfirewall2 status
SuSEfirewall2.service – SuSEfirewall2 phase 2
Loaded: loaded (/usr/lib/systemd/system/SuSEfirewall2.service; enabled)
Active: active (exited) since Wed 2014-06-25 03:18:47 HKT; 4s ago
Process: 5562 ExecStop=/usr/sbin/SuSEfirewall2 systemd_stop (code=exited, status=0/SUCCESS)
Process: 5644 ExecStart=/usr/sbin/SuSEfirewall2 boot_setup (code=exited, status=0/SUCCESS)
Main PID: 5644 (code=exited, status=0/SUCCESS)
Jun 25 03:18:47 linux-o2qn systemd[1]: Starting SuSEfirewall2 phase 2…
Jun 25 03:18:47 linux-o2qn SuSEfirewall2[5650]: Setting up rules from /etc/sysconfig/SuSEfirewall2 …
Jun 25 03:18:47 linux-o2qn SuSEfirewall2[5714]: Firewall rules successfully set
Jun 25 03:18:47 linux-o2qn systemd[1]: Started SuSEfirewall2 phase 2.
linux-o2qn:~ #
再次尝试远程登录SSH服务
harveymei@linux-7zyd:~> ssh root@192.168.2.233
Password:
Last login: Wed Jun 25 03:15:37 2014 from 192.168.1.37
Have a lot of fun…
linux-o2qn:~ #
美国FDC西雅图机房到阿里云香港节点路由
[root@mon-sea ~]$ tracepath 58.96.169.52
1: mon-sea (192.240.101.xxx) 0.167ms pmtu 1500
1: 50.7.72.129 (50.7.72.129) 5.492ms
1: 50.7.72.129 (50.7.72.129) 0.969ms
2: ae1.mpr1.sea1.us.above.net (208.184.53.193) 0.462ms
3: ae10.cr1.sjc2.us.above.net (64.125.21.25) 17.555ms
4: ae6.mpr1.pao1.us.above.net (64.125.31.46) 18.233ms
5: ge-0-0-1.0.ejr02.pao001.flagtel.com (198.32.176.137) 18.799ms asymm 6
6: so-0-1-1.0.pjr01.wad001.flagtel.com (62.216.128.2) 170.897ms asymm 13
7: ge-0-3-0.0.pjr02.hkg005.flagtel.com (85.95.26.89) 172.159ms asymm 12
8: so-5-0-0.0.cjr04.hkg003.flagtel.com (85.95.25.214) 174.487ms
9: xe-2-2-0.0.cji02.hkg003.flagtel.com (62.216.128.102) 172.114ms asymm 10
10: 80.77.0.198 (80.77.0.198) 170.967ms
11: 202.123.74.121 (202.123.74.121) 172.332ms
12: 58.96.160.245 (58.96.160.245) 171.111ms
13: 58.96.160.234 (58.96.160.234) 172.061ms
14: 58.96.160.241 (58.96.160.241) 170.377ms asymm 13
15: no reply
16: 58.96.169.52 (58.96.169.52) 171.787ms !H
Resume: pmtu 1500
[root@mon-sea ~]$
[root@mon-sea ~]$ ping -c 8 58.96.169.52
延时
PING 58.96.169.52 (58.96.169.52) 56(84) bytes of data.
64 bytes from 58.96.169.52: icmp_seq=1 ttl=52 time=171 ms
64 bytes from 58.96.169.52: icmp_seq=2 ttl=52 time=174 ms
64 bytes from 58.96.169.52: icmp_seq=3 ttl=52 time=172 ms
64 bytes from 58.96.169.52: icmp_seq=4 ttl=52 time=171 ms
64 bytes from 58.96.169.52: icmp_seq=5 ttl=52 time=173 ms
64 bytes from 58.96.169.52: icmp_seq=6 ttl=52 time=182 ms
64 bytes from 58.96.169.52: icmp_seq=7 ttl=52 time=183 ms
64 bytes from 58.96.169.52: icmp_seq=8 ttl=52 time=172 ms
— 58.96.169.52 ping statistics —
8 packets transmitted, 8 received, 0% packet loss, time 7183ms
rtt min/avg/max/mdev = 171.109/175.191/183.139/4.566 ms
[root@mon-sea ~]$
美国FDC洛杉矶机房到阿里云香港节点路由
[root@mon-lax ~]$ tracepath 58.96.169.52
1: mon-lax (50.7.103.xx) 0.165ms pmtu 1500
1: 50.7.102.201 (50.7.102.201) 1.236ms
1: 50.7.102.201 (50.7.102.201) 0.918ms
2: ae1.er3.lax112.us.above.net (208.184.110.153) 0.452ms
3: ae6.cr1.lax112.us.above.net (64.125.20.221) 0.493ms
4: ae1.cr2.sjc2.us.above.net (64.125.31.233) 10.502ms
5: ae3.cr1.sjc2.us.above.net (64.125.26.26) 8.720ms asymm 4
6: ae6.mpr1.pao1.us.above.net (64.125.31.46) 9.541ms asymm 5
7: ge-0-0-1.0.ejr02.pao001.flagtel.com (198.32.176.137) 9.959ms
8: so-0-1-1.0.pjr01.wad001.flagtel.com (62.216.128.2) 161.433ms asymm 14
9: ge-0-3-0.0.pjr02.hkg005.flagtel.com (85.95.26.89) 183.356ms asymm 13
10: so-5-0-0.0.cjr04.hkg003.flagtel.com (85.95.25.214) 166.270ms asymm 9
11: xe-2-2-0.0.cji02.hkg003.flagtel.com (62.216.128.102) 161.535ms
12: 80.77.0.198 (80.77.0.198) 164.378ms asymm 11
13: 202.123.74.121 (202.123.74.121) 179.274ms asymm 12
14: 58.96.160.245 (58.96.160.245) 162.333ms asymm 13
15: 58.96.160.234 (58.96.160.234) 166.776ms asymm 13
16: 58.96.160.241 (58.96.160.241) 161.198ms asymm 14
17: no reply
18: 58.96.169.52 (58.96.169.52) 161.058ms !H
Resume: pmtu 1500
[root@mon-lax ~]$
[root@mon-lax ~]$ ping -c 8 58.96.169.52
PING 58.96.169.52 (58.96.169.52) 56(84) bytes of data.
64 bytes from 58.96.169.52: icmp_seq=1 ttl=51 time=161 ms
64 bytes from 58.96.169.52: icmp_seq=2 ttl=51 time=163 ms
64 bytes from 58.96.169.52: icmp_seq=3 ttl=51 time=161 ms
64 bytes from 58.96.169.52: icmp_seq=4 ttl=51 time=162 ms
64 bytes from 58.96.169.52: icmp_seq=5 ttl=51 time=162 ms
64 bytes from 58.96.169.52: icmp_seq=6 ttl=51 time=164 ms
64 bytes from 58.96.169.52: icmp_seq=7 ttl=51 time=162 ms
64 bytes from 58.96.169.52: icmp_seq=8 ttl=51 time=162 ms
— 58.96.169.52 ping statistics —
8 packets transmitted, 8 received, 0% packet loss, time 7171ms
rtt min/avg/max/mdev = 161.219/162.574/164.032/0.949 ms
[root@mon-lax ~]$
阿里云北京节点到香港节点路由
[root@AY1405192126447871b3Z ~]# tracepath 58.96.169.52
1: 182.92.x.xx (182.92.x.xx) 0.124ms pmtu 1500
1: 182.92.3.249 (182.92.3.249) 0.490ms
1: 182.92.3.249 (182.92.3.249) 0.494ms
2: 10.106.128.34 (10.106.128.34) 0.474ms
3: 10.255.32.114 (10.255.32.114) 3.658ms
4: 180.149.140.33 (180.149.140.33) 2.347ms asymm 5
5: 180.149.128.101 (180.149.128.101) 4.384ms
6: 180.149.128.113 (180.149.128.113) 7.684ms
7: 202.97.53.102 (202.97.53.102) 3.716ms asymm 8
8: 202.97.53.234 (202.97.53.234) 4.918ms asymm 9
9: 202.97.61.54 (202.97.61.54) 41.146ms
10: no reply
11: 0.ge-6-0-2-XT3.HKG2.Alter.Net (210.80.3.109) 55.096ms asymm 12
12: 0.gigabitethernet6-0-0.GW9.HKG2.Alter.Net (210.80.3.74) 38.709ms asymm 13
13: towngastelecom-gw.customer.alter.net (202.130.165.14) 44.837ms
14: 202.123.74.121 (202.123.74.121) 73.009ms asymm 15
15: 58.96.160.245 (58.96.160.245) 49.868ms asymm 14
16: 58.96.160.234 (58.96.160.234) 48.499ms
17: 58.96.160.241 (58.96.160.241) 45.385ms asymm 16
18: no reply
19: 58.96.169.52 (58.96.169.52) 47.707ms !H
Resume: pmtu 1500
[root@AY1405192126447871b3Z ~]#
[root@AY1405192126447871b3Z ~]# ping -c 8 58.96.169.52
PING 58.96.169.52 (58.96.169.52) 56(84) bytes of data.
64 bytes from 58.96.169.52: icmp_seq=1 ttl=48 time=44.8 ms
64 bytes from 58.96.169.52: icmp_seq=2 ttl=48 time=43.1 ms
64 bytes from 58.96.169.52: icmp_seq=3 ttl=48 time=42.4 ms
64 bytes from 58.96.169.52: icmp_seq=4 ttl=48 time=42.7 ms
64 bytes from 58.96.169.52: icmp_seq=5 ttl=48 time=46.6 ms
64 bytes from 58.96.169.52: icmp_seq=6 ttl=48 time=52.2 ms
64 bytes from 58.96.169.52: icmp_seq=7 ttl=48 time=44.3 ms
64 bytes from 58.96.169.52: icmp_seq=8 ttl=48 time=46.4 ms
— 58.96.169.52 ping statistics —
8 packets transmitted, 8 received, 0% packet loss, time 7057ms
rtt min/avg/max/mdev = 42.412/45.364/52.299/3.021 ms
[root@AY1405192126447871b3Z ~]#
未优化路由的路由跟踪绕道日本
[harveymei@monitor ~]$ tracepath 58.96.169.52 1: 182.92.x.xx (182.92.x.xx) 0.115ms pmtu 1500 1: 182.92.3.249 (182.92.3.249) 0.536ms 1: 182.92.3.249 (182.92.3.249) 0.697ms 2: 10.106.128.58 (10.106.128.58) 0.527ms 3: 10.255.32.110 (10.255.32.110) 1.505ms 4: 180.149.140.41 (180.149.140.41) 0.448ms asymm 5 5: 202.106.35.189 (202.106.35.189) 5.312ms 6: 180.149.128.9 (180.149.128.9) 3.736ms asymm 7 7: 202.97.53.34 (202.97.53.34) 3.659ms asymm 8 8: 219.158.101.34 (219.158.101.34) 5.899ms asymm 7 9: p64-7-0-1.r21.tokyjp05.jp.bb.gin.ntt.net (129.250.66.53) 60.465ms asymm 10 10: ae-0.r25.tokyjp05.jp.bb.gin.ntt.net (129.250.6.200) 62.278ms asymm 11 11: ae-8.r25.tokyjp05.jp.bb.gin.ntt.net (129.250.3.157) 50.973ms 12: ae-1.r01.tokyjp03.jp.bb.gin.ntt.net (129.250.6.166) 124.612ms asymm 13 13: xe-0-0-0-13.r01.tokyjp03.jp.ce.gin.ntt.net (61.213.160.222) 122.828ms asymm 14 14: ge-1-1-0.0.pjr02.wad001.flagtel.com (85.95.26.117) 105.993ms asymm 21 15: so-5-0-0.0.cjr04.hkg003.flagtel.com (85.95.25.214) 173.519ms asymm 18 16: so-5-0-0.0.cjr04.hkg003.flagtel.com (85.95.25.214) 175.549ms asymm 18 17: 80.77.0.198 (80.77.0.198) 265.257ms asymm 14 18: 202.123.74.121 (202.123.74.121) 243.866ms asymm 13 19: 202.123.74.121 (202.123.74.121) 239.736ms asymm 13 20: 58.96.160.245 (58.96.160.245) 248.474ms asymm 15 21: 58.96.169.52 (58.96.169.52) 254.868ms !H Resume: pmtu 1500 [harveymei@monitor ~]$
本地台式机
root@root-desktop:~$ tracepath 58.96.169.52
1: root-desktop.local 0.125ms pmtu 1500
1: 192.168.1.254 1.021ms
1: 192.168.1.254 0.987ms
2: 183.49.125.243 1.122ms pmtu 1492
2: 183.49.124.1 5.230ms
3: 113.106.37.85 2.703ms
4: 121.15.179.54 3.779ms asymm 5
5: 121.34.242.250 9.189ms
6: 202.97.33.206 6.939ms
7: 202.97.60.70 131.812ms
8: 202.97.61.22 77.714ms
9: no reply
10: 0.ge-6-0-2-XT3.HKG2.Alter.Net 14.852ms asymm 11
11: 0.gigabitethernet6-0-0.GW9.HKG2.Alter.Net 11.380ms
12: towngastelecom-gw.customer.alter.net 18.089ms
13: 202.123.74.121 18.825ms
14: 58.96.160.245 117.302ms asymm 13
15: 58.96.160.234 18.335ms
16: 58.96.160.241 29.325ms asymm 15
17: no reply
18: 58.96.169.52 16.126ms !H
Resume: pmtu 1492
root@root-desktop:~$
root@root-desktop:~$ ping -c 8 58.96.169.52
PING 58.96.169.52 (58.96.169.52) 56(84) bytes of data.
64 bytes from 58.96.169.52: icmp_req=1 ttl=50 time=17.4 ms
64 bytes from 58.96.169.52: icmp_req=2 ttl=50 time=14.8 ms
64 bytes from 58.96.169.52: icmp_req=3 ttl=50 time=25.4 ms
64 bytes from 58.96.169.52: icmp_req=4 ttl=50 time=21.1 ms
64 bytes from 58.96.169.52: icmp_req=5 ttl=50 time=18.8 ms
64 bytes from 58.96.169.52: icmp_req=6 ttl=50 time=28.1 ms
64 bytes from 58.96.169.52: icmp_req=7 ttl=50 time=14.4 ms
64 bytes from 58.96.169.52: icmp_req=8 ttl=50 time=16.0 ms
— 58.96.169.52 ping statistics —
8 packets transmitted, 8 received, 0% packet loss, time 7011ms
rtt min/avg/max/mdev = 14.414/19.566/28.197/4.716 ms
root@root-desktop:~$
[root@VM_27_135_centos ~]# ping -c 8 58.96.169.52
PING 58.96.169.52 (58.96.169.52) 56(84) bytes of data.
64 bytes from 58.96.169.52: icmp_seq=1 ttl=45 time=16.1 ms
64 bytes from 58.96.169.52: icmp_seq=2 ttl=45 time=16.4 ms
64 bytes from 58.96.169.52: icmp_seq=3 ttl=45 time=16.9 ms
64 bytes from 58.96.169.52: icmp_seq=4 ttl=45 time=16.2 ms
64 bytes from 58.96.169.52: icmp_seq=5 ttl=45 time=20.2 ms
64 bytes from 58.96.169.52: icmp_seq=6 ttl=45 time=16.8 ms
64 bytes from 58.96.169.52: icmp_seq=7 ttl=45 time=17.8 ms
64 bytes from 58.96.169.52: icmp_seq=8 ttl=45 time=16.3 ms
— 58.96.169.52 ping statistics —
8 packets transmitted, 8 received, 0% packet loss, time 7027ms
rtt min/avg/max/mdev = 16.134/17.120/20.225/1.292 ms
[root@VM_27_135_centos ~]#
腾讯云主机最低配置CPU信息 Xeon X3440 2.53Ghz主频 4MB缓存
[root@VM_27_135_centos ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 30 model name : Intel(R) Xeon(R) CPU X3440 @ 2.53GHz stepping : 5 cpu MHz : 2526.998 cache size : 4096 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc up arch_perfmon rep_good unfair_spinlock pni ssse3 cx16 sse4_1 sse4_2 popcnt hypervisor lahf_lm bogomips : 5053.99 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management:
阿里云主机最低配置CPU信息
[root@AY1405192126447871b3Z ~]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 45
model name : Intel(R) Xeon(R) CPU E5-2430 0 @ 2.20GHz
stepping : 7
cpu MHz : 2200.095
cache size : 15360 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush mmx fxsr sse sse2 ht syscall nx lm up rep_good unfair_spinlock pni ssse3 cx16 sse4_1 sse4_2 popcnt aes hypervisor lahf_lm
bogomips : 4400.19
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
[root@AY1405192126447871b3Z ~]#
查看demsg确认使用的虚拟化技术平台
[root@VM_27_135_centos ~]# dmesg |grep xen
[root@VM_27_135_centos ~]# dmesg |grep kvm
kvm-clock: Using msrs 4b564d01 and 4b564d00
kvm-clock: cpu 0, msr 0:1c257c1, boot clock
kvm-clock: cpu 0, msr 0:22167c1, primary cpu clock
kvm-stealtime: cpu 0, msr 220e880
Switching to clocksource kvm-clock
[root@VM_27_135_centos ~]#
[root@AY1405192126447871b3Z ~]# dmesg |grep xen
CPU: CPU feature rdtscp disabled on xen guest
CPU: CPU feature constant_tsc disabled on xen guest
xen-platform-pci 0000:00:03.0: PCI INT A -> GSI 28 (level, low) -> IRQ 28
[root@AY1405192126447871b3Z ~]# dmesg |grep kvm
[root@AY1405192126447871b3Z ~]#
[root@VM_27_135_centos ~]#
腾讯云主机为单网卡,主机无公网IP绑定
[root@VM_27_135_centos ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 52:54:00:D3:AD:AD
inet addr:10.142.27.135 Bcast:10.142.27.255 Mask:255.255.255.0
inet6 addr: fe80::5054:ff:fed3:adad/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25968 errors:0 dropped:0 overruns:0 frame:0
TX packets:21664 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:190788488 (181.9 MiB) TX bytes:10550093 (10.0 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:200 (200.0 b) TX bytes:200 (200.0 b)
[root@VM_27_135_centos ~]#
阿里云主机为双网卡,分别绑定公网IP和私网IP(阿里云北京节点)
[root@AY1405192126447871b3Z ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3E:00:3B:C0
inet addr:10.162.222.113 Bcast:10.162.223.255 Mask:255.255.240.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:83246285 errors:0 dropped:0 overruns:0 frame:0
TX packets:81922830 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25346599332 (23.6 GiB) TX bytes:25324814074 (23.5 GiB)
Interrupt:165
eth1 Link encap:Ethernet HWaddr 00:16:3E:00:3B:C2
inet addr:182.92.x.xx Bcast:182.92.11.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:131305480 errors:0 dropped:0 overruns:0 frame:0
TX packets:793230 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6117093526 (5.6 GiB) TX bytes:270508082 (257.9 MiB)
Interrupt:164
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:68664 errors:0 dropped:0 overruns:0 frame:0
TX packets:68664 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5239997 (4.9 MiB) TX bytes:5239997 (4.9 MiB)
[root@AY1405192126447871b3Z ~]#
默认CentOS6.3 x86_64系统 默认内核版本和执行yum update后的内核版本
[root@VM_27_135_centos ~]# uname -ar
Linux VM_27_135_centos 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@VM_27_135_centos ~]#
[root@VM_27_135_centos ~]# uname -ar
Linux VM_27_135_centos 2.6.32-431.20.3.el6.centos.plus.x86_64 #1 SMP Thu Jun 19 23:04:15 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@VM_27_135_centos ~]#
在本地本机ping www.qq.com的延时(深圳电信100M光纤ADSL)
harveymei@linux-7zyd:~> ping -c 6 www.qq.com
PING www.qq.com (14.17.32.211) 56(84) bytes of data.
64 bytes from 14.17.32.211: icmp_seq=1 ttl=55 time=2.16 ms
64 bytes from 14.17.32.211: icmp_seq=2 ttl=55 time=3.60 ms
64 bytes from 14.17.32.211: icmp_seq=3 ttl=55 time=3.57 ms
64 bytes from 14.17.32.211: icmp_seq=4 ttl=55 time=3.72 ms
64 bytes from 14.17.32.211: icmp_seq=5 ttl=55 time=4.98 ms
64 bytes from 14.17.32.211: icmp_seq=6 ttl=55 time=3.03 ms
— www.qq.com ping statistics —
6 packets transmitted, 6 received, 0% packet loss, time 5005ms
rtt min/avg/max/mdev = 2.160/3.515/4.988/0.846 ms
harveymei@linux-7zyd:~>
在qcloud(腾讯云华南广州节点1Mbps)主机上ping www.qq.com的延时
[root@VM_27_135_centos ~]# ping -c 6 www.qq.com
PING www.qq.com (183.60.15.153) 56(84) bytes of data.
64 bytes from 183.60.15.153: icmp_seq=1 ttl=51 time=11.2 ms
64 bytes from 183.60.15.153: icmp_seq=2 ttl=51 time=11.2 ms
64 bytes from 183.60.15.153: icmp_seq=3 ttl=51 time=11.2 ms
64 bytes from 183.60.15.153: icmp_seq=4 ttl=51 time=11.2 ms
64 bytes from 183.60.15.153: icmp_seq=5 ttl=51 time=11.2 ms
64 bytes from 183.60.15.153: icmp_seq=6 ttl=51 time=11.2 ms
— www.qq.com ping statistics —
6 packets transmitted, 6 received, 0% packet loss, time 5018ms
rtt min/avg/max/mdev = 11.202/11.242/11.272/0.109 ms
[root@VM_27_135_centos ~]#
[root@VM_27_135_centos ~]# ping -c 6 www.qq.com
PING www.qq.com (14.17.32.211) 56(84) bytes of data.
64 bytes from 14.17.32.211: icmp_seq=1 ttl=50 time=10.6 ms
64 bytes from 14.17.32.211: icmp_seq=2 ttl=50 time=10.3 ms
64 bytes from 14.17.32.211: icmp_seq=3 ttl=50 time=10.5 ms
64 bytes from 14.17.32.211: icmp_seq=4 ttl=50 time=10.5 ms
64 bytes from 14.17.32.211: icmp_seq=5 ttl=50 time=10.5 ms
64 bytes from 14.17.32.211: icmp_seq=6 ttl=50 time=10.5 ms
— www.qq.com ping statistics —
6 packets transmitted, 6 received, 0% packet loss, time 5019ms
rtt min/avg/max/mdev = 10.391/10.549/10.639/0.154 ms
[root@VM_27_135_centos ~]#
在阿里云北京节点1Mbps主机上ping www.qq.com的延时
[root@AY1405192126447871b3Z ~]# ping -c 6 www.qq.com
PING www.qq.com (61.135.157.156) 56(84) bytes of data.
64 bytes from 61.135.157.156: icmp_seq=1 ttl=52 time=5.76 ms
64 bytes from 61.135.157.156: icmp_seq=2 ttl=52 time=5.55 ms
64 bytes from 61.135.157.156: icmp_seq=3 ttl=52 time=5.72 ms
64 bytes from 61.135.157.156: icmp_seq=4 ttl=52 time=5.69 ms
64 bytes from 61.135.157.156: icmp_seq=5 ttl=52 time=5.69 ms
64 bytes from 61.135.157.156: icmp_seq=6 ttl=52 time=5.62 ms
— www.qq.com ping statistics —
6 packets transmitted, 6 received, 0% packet loss, time 5014ms
rtt min/avg/max/mdev = 5.550/5.674/5.760/0.091 ms
[root@AY1405192126447871b3Z ~]#
可以ping通内部网络非本人账户下其他主机或设备
[root@VM_27_135_centos ~]# ping -c 2 10.142.27.136
PING 10.142.27.136 (10.142.27.136) 56(84) bytes of data.
From 10.142.27.135 icmp_seq=1 Destination Host Unreachable
From 10.142.27.135 icmp_seq=2 Destination Host Unreachable
— 10.142.27.136 ping statistics —
2 packets transmitted, 0 received, +2 errors, 100% packet loss, time 3000ms
pipe 2
[root@VM_27_135_centos ~]# ping -c 2 10.142.27.135
PING 10.142.27.135 (10.142.27.135) 56(84) bytes of data.
64 bytes from 10.142.27.135: icmp_seq=1 ttl=64 time=0.024 ms
64 bytes from 10.142.27.135: icmp_seq=2 ttl=64 time=0.028 ms
— 10.142.27.135 ping statistics —
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.024/0.026/0.028/0.002 ms
[root@VM_27_135_centos ~]# ping -c 2 10.142.27.134
PING 10.142.27.134 (10.142.27.134) 56(84) bytes of data.
64 bytes from 10.142.27.134: icmp_seq=1 ttl=64 time=1.15 ms
64 bytes from 10.142.27.134: icmp_seq=2 ttl=64 time=0.501 ms
— 10.142.27.134 ping statistics —
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 0.501/0.827/1.154/0.327 ms
[root@VM_27_135_centos ~]# ping -c 2 10.142.27.129
PING 10.142.27.129 (10.142.27.129) 56(84) bytes of data.
64 bytes from 10.142.27.129: icmp_seq=1 ttl=64 time=2.35 ms
64 bytes from 10.142.27.129: icmp_seq=2 ttl=64 time=0.699 ms
— 10.142.27.129 ping statistics —
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 0.699/1.529/2.359/0.830 ms
[root@VM_27_135_centos ~]#
阿里云香港节点基础电信运营商名气通新闻稿
有關名氣通電訊有限公司 (名氣通)
名氣通電訊有限公司(名氣通)為香港中華煤氣有限公司(煤氣公司)的全資附屬機構,於 2004 年正式成立,主要業務包括網絡構建、數據中心與智能家居及雲計算服務。秉承煤氣公司的優良服務文化,名氣通作為中立電訊供應商,在香港及內地均擁有多個世界級數據中心及網路基建服務,並利用煤氣管道光纖技術於香港鋪設光纖網路,為各大企業、國際網路服務商及專業客戶提供更廣泛的服務。
unset key protection enable
set clock dst-off
set clock ntp
set clock timezone 8
set clock dst recurring start-weekday 2 0 3 02:00 end-weekday 1 0 11 02:00
set vrouter trust-vr sharable
set vrouter “untrust-vr”
exit
set vrouter “trust-vr”
unset auto-route-export
exit
set service “OPENVPN” protocol udp src-port 0-65535 dst-port 1194-1194
set service “HTTP2” protocol tcp src-port 0-65535 dst-port 8080-8080
set alg appleichat enable
unset alg appleichat re-assembly enable
set alg sctp enable
set auth-server “Local” id 0
set auth-server “Local” server-name “Local”
set auth default auth server “Local”
set auth radius accounting port 1646
set admin name “netscreen”
set admin password “nOUoImr0FJQCcDTNysHDssAtkpJPon”
set admin http redirect
set admin auth web timeout 10
set admin auth server “Local”
set admin format dos
set zone “Trust” vrouter “trust-vr”
set zone “Untrust” vrouter “trust-vr”
set zone “DMZ” vrouter “trust-vr”
set zone “VLAN” vrouter “trust-vr”
set zone “Untrust-Tun” vrouter “trust-vr”
set zone “Trust” tcp-rst
set zone “Untrust” block
unset zone “Untrust” tcp-rst
set zone “MGT” block
unset zone “V1-Trust” tcp-rst
unset zone “V1-Untrust” tcp-rst
set zone “DMZ” tcp-rst
unset zone “V1-DMZ” tcp-rst
unset zone “VLAN” tcp-rst
set zone “Untrust” screen tear-drop
set zone “Untrust” screen syn-flood
set zone “Untrust” screen ping-death
set zone “Untrust” screen ip-filter-src
set zone “Untrust” screen land
set zone “V1-Untrust” screen tear-drop
set zone “V1-Untrust” screen syn-flood
set zone “V1-Untrust” screen ping-death
set zone “V1-Untrust” screen ip-filter-src
set zone “V1-Untrust” screen land
set interface “ethernet0/0” zone “Trust”
set interface “ethernet0/1” zone “Trust”
set interface “ethernet0/2” zone “Untrust”
set interface “ethernet0/3” zone “Untrust”
set interface “ethernet0/7” zone “Trust”
set interface ethernet0/0 ip 192.168.21.1/24
set interface ethernet0/0 nat
unset interface vlan1 ip
set interface ethernet0/1 ip 192.168.11.1/24
set interface ethernet0/1 nat
set interface ethernet0/2 ip 113.106.92.174/27
set interface ethernet0/2 route
set interface ethernet0/3 ip 106.3.224.174/27
set interface ethernet0/3 route
set interface ethernet0/7 ip 172.16.0.1/24
set interface ethernet0/7 nat
unset interface vlan1 bypass-others-ipsec
unset interface vlan1 bypass-non-ip
set interface ethernet0/0 ip manageable
set interface ethernet0/1 ip manageable
set interface ethernet0/2 ip manageable
set interface ethernet0/3 ip manageable
set interface ethernet0/7 ip manageable
unset interface ethernet0/0 manage ssh
unset interface ethernet0/0 manage telnet
unset interface ethernet0/0 manage snmp
unset interface ethernet0/1 manage ssh
unset interface ethernet0/1 manage telnet
set interface ethernet0/2 manage ping
set interface ethernet0/2 manage ssh
set interface ethernet0/3 manage ping
set interface ethernet0/3 manage ssh
unset interface ethernet0/7 manage telnet
unset interface ethernet0/7 manage snmp
set interface vlan1 manage mtrace
set interface ethernet0/2 vip interface-ip 1194 “OPENVPN” 192.168.11.70 manual
set interface ethernet0/2 vip 113.106.92.180 8080 “HTTP2” 192.168.11.100 manual
set interface ethernet0/3 vip 106.3.224.180 8080 “HTTP2” 192.168.11.100 manual
unset flow no-tcp-seq-check
set flow tcp-syn-check
unset flow tcp-syn-bit-check
set flow reverse-route clear-text prefer
set flow reverse-route tunnel always
set pki authority default scep mode “auto”
set pki x509 default cert-path partial
set dns host dns1 202.96.134.33
set dns host dns2 202.96.128.86
set dns host dns3 0.0.0.0
set address “Trust” “10.8.0.0/24” 10.8.0.0 255.255.255.0
set address “Trust” “192.168.1.0/24” 192.168.1.0 255.255.255.0
set address “Trust” “192.168.1.1/24” 192.168.1.1 255.255.255.0
set address “Trust” “192.168.100.0/24” 192.168.100.0 255.255.255.0
set address “Trust” “192.168.11.0/24” 192.168.11.0 255.255.255.0
set address “Trust” “192.168.21.0/21” 192.168.21.0 255.255.248.0
set address “Untrust” “192.168.1.1/24” 192.168.1.1 255.255.255.0
set address “Untrust” “192.168.11.1/24” 192.168.11.1 255.255.255.0
set address “Untrust” “220.243.139.229/27” 220.243.139.229 255.255.255.224
set crypto-policy
exit
set ike respond-bad-spi 1
set ike ikev2 ike-sa-soft-lifetime 60
unset ike ikeid-enumeration
unset ike dos-protection
unset ipsec access-session enable
set ipsec access-session maximum 5000
set ipsec access-session upper-threshold 0
set ipsec access-session lower-threshold 0
set ipsec access-session dead-p2-sa-timeout 0
unset ipsec access-session log-error
unset ipsec access-session info-exch-connected
unset ipsec access-session use-error-log
set vrouter “untrust-vr”
exit
set vrouter “trust-vr”
exit
set l2tp default dns1 202.96.128.86
set l2tp default dns2 202.96.134.33
set l2tp default ppp-auth chap
set url protocol websense
exit
set policy id 1 from “Trust” to “Untrust” “192.168.21.0/21” “Any” “ANY” permit log
set policy id 1
exit
set policy id 2 from “Trust” to “Untrust” “192.168.11.0/24” “Any” “ANY” permit log
set policy id 2
exit
set policy id 6 from “Untrust” to “Trust” “Any” “VIP(ethernet0/2)” “OPENVPN” permit log
set policy id 6
exit
set policy id 7 from “Untrust” to “Trust” “Any” “VIP(113.106.92.180)” “HTTP2” permit log
set policy id 7 disable
set policy id 7
exit
set policy id 8 from “Untrust” to “Trust” “Any” “VIP(106.3.224.180)” “HTTP2” permit log
set policy id 8 disable
set policy id 8
exit
set nsmgmt bulkcli reboot-timeout 60
set ssh version v2
set ssh enable
set config lock timeout 5
unset license-key auto-update
set telnet client enable
set ntp server “time.nist.gov”
set ntp server src-interface “ethernet0/2”
set snmp community “public” Read-Write Trap-on traffic version any
set snmp host “public” 192.168.11.70 255.255.255.255 trap v2
set snmp contact “GDC A12 RACK”
set snmp name “SSG140”
set snmp port listen 161
set snmp port trap 162
set vrouter “untrust-vr”
exit
set vrouter “trust-vr”
set source-routing enable
unset add-default-route
set route 0.0.0.0/0 interface ethernet0/2 gateway 113.106.92.161
set route 10.8.0.0/24 interface ethernet0/1 gateway 192.168.11.70
set route 0.0.0.0/0 interface ethernet0/3 gateway 106.3.224.161
exit
set vrouter “untrust-vr”
exit
set vrouter “trust-vr”
exit
Router#show run
Building configuration…
Current configuration : 1173 bytes
!
! Last configuration change at 07:54:21 UTC Thu Oct 18 2012 by admin
! NVRAM config last updated at 07:53:41 UTC Thu Oct 18 2012 by admin
!
version 15.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router
!
boot-start-marker
boot-end-marker
!
! card type command needed for slot/vwic-slot 0/0
enable secret 5 $1$hw2d$XUiPYKTeAEH5pAO4zvDBF/
!
no aaa new-model
!
no ipv6 cef
ip source-route
ip cef
!
!
!
!
multilink bundle-name authenticated
!
!
!
!
license udi pid CISCO2901/K9 sn FGL1635108A
!
!
username admin privilege 15 password 0 cisco-123
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 192.168.21.2 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
ip address 192.168.11.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1.1
!
interface GigabitEthernet0/1.11
!
interface GigabitEthernet0/1.12
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 192.168.21.1
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 1 0
login local
line aux 0
line vty 0 4
login local
!
scheduler allocate 20000 1000
end
模块配置
Router(config)#controller E1 0/0/0
Router(config-controller)#channel-group 0 unframed
Router(config)#
Router(config)#do sh int des
Interface Status Protocol Description
Gi0/0 down down
Gi0/1 up up
Gi0/1.1 up up
Gi0/1.11 up up
Gi0/1.12 up up
Se0/0/0:0 up up
Router(config)#int serial 0/0/0:0
Router(config-if)#encapsulation ppp
Router(config-if)#ip add 172.168.27.42 255.255.255.252
Router(config-if)#no shutdown
Router(config)#ip route 172.168.10.3 255.255.255.255 172.168.27.41
Router(config)#ip route 172.168.10.4 255.255.255.255 172.168.27.41
导出完整数据库
mysqldump -u username -p password dbname > dbname.sql
只导出表结构
mysqldump -d -u username -p password dbname > dbname.sql
只导出数据库中指定表的表结构
mysqldump -d -u username -p password dbname tablename > tablename.sql
导出数据库中指定表的表结构和数据
mysqldump -u username -p password dbname tablename > tablename.sql
只导出指定表中的数据
mysqldum -t -c -u username -p password dbanme tablename > tablename.sql
# mysqldump –help
导出含有BLOB格式的数据库
/usr/bin/mysqldump -uroot -p password -R -q –hex-blob abc > /tmp/abc.sql
-c, –complete-insert
Use complete insert statements.
-t, –no-create-info
Don’t write table creation info.
-d, –no-data No row information.
-p, –password[=name]
Password to use when connecting to server. If password is
not given it’s solicited on the tty.
-u, –user=name User for login if not current user.
在OpenSuse 13.1系统下制作USB 系统盘
测试可用:CentOS Ubuntu