尊龙凯时人生就是搏

ÔõÑùÔÚ÷è÷ë²Ù×÷ϵͳÉϾÙÐÐ×Ô¶¯»¯×°ÖúÍÉèÖã¿

ÔõÑùÔÚ÷è÷ë²Ù×÷ϵͳÉϾÙÐÐ×Ô¶¯»¯×°ÖúÍÉèÖã¿

÷è÷ë²Ù×÷ϵͳÊÇÖйú×ÔÖ÷Ñз¢µÄÒ»¿î¹¦Ð§Ç¿Ê¢µÄ²Ù×÷ϵͳ£¬ÆÕ±éÓ¦ÓÃÓÚ¸÷¸öÁìÓò¡£ÔÚ´ó¹æÄ£°²ÅÅ»òÐèҪƵÈÔÖØװϵͳʱ£¬ÊÖ¶¯×°ÖúÍÉèÖÃϵͳÊÇÒ»Ïî·±ËöÇÒºÄʱµÄÊÂÇé¡£Òò´Ë£¬ÏàʶÔõÑùÔÚ÷è÷ë²Ù×÷ϵͳÉϾÙÐÐ×Ô¶¯»¯×°ÖúÍÉèÖý«»á¼«´óµØÌáÉýЧÂʺͱã½ÝÐÔ¡£±¾ÎĽ«ÏêϸÏÈÈÝÔõÑùͨ¹ýʹÓÃKickstart¹¤¾ßºÍShell¾ç±¾ÊµÏÖ×Ô¶¯»¯×°ÖúÍÉèÖá£

Ò»¡¢×°ÖÃÇ°µÄ×¼±¸ÊÂÇé

ÔÚ×îÏÈ×Ô¶¯»¯×°ÖÃ֮ǰ£¬Ê×ÏÈÐèҪ׼±¸ÒÔϹ¤¾ß£º

÷è÷ë²Ù×÷ϵͳ¹âÅÌ»òISO¾µÏñÎļþ¡£

×°ÖÃϵͳµÄÄ¿µÄÅÌËã»ú¡£

һ̨¿ÉÓõÄÅÌËã»ú×÷ΪװÖÃЧÀÍÆ÷£¬ÐèÒª´î½¨HTTP¡¢FTP»òNFSµÈЧÀÍ¡£

¶þ¡¢Ê¹ÓÃKickstart¹¤¾ß½¨ÉèÉèÖÃÎļþ

KickstartÊÇÒ»ÖÖ×Ô¶¯»¯×°Öù¤¾ß£¬¿ÉÒÔͨ¹ýÌṩһ¸öÉèÖÃÎļþÀ´ÊµÏÖÎÞÈËÖµÊØ×°Öá£ÒÔÏÂÊÇÒ»¸öʾÀýKickstartÉèÖÃÎļþµÄÄÚÈÝ£º

platform=x86, AMD64, or Intel EM64T

version=DEVEL

auth –useshadow –enablemd5

network –bootproto=dhcp –device=eth0

timezone –utc Asia/Shanghai

rootpw –iscrypted $1$5xg03e3$6XK5tvPx6VMz2U8wjroqV.

firewall –disabled

selinux –disabled

reboot

Install OS instead of upgrade

install

cdrom

Use graphical installation

graphical

lang en_US.UTF-8

keyboard us

skipx

Use NFS installation media

nfs –server=192.168.1.100 –dir=/path/to/installation/files

Network information

network –bootproto=dhcp –hostname=myserver.example.com

Partition information

part /boot –fstype=ext4 –size=200 –asprimary

part pv.008001 –size=1 –grow

volgroup vg_myserver pv.008001

logvol swap –fstype=swap –name=lv_swap –vgname=vg_myserver –size=2048 –grow –maxsize=8192

logvol / –fstype=ext4 –name=lv_root –vgname=vg_myserver –size=10240 –grow

%packages

@base

@core

kexec-tools

%post

rm -rf /etc/yum.repos.d/*

echo “[BaseOS]” >> /etc/yum.repos.d/baseos.repo

echo “name=BaseOS” >> /etc/yum.repos.d/baseos.repo

echo “baseurl=http://192.168.1.100/repo/BaseOS” >> /etc/yum.repos.d/baseos.repo

echo “enabled=1” >> /etc/yum.repos.d/baseos.repo

echo “gpgcheck=0” >> /etc/yum.repos.d/baseos.repo

echo “[AppStream]” >> /etc/yum.repos.d/appstream.repo

echo “name=AppStream” >> /etc/yum.repos.d/appstream.repo

echo “baseurl=http://192.168.1.100/repo/AppStream” >> /etc/yum.repos.d/appstream.repo

echo “enabled=1” >> /etc/yum.repos.d/appstream.repo

echo “gpgcheck=0” >> /etc/yum.repos.d/appstream.repo

dnf install -y httpd

systemctl start httpd

systemctl enable httpd

mkdir -p /var/www/html/repo/BaseOS

mkdir -p /var/www/html/repo/AppStream

%end

ÒÔÉÏÉèÖÃÎļþÖУ¬¿ÉÒÔÉèÖÃϵͳµÄÖݪֲÎÊý£¬ÈçÈÏÖ¤·½·¨¡¢ÍøÂçÉèÖá¢×°ÖÃÔ´¡¢·ÖÇøÐÅÏ¢µÈ¡£¿ÉÒÔƾ֤ÏÖʵÐèÇó¾ÙÐÐÉèÖá£

Èý¡¢ÉèÖÃ×°ÖÃЧÀÍÆ÷

½«÷è÷ë²Ù×÷ϵͳ¹âÅ̲åÈëµ½×°ÖÃЧÀÍÆ÷ÉÏ£¬½«¹âÅ̹ÒÔص½ºÏÊʵÄĿ¼Ï£¬ÀýÈç/mntĿ¼¡£½øÈë¹âÅ̵ÄisolinuxĿ¼£¬½«initrd.imgºÍvmlinuzÎļþ¸´ÖƵ½ºÏÊʵÄĿ¼Ï£¬Èç/var/www/htmlĿ¼¡£½«÷è÷ë²Ù×÷ϵͳ¹âÅ̵ÄËùÓÐÎļþ¸´ÖƵ½ºÏÊʵÄĿ¼Ï£¬Èç/var/www/html/repo¡£

ËÄ¡¢Æô¶¯×°ÖÃ

ÔÚÄ¿µÄÅÌËã»úÉÏ£¬Í¨¹ýBIOSÉèÖý«ÆäÖ¸µ¼µ½ÍøÂçÆô¶¯¡£ÔÚÆô¶¯Àú³ÌÖУ¬°´ÏÂTab¼ü£¬½«¹â±êÍ£ÁôÔÚboot: prompt´¦¡£ÔÚÕâÀÊäÈëÒÔÏÂÏÂÁîÀ´Æô¶¯×Ô¶¯»¯×°Öãº

linux ks=http://192.168.1.100/ks.cfg

ÆäÖУ¬ks.cfgÊÇ֮ǰ½¨ÉèµÄKickstartÉèÖÃÎļþµÄ·¾¶¡£Æ¾Ö¤ÐèÒª×ÔÐÐÐÞ¸ÄIPµØµã¡£

Îå¡¢ÉèÖÃÀú³Ì

ƾ֤KickstartÉèÖÃÎļþµÄÉèÖã¬÷è÷ë²Ù×÷ϵͳ½«»áƾ֤ԤÏÈÉèÖúõÄÑ¡Ïî¾ÙÐÐ×°Öá£ÔÚ×°ÖÃÀú³ÌÖУ¬»á×Ô¶¯·ÖÇø¡¢Ñ¡ÔñÈí¼þ°ü¡¢ÉèÖÃÍøÂçµÈ¡£Ê¹ÓÃKickstart¾ÙÐÐ×Ô¶¯»¯×°ÖÿÉÒÔ´ó·ù½ÚԼʱ¼äºÍÊÂÇéÁ¿¡£

Áù¡¢×Ô¶¯»¯ÉèÖÃ

ÔÚKickstartÉèÖÃÎļþµÄ%post²¿·Ö£¬¿ÉÒÔ¼ÓÈëShell¾ç±¾¾ÙÐÐһЩ×Ô½ç˵µÄÉèÖá£ÀýÈ磬¿ÉÒÔ½«×°ÖÃЧÀÍÆ÷µÄIPµØµãÉèÖÃΪϵͳµÄyumÔ´£¬ÉèÖÃApache HTTPЧÀÍÆ÷£¬²¢½¨ÉèÐëÒªµÄĿ¼ºÍÎļþ¡£ÒÔÉÏKickstartÉèÖÃÎļþµÄ%post²¿·Ö¾ÍÊÇÒ»¸öʾÀý£¬¿ÉÒÔƾ֤ÏÖʵÐèÇó¾ÙÐÐÐ޸ġ£

×ܽ᣺

×Ô¶¯»¯×°ÖúÍÉèÖÃÔÚ´ó¹æÄ£°²ÅÅ»òƵÈÔÖØװϵͳʱºÜÊÇÓÐÓã¬Äܹ»¼«´óµØÌá¸ßЧÂʺͱ㵱ÐÔ¡£Í¨¹ýKickstart¹¤¾ßºÍShell¾ç±¾£¬¿ÉÒÔÔÚ÷è÷ë²Ù×÷ϵͳÉÏÇáËÉʵÏÖ×Ô¶¯»¯×°ÖúÍÉèÖá£Ï£Íû±¾ÎÄÌṩµÄÏÈÈݺÍʾÀýÄܹ»×ÊÖú¶ÁÕßÃ÷È·ºÍʹÓÃÕâЩ¹¤¾ß£¬¸üºÃµØÓ¦ÓÃÓÚÏÖʵÊÂÇéÖС£

ÒÔÉϾÍÊÇÔõÑùÔÚ÷è÷ë²Ù×÷ϵͳÉϾÙÐÐ×Ô¶¯»¯×°ÖúÍÉèÖ㿵ÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í尊龙凯时人生就是搏ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ尊龙凯时人生就是搏ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ尊龙凯时人生就是搏

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎ壬9:30-18:30£¬½ÚãåÈÕÐÝÏ¢

QR code
sitemap¡¢ÍøÕ¾µØͼ