网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 网络编程 > 数据库 > Oracle教程
Tag:注入,存储过程,分页,安全,优化,xmlhttp,fso,jmail,application,session,防盗链,stream,无组件,组件,md5,乱码,缓存,加密,验证码,算法,cookies,ubb,正则表达式,水印,索引,日志,压缩,base64,url重写,上传,控件,Web.config,JDBC,函数,内存,PDF,迁移,结构,破解,编译,配置,进程,分词,IIS,Apache,Tomcat,phpmyadmin,Gzip,触发器,socket
数据库:数据库教程,数据库技巧,Oracle教程,MySQL教程,Sybase教程,Access教程,DB2教程,数据库安全,数据库文摘
本月文章推荐
.Oracle9i初始化参数中文说明(8).
.如何压缩可执行文件.
.Oracle数据库应用系统调优方法介.
.本地管理表空间与字典管理表空间.
.PL/SQL中调用Java源对象产生随机.
.Linux下Oracle安装宝典.
.Installing Oracle 10G on SuSE .
.重建索引(rebuild index)与sort.
.怎样将Oracle的外部表汉字转换为.
.在不同字符集的数据库之间导入数.
.联机热备份的步骤.
.Linux应用方案集锦.
.linux安装Oracle启动图形界面问题.
.甲骨文宣布CFO辞职 可能获320万美.
.Oracle10G R2(10.2.0.1)在AIX5.2.
.Oracle9i新特性:iSQLPLUS.
.关于数据库的锁相关问题及其引申.
.Oracle经验集锦(1).
.通过JDBC操纵Oracle数据库LOB字段.
.Oracle 10g基于Solaris 9 x86平台.

PXE Remote Boot --Linux

发表日期:2008-2-9



  文件目的﹕
   在 Linux 上建置 PXE server ﹐并利用网络激活 Windows 系统。
  
  操作系统版本﹕
   Server:
   OS: RedHat Linux 7.3
   IP: 192.168.100.73
   hostname: rh73.siyongc.domain
   Client:
   OS: Microsoft Windows SE
   IP: 192.168.100.26
   hostname: diamond.siyongc.domain
  
  程序版本﹕
   Linux: BpBatch (tar.gz) (02/11/2000)
   http://www.bpbatch.org/downloads/bpb-exe.tar.gz
   Windows: BpBatch (zip) (02/11/2000)
   http://www.bpbatch.org/downloads/bpb-exe.zip
   PXE: 2.0 (built-in NIC)
  
  ----------------------------------------------
  
  -----------
  Server 实作﹕
  
  1) 确定在 server 上装有这些套件﹕
   dhcp
   nfs-utils
   portmap
   ttFTP-server
   假如没有﹐请用 rpm 安装好。例如 cd3 的 tftp-server 之安装如下﹕
   rpm -ivh /mnt/cdrom/RedHat/RPMS/tftp-server-0.28-2.i386.rpm
  
  2) 确定 tftp 服务有激活﹐修改 /etc/xinetd.d/tftp 檔﹕
   disable = no
  
  3) 修改 /etc/dhcpd
  
  default-lease-time 864000;
  max-lease-time 1296000;
  
  use-host-decl-names on;
  
  shared-network siyongc {
   option domain-name "siyongc.domain";
  
   subnet 192.168.100.0 netmask 255.255.255.0 {
   range 192.168.100.100 192.168.100.200;
   option broadcast-address 192.168.100.255;
   option routers 192.168.100.73;
   option domain-name-servers 192.168.100.73, 168.95.1.1;
   option netbios-name-servers 192.168.100.73;
  
   group {
   default-lease-time -1;
   next-server 192.168.100.73;
   # option dhcp-class-identifier "PXEClient";
   option vendor-encapsulated-options 01:04:00:00:00:ff;
  
   host diamond {
   hardware ethernet 00:50:04:C1:EA:9C;
   fixed-address 192.168.100.26;
   option broadcast-address 192.168.100.255;
   option option-135 "win98";
   filename "bpbatch";
   }
   }
   }
  }
  
  4) 重新激活以上 service ﹐并确定在开机的时候能够激活﹕
   for SRV in network dhcpd portmap nfs nfslock xinetd; do
   service $SRV restart
   chkconfig $SRV on
   done
  
  5) 下载 bpbatch 软件﹕
   cd /tftpboot
   wget http://www.bpbatch.org/downloads/bpb-exe.tar.gz
   tar zxvf bpb-exe.tar.gz
   mv bpbatch.P bpbatch
  
  6) 撰写 win98 之 batch 檔﹐建立 /tftpboot/win98.bpb ﹐内容如下﹕
   hidelog
   setpartitions "fat32:2000"
   setbootpart 1
   clean 1
   fullunzip "win98.imz" 1
   hidebootprom
   hdboot :1
  
  
  -----------
  Client 实作
  
  1) 安装样板主机﹐确定系统全部装在 C﹕磁盘。

  
  2) 完成所有设定。
  
  3) 从网络下载 bpb-exe 压缩文件﹕
   http://www.bpbatch.org/downloads/bpb-exe.zip
  
  4) 建立 c:\temp\bpb-exe 目录(请不要使用其它路径)﹐并将档案解压之该目录中。
  
  5) 撰写压缩批次档﹐建立 c:\temp\bpb-exe\zipwin.mrz 档﹐内容如下﹕
   showlog
   filter -"windows/schedlog.txt"
   filter -"windows/msimgsiz.dat"
   filter -"*/index.dat"
   filter -"*.swp"
   filter -"*.tmp"
   filter -"temp/*"
   fullzip "c:/" "win98.imz"
  
  6) 然后进入 dos 模式﹐并执行如下命令﹕
   c:
   cd c:\temp\bpb-exe
   mrzip -b zipwin # 注重﹕参数档去掉 .mrz 扩展名。
  
  6) 假如没错误信息的话﹐上面会产生两个(或多个)压缩档﹐名称分别为﹕
   win98.imz
   win98.im1
  
  7) 不管使用何种方法﹐将以上两个档案复制到 server 端的 /tftpboot 目录内。
  
  8) 重新激活系统并进行测试。
   *注重﹕ 建议使用另外的硬盘﹐否则原内容全部会被删除﹗
  
  
  * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~ * ~
  
  然而,以上只是一个 draft 而已,仍有许多计术细节须要调整的。比方说:
  * 必须依靠 bpbatch 程序,并非使用标准 pxe server
  * client 端必须具备 hd
  * 尚未解决 ram disk 方案
  * 网络磁盘仍未设定
  * 未能选择(协调)开机环境
  
  欢迎有爱好的朋友参考,并分享进一步的心得。
上一篇:如何在硬碟建置Linux系统之关於虚拟萤幕 (Virtual Console, VC) 人气:619
下一篇:如何在硬碟建置Linux系统之使用 bootdisk及 rootdisk 磁片 开机 人气:594
浏览全部Oracle教程的内容 Dreamweaver插件下载 网页广告代码 祝你圣诞节快乐 2009年新年快乐