文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>网络安装和无盘工作站的建立

网络安装和无盘工作站的建立

时间:2006-05-25  来源:huanghaojie

一。 网络安装CENTOS

 1. Config DHCP , DNS , NFS AND TFTP.
    # vi /etc/xinetd.d/tftp
        disable = no
    # service xinetd restart

 2. Config DHCP
    # vi /etc/dhcpd.conf
        allow booting;
        allow bootp;
        class "pxeclients" {
        match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";
        next-server 192.168.1.2;
        filename "linux-install/pxelinux.0";
 
 3. Create netinstall directory
    # mkdir /netinsall/centos/
    # rsync -av /media/cdroom/  /netinsall/centos/
 
 4. Config NFS
    # vi /etc/exports
        /netinsall/centos  *(rw,no_root_squash,sync)
    # exportfs -r     ###If you had been installed NIS,you need modify /etc/netgroup file.
   
 5. Open system-config-netboot   
    #system-config-netboot &         ###You need install new  system-config-netboot version.
        go to the Main Menu Button (on the Panel) => System Settings =>  Server Settings => Network Booting Service
   
500)this.width=500;" border="0">

  6. Config Client pc BIOS and boot from NETWORK.
        ### Note ### your pc network card must support boot from network.

二。 无盘工作站的配置。

  1. Create diskless Directory
    # mkdir   /diskless/i386/centos/root/   -p
    # mkdir   /diskless/i386/centos/snapshot
   
  2. Copy  Centos Linux from the client system to the server using rsync
    # rsync -auv -e ssh --delete --exclude='/group/*' --exclude='/proc/*' --exclude='/sys/*'  --exclude='/tmp/*' --exclude='/var/log/*' root@bristol:/  /diskless/i386/centos/root/
 
  3. Config NFS
    # vi /etc/exports
         /diskless/i386/centos/root/ *(ro,no_root_squash,sync)
         /diskless/i386/centos/snapshot/ *(rw,sync,no_root_squash)
    # exportfs -r
 
  4. Open system-config-netboot
    # system-config-netboot &   ###If you don't install busybox RPM,you need install it first.
       go to the Main Menu Button (on the Panel) => System SettingsServer Settings => Network Booting Service
 
  5. Add host
    Click the New button to add hosts.

    

   
相关阅读 更多 +
排行榜 更多 +
狙击手3d

狙击手3d

飞行射击 下载
3d终极坦克战役

3d终极坦克战役

飞行射击 下载
厕所怪兽大战电视英雄安卓版

厕所怪兽大战电视英雄安卓版

飞行射击 下载