{"id":18198,"date":"2014-02-22T05:23:50","date_gmt":"2014-02-21T21:23:50","guid":{"rendered":"https:\/\/2blog.ilc.edu.tw\/25793\/2014\/02\/22\/%e9%80%8f%e9%81%8e-pxe-server-%e5%ae%89%e8%a3%9d-ubuntu-13-10-server\/"},"modified":"2014-02-22T05:23:50","modified_gmt":"2014-02-21T21:23:50","slug":"%e9%80%8f%e9%81%8e-pxe-server-%e5%ae%89%e8%a3%9d-ubuntu-13-10-server","status":"publish","type":"post","link":"https:\/\/2blog.ilc.edu.tw\/25793\/2014\/02\/22\/%e9%80%8f%e9%81%8e-pxe-server-%e5%ae%89%e8%a3%9d-ubuntu-13-10-server\/","title":{"rendered":"\u900f\u904e PXE Server \u5b89\u88dd Ubuntu 13.10 Server"},"content":{"rendered":"<p># <span style=\"color: #ff0000;\">mkdir \/mnt\/{Ubuntu-12.04.3-amd64,Ubuntu-12.04.3-i386,Ubuntu-13.10-amd64,Ubuntu-13.10-i386}<\/span><br \/># <span style=\"color: #ff0000;\">mount -o loop \/var\/ftp\/pub\/ubuntu-13.10-server-amd64.iso \/mnt\/Ubuntu-13.10-amd64<\/span><br \/># <span style=\"color: #ff0000;\">mount -o loop \/var\/ftp\/pub\/ubuntu-13.10-server-i386.iso \/mnt\/Ubuntu-13.10-i386<\/span><\/p>\n<p># <span style=\"color: #ff0000;\">mkdir -p \/var\/lib\/tftpboot\/Ubuntu\/{1310,1204}\/{amd64,i386}<\/span><\/p>\n<p># <span style=\"color: #ff0000;\">cp \/mnt\/Ubuntu-13.10-amd64\/install\/netboot\/ubuntu-installer\/amd64\/linux \/var\/lib\/tftpboot\/images\/Ubuntu\/1310\/amd64<\/span><br \/># <span style=\"color: #ff0000;\">cp \/mnt\/Ubuntu-13.10-amd64\/install\/netboot\/ubuntu-installer\/amd64\/initrd.gz \/var\/lib\/tftpboot\/images\/Ubuntu\/1310\/amd<\/span>64<\/p>\n<p># <span style=\"color: #ff0000;\">vim \/var\/lib\/tftpboot\/pxelinux.cfg\/Ubuntu_Server<\/span><br \/><span style=\"color: #0000ff;\">LABEL Install Ubuntu 13.10 Server amd64<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 MENU LABEL Install Ubuntu 13.10 Server amd64<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 kernel images\/Ubuntu\/1310\/amd64\/linux<\/span><br \/><span style=\"color: #0000ff;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 append initrd=images\/Ubuntu\/13.10\/amd64\/initrd.gz ramdisk_size=65535 vga=normal url=http:\/\/192.168.1.6\/us1310-amd64\/preseed.cfg<\/span><\/p>\n<p># <span style=\"color: #ff0000;\">mkdir \/var\/www\/html\/us1310-amd64<\/span><br \/># <span style=\"color: #ff0000;\">vim \/var\/www\/html\/us1310-amd64\/preseed.cfg<\/span><br \/><span style=\"color: #0000ff;\"># Components to use for loading installer components (options).<\/span><br \/><span style=\"color: #0000ff;\">d-i mirror\/udeb\/components multiselect main<\/span><br \/><span style=\"color: #0000ff;\"># Apt Setup<\/span><br \/><span style=\"color: #0000ff;\">d-i apt-setup\/restricted boolean false<\/span><br \/><span style=\"color: #0000ff;\">d-i apt-setup\/universe boolean false<\/span><br \/><span style=\"color: #0000ff;\">d-i apt-setup\/backports boolean false<\/span><br \/><span style=\"color: #0000ff;\">d-i apt-setup\/non-free boolean false<\/span><br \/><span style=\"color: #0000ff;\">d-i apt-setup\/contrib boolean false<\/span><br \/><span style=\"color: #0000ff;\"># Don&#8217;t want to use a network mirror<\/span><br \/><span style=\"color: #0000ff;\">d-i apt-setup\/use_mirror boolean false<\/span><br \/><span style=\"color: #0000ff;\">d-i apt-setup\/services-select multiselect none<\/span><br \/><span style=\"color: #0000ff;\">d-i apt-setup\/security-updates boolean false<\/span><br \/><span style=\"color: #0000ff;\">d-i apt-setup\/another boolean false<\/span><br \/><span style=\"color: #0000ff;\"># Soultion for could not find any live images<\/span><br \/><span style=\"color: #0000ff;\">d-i live-installer\/net-image string<\/span><\/p>\n<p><span style=\"color: #0000ff;\">http:\/\/192.168.1.6\/Ubuntu-13.10-amd64\/install\/filesystem.squashfs<\/span><\/p>\n<p># <span style=\"color: #ff0000;\">mount &#8211;bind \/mnt\/Ubuntu-13.10-amd64 \/var\/www\/html\/Ubuntu-13.10-amd64<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p># mkdir \/mnt\/{Ubuntu-12.04.3-amd64,Ubuntu-12.04.3-i386, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/2blog.ilc.edu.tw\/25793\/2014\/02\/22\/%e9%80%8f%e9%81%8e-pxe-server-%e5%ae%89%e8%a3%9d-ubuntu-13-10-server\/\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008\u900f\u904e PXE Server \u5b89\u88dd Ubuntu 13.10 Server\u3009<\/span><\/a><\/p>\n","protected":false},"author":55,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[126,119],"tags":[],"class_list":["post-18198","post","type-post","status-publish","format-standard","hentry","category-c-78471","category-c-78464"],"meta_key":{"_encloseme":["1"],"lt_post_id":["471159"]},"_links":{"self":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18198"}],"collection":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/comments?post=18198"}],"version-history":[{"count":0,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/posts\/18198\/revisions"}],"wp:attachment":[{"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/media?parent=18198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/categories?post=18198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2blog.ilc.edu.tw\/25793\/wp-json\/wp\/v2\/tags?post=18198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}