Linux最强渗透检测发行版BackTrack 4
[
2009/04/29 10:14 | by askwan ]
2009/04/29 10:14 | by askwan ]
Backtrack

看到系统界面里 用中文繁体写就的 “龙” 字,倍觉亲切吧 呵呵
喜欢研究安全技术的linux fans不容错过!
最新发行版已经到 BackTrack 4 beta release
1DVD 854 MB 同时又集成众多老的安全工具和最近最新的安全工具

其同时也是无线网络破解集成工具箱!非常适合蹭网族,呵呵
最近拿来蹭办公楼附近的无线资源,甚觉强悍!
发此文,以推荐linux安全爱好者
最新版下载地址:
http://backtrack.unixheads.org/bt4-beta.iso
vmware镜像:
http://backtrack.unixheads.org/bt4-beta-vm-6.5.1.rar
看到系统界面里 用中文繁体写就的 “龙” 字,倍觉亲切吧 呵呵
喜欢研究安全技术的linux fans不容错过!
最新发行版已经到 BackTrack 4 beta release
1DVD 854 MB 同时又集成众多老的安全工具和最近最新的安全工具
其同时也是无线网络破解集成工具箱!非常适合蹭网族,呵呵
最近拿来蹭办公楼附近的无线资源,甚觉强悍!
发此文,以推荐linux安全爱好者
最新版下载地址:
http://backtrack.unixheads.org/bt4-beta.iso
vmware镜像:
http://backtrack.unixheads.org/bt4-beta-vm-6.5.1.rar
GPT (GUID Partition Table)
[
2009/03/29 13:26 | by askwan ]
2009/03/29 13:26 | by askwan ]
Linux早可以支持大于2T的块设备(Large Block Device),但是分区的时候却不能用常见的fdisk工具了,一定要用的话,会有下面的警告信息:
上面提示fdisk工具不支持GPT,得使用另一个GNU发布的强大分区工具parted
官方链接:http://www.gnu.org/software/parted/index.shtml
若强制用fdisk分区,最后大于2T的部分系统会不能认出来!
而GPT,比较权威的解释是:
下面的图说明了其结构:

要详细了解这家伙,这篇文章或许可以帮助你:http://developer.apple.com/technotes/tn2006/tn2166.html
关于parted的用法和信息可以参看GUN专门文档:http://www.gnu.org/software/parted/manual/parted.html
就不演示了。今天正好碰到一客户遇到的这个问题,记下来给准备使用大于2T块设备的l网友一点提示。
Quotation
[root@host2001 data]# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 33 265041 83 Linux
/dev/sda2 34 12781 102398310 83 Linux
/dev/sda3 12782 14056 10241437+ 82 Linux swap / Solaris
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdc: 2500.1 GB, 2500140728320 bytes
255 heads, 63 sectors/track, 303958 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 33 265041 83 Linux
/dev/sda2 34 12781 102398310 83 Linux
/dev/sda3 12782 14056 10241437+ 82 Linux swap / Solaris
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdc: 2500.1 GB, 2500140728320 bytes
255 heads, 63 sectors/track, 303958 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
上面提示fdisk工具不支持GPT,得使用另一个GNU发布的强大分区工具parted
官方链接:http://www.gnu.org/software/parted/index.shtml
若强制用fdisk分区,最后大于2T的部分系统会不能认出来!
而GPT,比较权威的解释是:
Quotation
In computer hardware, GUID Partition Table (GPT) is a standard for the layout of the partition table on a physical hard disk. It is a part of the Extensible Firmware Interface (EFI) standard proposed by Intel as a replacement for the PC BIOS, one of the few remaining parts of the original IBM PC. EFI uses GPT whereas BIOS uses a Master Boot Record (MBR)
下面的图说明了其结构:
要详细了解这家伙,这篇文章或许可以帮助你:http://developer.apple.com/technotes/tn2006/tn2166.html
关于parted的用法和信息可以参看GUN专门文档:http://www.gnu.org/software/parted/manual/parted.html
就不演示了。今天正好碰到一客户遇到的这个问题,记下来给准备使用大于2T块设备的l网友一点提示。
让php支持oracle 10g 数据库
[
2008/11/04 17:46 | by askwan ]
2008/11/04 17:46 | by askwan ]
Oracle对php的支持或者说php对Oracle的支持从Oracle8就开始了,本文主题是记录我在linux系统下编译php以让它可以支持连接Oracle数据库的技术细节。
本文环境为 CentOS4.4 Oracle10gR2 For Linux
假设apache和Oracle已经安装好,且假设Oracle主要的系统环境变量如下:
本文环境为 CentOS4.4 Oracle10gR2 For Linux
假设apache和Oracle已经安装好,且假设Oracle主要的系统环境变量如下:
在Freebsd和Linux之间创建IP隧道
[
2008/09/29 19:47 | by askwan ]
2008/09/29 19:47 | by askwan ]
OS1:Linux
Network Interface: eth0
IP: 61.152.1.1
OS2: FreeBSD
Network Interface: fxp0
IP: 210.51.1.1
预配置:
OS1: 10.0.0.1 / 255.255.255.252
OS2: 10.0.0.2 / 255.255.255.252
OS1上配置
配置ipip隧道
OS2配置隧道
OS1测试:
#ping -c 4 10.0.0.2
Network Interface: eth0
IP: 61.152.1.1
OS2: FreeBSD
Network Interface: fxp0
IP: 210.51.1.1
预配置:
OS1: 10.0.0.1 / 255.255.255.252
OS2: 10.0.0.2 / 255.255.255.252
OS1上配置
配置ipip隧道
Quotation
#ip tunnel add tun0 mode ipip remote 210.51.1.1 local 61.152.1.1 dev eth0
#ifconfig tun0 10.0.0.1 netmask 255.255.255.252 pointopoint 10.0.0.2
#ifconfig tun0 mtu 1500 up
#ifconfig tun0 10.0.0.1 netmask 255.255.255.252 pointopoint 10.0.0.2
#ifconfig tun0 mtu 1500 up
OS2配置隧道
Quotation
#ifconfig gif0 create
#gifconfig gif0 inet 210.51.1.1 61.152.1.1
#ifconfig gif0 10.0.0.2 netmask 255.255.255.252 10.0.0.1
#ifconfig gif0 mtu 1500 up
#gifconfig gif0 inet 210.51.1.1 61.152.1.1
#ifconfig gif0 10.0.0.2 netmask 255.255.255.252 10.0.0.1
#ifconfig gif0 mtu 1500 up
OS1测试:
#ping -c 4 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=0.139 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.138 ms
64 bytes from 10.0.0.2: icmp_seq=3 ttl=64 time=0.138 ms
64 bytes from 10.0.0.2: icmp_seq=4 ttl=64 time=0.136 ms
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=0.139 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.138 ms
64 bytes from 10.0.0.2: icmp_seq=3 ttl=64 time=0.138 ms
64 bytes from 10.0.0.2: icmp_seq=4 ttl=64 time=0.136 ms




