超级用户root登录到IP地址为192.168.4.28的MySQL数据库服务器的命令正确的写法是()。
A.mysql -h hostname -u root –p
B.mysql -h localhost -u root –p
C.mysql -h192.168.4.28 -u root –p
D.以上都可以
A.mysql -h hostname -u root –p
B.mysql -h localhost -u root –p
C.mysql -h192.168.4.28 -u root –p
D.以上都可以
第1题
第2题
A、/home
B、/root
C、/homE/root
D、/usr/loeal
第4题
A.sa,root,sys
B.admin,root,sa
C.sys,root,sa
D.sys,admin,sa
第6题
实例:通过Cisco 2501连接A局域网与B局域网,如图5-1所示。
假设实验条件如下:
A网:202.96.199.0~202.96.199.255
B网:202.97.76.0~202.97.76.31
DNS Server:202.96.199.2(主),202.96.199.3(备)
所属域:xxx.com
广域网互联:需要一个包含4个IP地址(2个可用p)的子网,定为:202.98.0.0~ 202.98.0.3,其中202.98.0.1给A网,202.98.0.2给B网,互联专线速率:128 kbps。具体网络参数分配表如下:
首先进入路由器:将计算机串行口连接到路由器的Console口,使用Netterm或者超级终端之类的软件登录。
Router>en
passwd:******(输入超级口令)
全局配置:(A、B网相同)
Routerconfig terminal(切换到配置状态)
Router(config)enable secret my-root-password(定义超级口令)
Router(config)ip host Router-A(定义路由器名.B网为Router-B)
Router(config)ip domain-name (1)
Router(config)nameserver 202.96.199.2(定义主域名服务器)
Router(config)nameserver 202.96.199.3(定义备域名服务器)
Router(config)ip classless
Router(config)line (2)
(定义5个telnet虚终端,即可以同时有5个人登录本路由器)
Router(config-line)password my-telnet-password(定义telnet口令)
Router(config-line)exit
Router(config)exit
地址和路由配置
/****** A网路由器 ******/
Router-Aconfig terminal(切换到配置状态)
Router-A(config)intefface e()(配置 Ethernet 0 口)
Router-A(config-if)description the LAN port link to my local network(端口说明)
Router-A(config-if)ip address (3)
Router-A(config-if)no shutdown(激活端口)
Router-A(config-if)exit
Router-A(config)4finterface s()(配置Serial()口)
Router-A(config-if)description the WAN port link to Router-B(端口说明)
Router-A(config-if)ip add 202.98.0.1 255.255.255.252(定义互联广域网IP地址)
Router-A(config-if)bandwidth 128(定义端口速率,单位kbps)
Router-A(config-if)no shutdown(激活端口)
Router-A(config-if)exit
Router-A(config)ip route (4)
Router-A(config)exit
Router-Awr m(保存配置)
/****** B网络由器 ******/
Router-Bconfig terminal
Router-B(config)interface e()
Router-B(config-if)deseription the LAN port link to my local network(端口说明)
Router-B(config-if)ip add 202.97.76.1 255.255.255.224
(定义以太网IP地址,子网掩码表示为拥有32个地址的子网)
Router-B(config-if)no shutdown
Router-B(config-if)exit
Router-B (config)interface sO
Router-B(config-if)description the WAN port link to Router-A(端品说明)
Router-B(config-if)ip add 202.98.0.2 255.255.255.252
Router-B (config-if)bandwidth 128
Router-B(config-if)no shutdown
Router-B (config-if)exit
Router-B(config)ip route (5)
Router-B(config)exit
Router-Bwr m(保存配置)
第7题
实例:通过Cisco2501 连接A局域网与B局域网,如图5-1所示。
假设实验条件如下:
A网:202.96.199.0~0202.96.199.255
B网:202.97.76.0~202.97.76.31
DNS Server:202.96.199.2(主),202.96.199.3(备)
所属域:xxx.com
广域网互联:需要一个包含4个IP地址(2个可用IP)的子网,定为:202.98.0.0~ 202.98.0.3,其中202.98.0.1给A网,202.98.0.2给B网,互联专线速率:128kbps。具体网络参数分配表如下:
首先进入路由器:将计算机串行口连接到路由器的Console 口,使用Netterm 或者超级终端之类的软件登录。
Router>en
passwd:******(输入超级口令)
全局配置:(A、B网相同)
Router config terminal(切换到配置状态)
Router (config)enable secret my-root-password(定义超级口令)
Router(config)ip host Router-A(定义路由器名,B网为Router-B)
Router(config)ip domain-name (1)
Router(config)nameserver 202.96.199.2(定义主域名服务器)
Router(config)nameserver202.96.199.3(定义备域名服务器)
Router(config)ip classless
Router(config)line (2)
(定义5个telnet虚终端,即可以同时有5个人登录本路由器)
Router(con6g—1ine)password my-telnet-password(定义telnet口令)
Router(conhZ-line)exit
Router(config)exit
地址和路由配置:
/***** A网路由器 ******/
Router-Aconfig terminal(切换到配置状态)
Router-A(config)interface e0(配置Ethernet 0 口)
Router-A(config-if)gdescliption the LAN port link to my local network(端口说明)
Router-A(comfig-if)ip address (3)
Router-A(config-if)noshutdown(激活端口)
Router-A(config-if)exit
Router-A(config)interface s0(配置 Serial 0 口)
Router-A(config-if)descdption the WAN port link to Router-B(端口说明)
Router-A(config-if)ip add 202.98.0.1 255.255.255.252(定义互联广域网p地址)
Router-A(config-if)bandwidth 128(定义端口速率,单位:kbps)
Router-A(config-if)no shutdown(激活端口)
Router-A(config-if)exit
Router-A(config)ip route (4)
Router-A(config)exit
Router-Awr m(保存配置)
/***** B网路由器 ******/
Router-Bconfig terminal
Router-B(config)interface e0
Router-B(config-if)description the LAN port link to my local network(端口说明)
Router-B(config-if)ip add 202.97.76.1 255.255.255.224
(定义以太网IP地址,子网掩码表示为拥有32个地址的子网)
Router-B(config-if)no shutdown
Router-B(config-if)exit
Router-B(config)interface s0
Router-B(config-if)escdption the WAN port link to Router-A(端口说明)
Router-B(config-if)ip add 202.98.0.2255.255.255.252
Router-B(config-if)bandwid 128
Router-B(config-if)no shutdown
Router-B(config-if)exit
Router-B(config)ip route (5)
Router-B(config)exit
Router-Bwr m(保存配置)
配置完成。
第8题
A.SYSTEM和MANAGER
B.SYS和SYSTEM
C.SYS和SYSMAN
D.ROOT和SUPERMAN
E.SCOTT和TIGER
第9题
A.root 1 4.00.0344204? S 17:090:00init
B.root 2 0.00.129161520? S 17:090:00/sbin/getty
C.root 3 0.00.21364632? S 17:090:00/usr/sbin/syslogd
D.root 4 0.013441204? S 17:090:10/usr/sbin/inetd
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!