Build a CentOS7 server for: pxe boot, kickstart, reposync, repotrack, nfs, https (STEP 5)

STEP 5 – configure an EXCLUDE LINE for the YUM CONFIG files:

nano /etc/yum.conf
  • exclude list, filters out stuff I don’t need to download:
  • this is the c7pxe list I’m using as of 2019-03-22.
  • NOTE: when we’re done with this setup, we’ll have a least three yum config files on this server:
    • 1) the regular /etc/yum.conf the OS uses.
    • 2) –config=/etc/yumrsc7x64.conf
    • 3) –config=/etc/yumrsc7x32.conf
in yum config files pulling packages for 64-bit instances:

exclude=*.i386,*.i686,*-debug-*,*-demo-*,*-src-*,alsa*,ant-*,*android*,*amarok*,b43-openfwwf,bfa-firmware,bpg-*,cockpit*,culmus-*,cinnamon*,*-doc-*,*-docs-*,elementary*,ekiga*,fluid-soundfont*,firefox*,gimp-*,gutenprint-*,graphviz-*,gnuradio*,glassfish*,i3-*,ivtv*,iwl*firmware,kde*,kubernetes*,java-1.6*,java-1.7*,josm-*,jetty*,jboss*,jakarta*,libreoffice*,libertas*,maven*,mecurial*,moodle*,mythes-*,NetworkManager-team,libteam,nextcloud*,openblas*,openarena-*,qemu*,ql2100-firmware,ql2200-firmware,ql23xx-firmware,ql2400-firmware,ql2500-firmware,quantum-*,rt61pci-firmware,rt73usb-firmware,rust*,shogun*,subversion*,seamonkey*,texlive*,thunderbird*,uhd*,vtk*,wine*,wannier*,xemacs*,xqilla*,youtube*,zd1211-firmware,kacst-*,lohit-*,thai-scalable-*,*-chinese-*,*-de-*,*-es-*,*-fr-*,*-ga-*,*-hu-*,*-ja-*,*-lb-*,*-lv-*,*-ko-*,*-ru-*,*-zh-*,0ad-*,mingw*,horai*

# same exclude list with added line breaks for easier reading:
exclude=*.i386,*.i686,*-debug-*,*-demo-*,*-src-*,
alsa*,ant-*,*android*,*amarok*,
b43-openfwwf,bfa-firmware,bpg-*,
cockpit*,culmus-*,cinnamon*,*-doc-*,*-docs-*,elementary*,ekiga*,
fluid-soundfont*,firefox*,gimp-*,
gutenprint-*,graphviz-*,gnuradio*,glassfish*,
i3-*,ivtv*,iwl*firmware,kde*,kubernetes*,
java-1.6*,java-1.7*,josm-*,jetty*,jboss*,jakarta*,
libreoffice*,libertas*,
maven*,mecurial*,moodle*,mythes-*,NetworkManager-team,libteam,
nextcloud*,openblas*,openarena-*,
qemu*,ql2100-firmware,ql2200-firmware,ql23xx-firmware,ql2400-firmware,
ql2500-firmware,quantum-*,
rt61pci-firmware,rt73usb-firmware,rust*,
shogun*,subversion*,seamonkey*,texlive*,thunderbird*,
uhd*,vtk*,wine*,wannier*,xemacs*,xqilla*,youtube*,zd1211-firmware,
kacst-*,lohit-*,thai-scalable-*,*-chinese-*,
*-de-*,*-es-*,*-fr-*,*-ga-*,*-hu-*,*-ja-*,*-lb-*,*-lv-*,*-ko-*,*-ru-*,*-zh-*,0ad-*,mingw*,horai


 

in yum config files pulling packages for 32-bit instances:

exclude=*-debug-*,*-demo-*,*-src-*,alsa*,ant-*,*android*,*amarok*,b43-openfwwf,bfa-firmware,bpg-*,cockpit*,culmus-*,cinnamon*,*-doc-*,*-docs-*,elementary*,ekiga*,fluid-soundfont*,firefox*,gimp-*,gnome*,google-noto-*,gstreamer*,gutenprint-*,graphviz-*,gnuradio*,glassfish*,i3-*,ImageMagick*,ivtv*,iwl*firmware,kde*,kubernetes*,java-1.6*,java-1.7*,josm-*,jetty*,jboss*,jakarta*,libreoffice*,libertas*,maven*,mecurial*,moodle*,mythes-*,NetworkManager-team,libteam,nextcloud*,openblas*,openarena-*,qemu*,ql2100-firmware,ql2200-firmware,ql23xx-firmware,ql2400-firmware,ql2500-firmware,quantum-*,rt61pci-firmware,rt73usb-firmware,rust*,shogun*,subversion*,seamonkey*,texlive*,thunderbird*,uhd*,vtk*,wine*,wannier*,xemacs*,xqilla*,youtube*,zd1211-firmware,kacst-*,lohit-*,thai-scalable-*,*-chinese-*,*-de-*,*-es-*,*-fr-*,*-ga-*,*-hu-*,*-ja-*,*-lb-*,*-lv-*,*-ko-*,*-ru-*,*-zh-*,0ad-*,mingw*,horai*

 

 

One thought on “Build a CentOS7 server for: pxe boot, kickstart, reposync, repotrack, nfs, https (STEP 5)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s