




版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
尚硅谷-一、PXE原 二、PXE服務(wù)構(gòu) 3、KS文件模板展 三、 Cobbler是什么 Cobbler與PXE如何選擇 2、Cobbler安裝記 3、Centos6KS模板...............................................................................................................4、Centos7KS模板.............................................................................................................一、PXEPXE(Pre-bootExecutionEnvironment)是由In設(shè)計(jì)的協(xié)議,它可以使計(jì)算機(jī)通過(guò)網(wǎng)絡(luò)啟動(dòng)。協(xié)議分 和server兩端,PXE 在網(wǎng)卡的ROM中,當(dāng)計(jì)算機(jī)引導(dǎo)時(shí),BIOS把PXE 二、PXEDHCPPXEyum-y tftp-ftpcd/var/ftp/pubmkdirdvdchownftp:ftpcp-rf DHCP /usr/share/doc/dhcp-4.1.1/dhcpd.conf.sample/etc/dhcp/dhcpd.confvi/etc/dhcp/dhcpd.confsubnetnetmaskrange6optionroutersnext-server30;tftpserveripfilename"pxelinux.0";}tftpvi/etc/xinetd.d/tftpservicetftp{ = = = = = =-s = = =100 =}mkdir創(chuàng)建相 并拷貝所需文mkdir-pcp/var/ftp/pub/dvd/isolinux/isolinux.cfg/tftpboot/pxelinux.cfg/defaultcp/usr/share/syslinux/pxelinux.0 od644 cp/var/ftp/pub/dvd/isolinux/*/tftpboot/servicedhcpdrestartchkconfigdhcpdonservicexinetdrestartchkconfigxinetdonservicevsftpdrestartchkconfigvsftpdonkisckstart - labellinuxlabel^Installorupgradeanexistingsystemkernelappendinitrd=initrd.img labelvesa3、KS#tform=x86,AMD64,或In #Firewallconfigurationfirewall--disabled#InstallOSinsteadofupgrade#Usenetworkurl--url="1/pub/dvd"#Rootpassword#Systemauthorizationinformation #Usegraphicalinstallfirstboot--disable#Systemkeyboardkeyboardus#Systemlanguagelangen_US#SELinuxconfigurationselinux--disabled#Installationlogginglevellogging--level=info#Rebootafterinstallation#Systemtimezone #Systembootloaderconfigurationbootloader--location=mbr#CleartheMasterBootRecord#Partitionclearinginformationclearpart--all--initlabel#Diskpartitioningpart/boot--fstype="ext4"--size=600partswap--fstype="swap"--size=4000part/--fstype="ext4"--grow--size=1%post--interpreter=/bin/bashtouch/root/1.txtecho"123">>/root/1.txtecho"123">> 1、CobblerPXECobblerCobblerPXECobbler與PXE2、Cobbleryuminstallyepel- #配置epelYUMyuminstall-ycobblercobbler-webpykickstartdebmirror #cobbler所需依賴軟systemctlrestart #開啟Apache服務(wù),即是管理頁(yè)面也是鏡像服systemctlrestart #Cobblernetstat-an|grepvim #Cobblercobblerget- #systemctlenable #開啟rsync,Cobbler借助rsync進(jìn) vim #32opensslpasswd-1-salt$(opensslrand-hex4) #創(chuàng)建與系統(tǒng)加密方案一直的,用于vim #yuminstallcmanfence-agents #安裝Cobbler機(jī)制,防止重復(fù)安裝,centos7中沒有cman報(bào)錯(cuò)正常vim #tftp服務(wù)器,centos7xinetddisablednosystemctlrestartcobblerdcobblersync #進(jìn)行自動(dòng)同步文件cobblercheck #進(jìn)行Cobbler自檢yuminstall-ydhcpvim #DHCP -name -name-serversdefault-lease-timemax-lease-time86400;log-facilitylocal7;subnetnetmaskrange0optionrouters}next-server0;systemctlrestartdhcpdsystemctlenabletftpsystemctlenabledhcpdsystemctlstartfttpsystemctlrestartcobblerdmount-r/dev/cdrom--"-- #Cobbler可以通過(guò):看到文件列cobblerdistro #cpanaconda-ks.cfg #拷貝KSKScd/var/lib/cobbler/kickstarts/vimcentos6.5-x86_64.cfgcobblerprofileadd--name=centos6.5-x86_64-basic--distro=centos6.5-x86_64-- #KScobblerprofile #查看已有KScobbler-- #KS-- #3、Centos6KS#tform=x86,AMD64,或In #Firewallconfigurationfirewall--disabled#InstallOSinsteadofupgrade#Usenetworkurl--url="1/pub/dvd"#Rootpassword#Systemauthorizationinformation #Usegraphicalinstallfirstboot--disable#Systemkeyboardkeyboardus#Systemlanguagelangen_US#SELinuxconfigurationselinux--disabled#Installationlogginglevellogging--level=info#Rebootafterinstallation#Systemtimezone #Systembootloaderconfigurationbootloader--location=mbr#CleartheMasterBootRecord#Partitionclearinginformationclearpart--all--initlabel#Diskpartitioningpart/boot--fstype="ext4"--size=600partswap--fstype="swap"--size=4000part/--fstype="ext4"--grow--size=1%post--touchecho"123">>/root/1.txtecho"123">> 4、Centos7KS#KickstartConfiguratorbyJasonZhao#tform=x86,AMD64,orIn langen_US#Systemkeyboardkeyboardus#SytemtimezonetimezoneAsia/Shanghai#Rootpasswordrootpw--iscrypted#rootpw--iscrypted$1$ops-node$7hqdpgEmIE7Z0RbtQkxW20#Usetextmodeinstall#InstallOSinsteadofupgrade#UseNFSinstallationurl--url="#Systembootloaderconfigurationbootloader--location=mbr#CleartheMasterBootRecord#Partitionclearinginformationclearpart--all--initlabel#Diskpartitioningpart/boot--fstypexfs--size1024--ondisksdapartswap--size4000--ondisksdapart/--fstypexfs--size1--grow--ondisksda#Systemauthorizationinfomat
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年度跨境電商物流風(fēng)險(xiǎn)承擔(dān)協(xié)議
- 二零二五年度北京小客車指標(biāo)車牌租賃及交通違章處理合同
- 2025年度高速公路隧道道閘系統(tǒng)安裝與通風(fēng)管理合同
- 2025年度航空航天產(chǎn)業(yè)融資服務(wù)合同
- 2025年度高速列車乘客搭乘免責(zé)協(xié)議
- 2025年度特色項(xiàng)目按摩師用工合同書
- 產(chǎn)品發(fā)布與推廣流程優(yōu)化指南
- 新辦公大樓落成慶典上的發(fā)言稿
- 聘用資料員勞動(dòng)協(xié)議
- 業(yè)務(wù)合作備忘錄及協(xié)議事項(xiàng)約定
- 2018年版電工-國(guó)家職業(yè)技能標(biāo)準(zhǔn)
- 反強(qiáng)迫勞動(dòng)反歧視反騷擾培訓(xùn)課件
- 軟件工程導(dǎo)論課件(全)
- 水工-建筑物課件
- EBS-發(fā)運(yùn)管理操作實(shí)例
- 中職生心理特征和常見心理問(wèn)題
- 晉中信息學(xué)院基本信息登記表
- 旋挖樁施工工藝
- 護(hù)理安全警示教育ppt
- GB/T 5392-2004林業(yè)機(jī)械油鋸技術(shù)條件
- 食品安全 PPT課件7農(nóng)獸藥化學(xué)性污染對(duì)食品安全性的影響
評(píng)論
0/150
提交評(píng)論