- 博客(57)
- 资源 (3)
- 收藏
- 关注
原创 arch linux 安装到U盘
与普通安装不同的是,1.修改mkinitcpio.conf中,hook后面加usb;2.在grub.cfg中将hdX改为hd0;
2012-09-06 13:41:00 3461
原创 protected函数中含有private属性,此类被继承后,此属性是否有效
答案是肯定的,以下面代码为例: <?php class A { private $var; protected function fun() { $this->var = 'Hello var!'; echo $this->var;
2012-04-10 10:46:13 1238
原创 Windows XP SP3 远程桌面连接到Windows 7/Windows Server 2008/Vista
Windows XP SP3远程桌面无法连接Windows 7/Windows Server 2008/Vista出现对话框:解决办法: 修改XP注册表以支持使用NLA验证方式进行远程桌面连接。1.打开注册表编辑器regedit。2.定位到以下注册表键值:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
2012-04-07 17:50:50 2416
原创 Linux用户态下利用原始套接字接收和发送自定义链路帧
Linux下对链路层的监听的方法和一些点评: 1.socket(AF_INET, SOCK_PACKET, ETH_P_ALL) //旧方法发送接收以太网数据帧 2.socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)) //新方法发送接收以太网数据帧 3.libnet // 网络嗅探工具集 4
2012-03-26 10:28:41 3351
原创 PF_PACKET和AF_PACKET的不同
首先查看一下源代码shell#>vim /usr/include/bits/socket.hline 62 /* Protocol families. */line 83 #define PF_PACKET 17 /* Packet family. */line 94 /* Address families. */line115 #define AF
2012-03-22 10:35:09 15856
原创 MASM 和 Turbo C 2.0 混合编程
软件 :masm 5 /Turboc 2.0 /Windows 7 ultimate SP1 32bit硬 件: Intel Core T450c程序调用masm汇编程序的函数int sum(int ,int),代码如下/* test.c */#include extern int sum(int a,int b);int main(){ int a = 1,b
2011-12-01 17:15:32 1040 1
原创 Bochs 虚拟机安装 MS-DOS 7.10
bochs-2.4.6 MS-DOS 7.10从软盘安装到硬盘后,启动MS-DOS。屏幕一直显示开机Logo,bochs 终端重复提示类似于“000000000000e [CPU0] interruput():gate descriptor is not valid sys seg(vector = 0x1a)”的信息。可供参考的资料有http://wiki.o
2011-11-22 12:28:33 1501
原创 LAMP环境的搭建与配置
LAMP环境的搭建与配置实验人员:Zuocheng Liu 实验日期:2011-7-29环境:1. 硬件:VMware 6.5/7( 8G Disk 、1G RAM、 Core 1.6GHz、100Mps Ethe
2011-08-02 17:58:33 6107 2
原创 启动lio target时出现错误提示
环 境: CentOS 5.4 x86_64 linux-2.6.32.29操 作: 启动 lio target日 期: 2011 - 4 - 15问 题: 启动Target时 显示:File “/usr/sbin/tcm_node”, line 26with open(filename) as f:^SyntaxError: invalid syntax解决方法:将python 语言安装到CentOS中。Written by Zu
2011-04-15 16:32:00 1431
原创 drivers/target/iscsi/iscsi_target_nodeattrib.c:73: error: implicit declaration of function 'iscsi_na_get_initiatorname'
<br /><br />环 境: CentOS 5.4 x86_64 linux-2.6.32.29<br />操 作: 编译安装内核lio-core-2.6<br />日 期:2011 - 4 - 2<br />问 题:<br /> 编译时显示:<br /> drivers/target/iscsi/iscsi_target_nodeattrib.c:73: error: implicit declaration o
2011-04-02 18:55:00 1278
原创 Fedora 下安装ibus-cloud-pinyin
环 境 :Fedora 14操 作 :安装ibus-cloud-pinyin步 骤 : wget tar zxvf cd yum -y install vala ibus-devel atk libgee-devel lua-socket dbus-glib libnotify libsqlite3-devel libgthread-devel glib libgdk-develmake && make install
2011-03-14 18:54:00 2598
原创 Start the FCoE Target
Environment : CentOS-5.5 (Linux-2.6.34.7) Scst FCoE Target Target : Start the FCoE Target Operating :1.install FCoE target reference to /trunk/fcst/README2.When everything is installed, convert the ethX to fc port
2011-03-11 10:28:00 2094 1
原创 CentOS 5.5 安装SCST-FCST中的内核编译错误
环 境: CentOS 5.4 x86_64 linux-2.6.32.29 安 装: intel pro 1000 系列15.4的驱动,编译安装 e1000-8.0.18 问 题:内核打完补丁后make,显示:drivers/scsi/libfc/fc_lport.c: In function ?.c_lport_recv_req?.
2011-02-28 23:13:00 1536
原创 CentOS 5.5安装 FCoE initiator 错误
环 境: CentOS 5.5 x86_64 (linux-2.6.32.19) 操 作: 安装FCoE initiator 问 题 1:安装fcoe-utils 时 输入 :make install显示 :ln: creating symbolic link `etc/initd/fcoe' to `/etc/initd/init
2011-02-28 23:10:00 2387 2
原创 Linux kernel source not configured:missing autoconf.h
环 境: CentOS 5.5 x86_64 (linux-2.6.36.4) 安 装: intel pro 1000 系列15.4的驱动,编译安装 e1000-8.0.18 出现问题:编译的时候提示Linux kernel source not configured:missing autoconf.h 解决方法: 方法一: KER
2011-02-28 23:06:00 3955
原创 编译e1000 缺少:mmzone.h bounds.h
<br /><br />环 境: CentOS 5.4 x86_64 linux-2.6.32.29<br /> <br />操 作: intel pro 1000 系列15.4的驱动,编译安装 e1000-8.0.18<br /> <br />出现问题:编译的时候提示缺少头文件 mmzone.h ....bounds.h...等<br /> <br />include/linux/mmzone.h:18:26: error: linux/bounds.h: No such file
2011-02-28 23:04:00 2151
checkinstall-1.6.2-CentOS_5.5.x86_64.rpm
2011-03-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人