Ms7 Search
Google 搜尋 翻譯
calendar
« 九月 2024 »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
近期文章
文章分類
網站連結
Syndicate

« | »

pxe 網路開機

2007-06-07 @ 19:51 in Linux

最近突想做pc的網路開機,整整再google找了兩,三天,總算有幾篇教導利用 pxelinux 做開機的方式,我的做法如下

  1. 主機 fedora5
  2. 安裝 tftp-server => 修改 /etc/xinetd.d/tftp =>將 disable = no
  3. 安裝 dhcp => 修改 dhcpd.conf 如下
    server-identifier 10.0.0.254;   #在多張網路卡的時候可以加上﹐可不設
    allow booting;                      #將 dhcp 提供 bootp; 
    allow bootp;                        #將 dhcp 提供 bootp;
    option domain-name "fhsh.tp.edu.tw";
    option domain-name-servers 168.95.1.1,168.95.192.1,10.0.0.254;
    default-lease-time 3600;
    max-lease-time 7200;
    authoritative;
    ddns-update-style none;
    log-facility local7;                  #加這三行
    server-name "PXE Server";
    server-identifier 10.0.0.254;
    subnet 10.0.0.0 netmask 255.255.0.0 {
        range 10.0.0.50 10.0.0.250;
        range 10.0.1.50 10.0.1.250;
        option routers 10.0.0.254;
        option broadcast-address 10.0.255.255;
        filename "pxelinux.0";          #從  tftp 下載執行檔  
        next-server 10.0.0.254;      # tftp 的 ip 位置
    }
  4. 抓下pxelinux工具  http://syslinux.zytor.com/download.php
    主要是用到裡面的pxelinux.0、memdisk和menu.c32,將這些檔案放到tftp的根目錄下
  5. * 修改 tftp目錄下的 pxelinux.cfg/default,第一次需先建立目錄與檔案,範例如下
    DEFAULT menu.c32 '預設以menu.c32這個核心來啟動,即出現選單
    PROMPT 0 '不要用prompt的方式,即啟用選單
    ALLOWOPTIONS 0 '不要該使用者有選擇權,例如更改啟動參數或直接離開選單
    TIMEOUT 50 '選單的提示時間,50好像是指5秒

    MENU TITLE PXELinux Menu '選單的標題

    LABEL freebsd54 '名稱
    MENU LABEL BSD '選單上的標題
    kernel memdisk '用來啟動影像檔的核心,pxelinux提供
    append initrd=fbsd54.img c=812 h=255 s=63 '要載入的影像檔及參數,此例為將bsd的bootonlyCD所做成的PXE影像檔

    LABEL local
    MENU DEFAULT LOCAL ' MENU DEFAULT 是預設選單指向
    LOCALBOOT 0 ' 直接以硬碟開機

    LABEL dos
    MENU LABEL DOS
    kernel memdisk
    append initrd=dos.img ' 將磁片做成影像檔後,直接放進來就可以用了,不用加參數,下面的也都是直接用磁片所做成的影像檔

    LABEL ghost2003
    MENU LABEL ghost2003
    kernel memdisk
    append initrd=ghost2003.img
  6. 我喜歡這種方式,可以依照自己喜歡增加開機選單,利用 gohot 做開機檔,再利用 linux 的 dd 指令,做成 img ,真方便
    dd if=/dev/fd0 of=ghost2003.img
  7. 如果 dhcp 用 windows 只要將它設定 bootp與dhcp都提供,再增加 66,67兩項選項的設定
    在 dhcp =>內容=>進階=>勾選 只有BOOTP 或 兩者都可以
    在 dhcp=>伺服器選項=>設定選項=>66 填入 tftp 主機 ip =>67 填入tftp給 pc 的啟動檔,這裹是
    pxelinux.0
  8. 以後採購電腦一定要求網卡有支援 pxe 網路開機功能才方便
    本篇參考自    酷!學園

迴響

pxe 網路開機 | 豬窩 | 4

Hi there to every body, it's my first pay a quick visit
of this web site; this weblog carries awesome and truly excellent stuff in support of visitors.

作者 Recommended Web page @ 20:34, 2022-03-08

pxe 網路開機 | 豬窩 | 4

Excellent article. Keep writing such kind of info on your
blog. Im really impressed by your site.
Hi there, You have performed a great job. I'll definitely digg it and personally suggest to my
friends. I am sure they'll be benefited from this
web site.

作者 buying cheap jordans @ 05:19, 2022-03-15

pxe 網路開機 | 豬窩 | 4

I was recommended this web site by my cousin. I'm not sure
whether this post is written by him as no one else know such detailed about
my problem. You're incredible! Thanks!

作者 lasertest @ 09:52, 2022-03-28

pxe 網路開機 | 豬窩 | 4

From that checklist, you will be able to preview the
template, delete and export it for additional use. The likelihood to import
or export a kit containing "some or all components of a whole site, like templates, content & site settings".
You can easily export your templates (your webpage).

Consequently, finding the perfect platform to build
a web site is crucial factor in building and sustaining a web-based presence.
Search "Elementor." Now you can se Elementor free model on first
end result, install and activate it. As a result, finding the best responsive structure could be
a time-consuming process. You may for example add mountains or zigzag to separate your sections.
Widget - An elementor widget allows you so as to add new content to any component.

Speaking of web page templates, we significantly admire the function that permits you to save
a page or a piece as a "template". This function is
particularly useful in case you are creating web
sites for shoppers. Well, this is among the explanation why over 70% of the
websites are utilizing WordPress as their CMS. 7.
StudioPress - This is the most effective premium WordPress themes which are constructed on prime of the Genesis framework,
it really works seamlessly with the brand new WordPress
editor, Gutenberg. The free version of GeneratePress is offered to install on the
WordPress repository. Since the free and nulled
version of Elementor Pro could be very generous, you just want to put in it on a WordPress test site and try it
out for yourself. Premium support and product updates are simply two additional advantages of
getting a pro license to Elementor. Is your Elementor site slow?
To edit cell and tablet variations, click the icon responsive mode at the underside of
the left-hand sidebar, it would present your site on cellular.

The corporate says Elementor Cloud Website means no further installation or hidden charges, and customers may
have full possession of their content material. One of the biggest advantages of using a lightweight theme is the straightforward CDN installation. It took months
just to get a number of easy adjustments up to date on your website.
Another nice factor about Elementor is that the learning curve isn't
steep however fairly mild and in simply a few minutes by using some
pre-made templates or blocks, you'll be able to have a very properly designed, modern-trying webpage.
With this new update, you'll be able to change the looks of your WordPress Website.
In case your site is working on an Apache server (a lot
of the shared hosting suppliers use this setup) then you may the contents
of the .htaccess file. Sooner or later, You need any WordPress Premium
Themes, and Plugins GPL recordsdata be at liberty to ask within the remark part in poor health add that file asap.
For instance, if you want to add a custom worth checklist
to another web page, save it as a block template in Elementor.

Build your theme parts in the block editor. Block/ Elementor Editor - Elementor offers an entire resolution for each freshmen and specialists in WordPress.
Finally, Elementor even provides its personal
skilled community, referred to as Elementor Experts (in Beta model, for the second).
As mentioned earlier, Wix presents a number of choices for constructing
websites - the ADI, Wix Editor, and Corvid, which
is now often called Velo by Wix, and the means of enhancing across these three choices is
simple and pretty much the same. Elementor Pro empowers you with extra
options to hurry up your workflow.
Elementor Pro Original License Key Cheap
Elementor Pro Original License Key Free

作者 elementor pro staging site license @ 01:53, 2022-04-23

pxe 網路開機 | 豬窩 | 4

Right away I am going to do my breakfast, later than having my breakfast coming again to read further news.

作者 sushi by 7-11 @ 04:44, 2022-04-26
«上一篇   1 2 3 ... 21 22 23 24 25 26 27 28 29 30 31 ... 107 108 109  下一篇»
發表迴響
 authimage