1、抓取回环网口的包:tcpdump -i lo2、防止包截断:tcpdump -s03、以数字显示主机及端口:tcpdump -n第一种是关于类型的关键字,主要包括host,net,port, 例如 host 210.27.48.2,指明 210.27.48.2是一台主机,net 202.0.0....
分类:
其他好文 时间:
2014-11-18 13:21:14
阅读次数:
270
接下来使用自己的课外休息时间,对基于PowerPC架构freescale-sdk,进行linux移植和分析。主要参考官方文档freescale linux sdk START_HERE.html,首先对搭建编译环境脚本host-prepare.sh分析。在移植系统之前,需要搭建编译环境,安装必要的包,为后期编译系统做准备。很多人看到脚本就头疼,下面是我的分析过程,分析不好的地方可以在下面留言,一起...
分类:
系统相关 时间:
2014-11-17 21:20:36
阅读次数:
367
作用:自动配置客户端的hosts文件,解决网络内的计算机之间计算机名称解析问题,适用于没有部署DNS服务器的内网环境。1、服务端配置puppet模块(1)模块清单[root@puppet~]#tree/etc/puppet/modules/host/
/etc/puppet/modules/host/
├──files
├──manifests
│└──init..
分类:
其他好文 时间:
2014-11-17 19:48:54
阅读次数:
315
运动图像检测系统:准备:移植Linux2.6.29运行于s3c2440板子上,按键驱动,USB host controller驱动声卡驱动动态链接文件系统制作SDK-MOTION/src/fs/rootfs-motion.tar.gzmadplay播放器移植图像运动检测程序设计报警主程序设计1.当移...
分类:
其他好文 时间:
2014-11-17 19:19:19
阅读次数:
339
使用psftp.exe 点击打开psftp.exe,出现如下图的命令窗口。 输入open[user]@[host],user为用户名,host为sftp服务器的ip,如输入openaaa@172.18.235.56回车后出现以下提示 输入n,不需要把key缓存;然后提示输入密码。成功连接后,就会返回...
分类:
其他好文 时间:
2014-11-17 19:08:57
阅读次数:
533
前言:需要把本地磁盘的所有数据文件,都移动到存储上去。步骤概要:1.shut immediate 停库2.host cp dbfile to new path3.修改参数中controlfile的位置,把数据库启动到mount4.rename相关文件5.alterdatabaseopen;本次具体实...
分类:
数据库 时间:
2014-11-17 17:38:39
阅读次数:
267
1.新建用户//登录MYSQL@>mysql -u root -p@>密码//创建用户mysql> insert into mysql.user(Host,User,Password) values(‘localhost’,'jeecn’,password(‘jeecn’));//刷新系统权限表my...
分类:
数据库 时间:
2014-11-17 17:12:16
阅读次数:
222
【现象说明】
C/S程序远程访问正常,本地访问报以下异常
MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Access...
分类:
数据库 时间:
2014-11-17 15:52:18
阅读次数:
408
#!/usr/bin/python#-*-coding:utf-8-*-importparamikoimportdatetimeimportos,tab,sysfrommultiprocessingimportProcess,Poolhost_list=( (‘192.168.1.127‘,‘root‘,‘123456‘), (‘192.168.1.137‘,‘root‘,‘123456‘), (‘192.168.1.143‘,‘root‘,‘123456‘),)defssh_run(host_info,cm..
分类:
编程语言 时间:
2014-11-17 14:14:41
阅读次数:
212