实验01:telnet远程管理操作实验目标:实现终端可以对路由器和不同网段的交换机进行远程管理操作实验环境:打开ciscopackettracer软件,拓扑图如下所示:实验步骤:一、打开ciscopackettracer软件,添加一台路由器,两台交换机和两台主机,并用直通线相连接二、配置路由器1、给..
分类:
Web程序 时间:
2014-08-18 01:41:33
阅读次数:
316
实验01:DHCP的应用实验目标:为了减轻工作人员配置主机ip地址的负担,使主机自动获取ip地址和dns实验环境:打开ciscopackettracer软件,实验拓扑图如下:实验步骤:一、打开ciscopackettracer软件,添加一台路由器和一台交换机、三台主机,并用直通线进行连接二、配置路由器1、..
分类:
Web程序 时间:
2014-08-18 01:40:33
阅读次数:
430
源码:
#include
#include
#include
void *producter_f (void *arg);
void *consumer_f (void *arg);
int buffer_has_item=0;
pthread_mutex_t mutex;
int running =1 ;
int main (voi...
分类:
编程语言 时间:
2014-08-17 22:50:32
阅读次数:
278
Given a string containing only digits, restore it by returning all possible valid IP address combinations....
分类:
其他好文 时间:
2014-08-17 22:48:32
阅读次数:
217
HAS_ONE(值得注意的是,这是主动关联,外键必须是被关联的表): 1 array(//关联的数据表 7 'mapping_type'=>self::HAS_ONE,//一对一 8 'class_name' => 'artag',//关...
分类:
Web程序 时间:
2014-08-17 22:40:02
阅读次数:
407
InterGames is a high-tech startup company that specializes in developing technology that allows users to play games over the Internet. A market analysis has alerted them to the fact that games of chan...
分类:
其他好文 时间:
2014-08-17 21:22:52
阅读次数:
352
Desert KingTime Limit:3000MSMemory Limit:65536KTotal Submissions:20586Accepted:5777DescriptionDavid the Great has just become the king of a desert cou...
分类:
其他好文 时间:
2014-08-17 18:18:43
阅读次数:
284
0. 首先是top查看一下系统状况 发现两个参数异常,一是平均负载高,一是cpu %wa一直在50%以上。 查了一下%wa参数的意义: wa -- iowait
Amount of time the CPU has been waiting for I/O to complete. 1. 查看磁...
分类:
系统相关 时间:
2014-08-17 17:12:52
阅读次数:
308
Description
It is very hard to wash and especially to dry clothes in winter. But Jane is a very smart girl. She is not afraid of this boring process. Jane has decided to use a radiator to make dryi...
分类:
其他好文 时间:
2014-08-17 17:04:22
阅读次数:
249
1:设置mysql的配置文件 /etc/mysql/my.cnf 找到 bind-address =127.0.0.1 将其注释掉;//作用是使得不再只允许本地访问; 重启mysql:/etc/init.d/mysql restart;2:登录mysql数据库:mysql -u root -p...
分类:
数据库 时间:
2014-08-17 16:55:52
阅读次数:
285