This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computing:linux:minimal_centos_install [2013/03/07 13:17] gcooper |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Minimal CentOS Install ====== | ||
- | |||
- | This is generally for slim server installations. | ||
- | |||
- | ===== Centos 6 ===== | ||
- | |||
- | Release Notes: http:// | ||
- | |||
- | ==== Netinstall ==== | ||
- | |||
- | :!: Use netinstall method for Xen paravirtualized installs. | ||
- | |||
- | Netinstall URLs: | ||
- | |||
- | http:// | ||
- | |||
- | http:// | ||
- | |||
- | ISOs: | ||
- | |||
- | http:// | ||
- | |||
- | ==== Installation ==== | ||
- | |||
- | :!: Important note: in the latest Centos 6, these instrructions don't install '' | ||
- | |||
- | * Use netinstall or CD#1 | ||
- | * Use text-mode installer | ||
- | * De-select all packages | ||
- | * Hold down '' | ||
- | * Select " | ||
- | * De-select all packages | ||
- | * Hold down '' | ||
- | |||
- | Install some important packages after the install: | ||
- | |||
- | < | ||
- | yum install perl crontabs vixie-cron which wget vim-enhanced bind-utils system-config-network-tui | ||
- | chkconfig crond on | ||
- | service crond start | ||
- | </ | ||
- | |||
- | Update and reboot the new system: | ||
- | |||
- | < | ||
- | yum update -y | ||
- | reboot | ||
- | </ | ||
- | |||
- | ===== CentOS 5 ===== | ||
- | |||
- | http:// | ||
- | |||
- | http:// | ||
- | |||
- | - Boot to CD 1 | ||
- | - Type in "linux text" to get the text installation setup | ||
- | - Proceed normally with the installation until it asks which packages to install | ||
- | - Deselect all of the packages and then click on the " | ||
- | - Hold down the " | ||
- | - Finish the install | ||
- | - Do a "yum update" | ||
- | - Do a "yum install < | ||
- | |||
- | Install some important packages after the install (adjust as necessary): | ||
- | |||
- | < | ||
- | yum install perl crontabs vixie-cron wget which vim-enhanced bind-utils | ||
- | chkconfig crond on | ||
- | service crond start | ||
- | </ | ||
- | |||
- | === Minimizing After the Fact === | ||
- | |||
- | < | ||
- | echo " | ||
- | Authoring and Publishing | ||
- | Beagle | ||
- | Cluster Storage | ||
- | Clustering | ||
- | Development Libraries | ||
- | Development Tools | ||
- | Emacs | ||
- | Engineering and Scientific | ||
- | FreeNX and NX | ||
- | GNOME Desktop Environment | ||
- | GNOME Software Development | ||
- | Games and Entertainment | ||
- | Graphical Internet | ||
- | Graphics | ||
- | Horde | ||
- | Java | ||
- | Java Development | ||
- | KDE (K Desktop Environment) | ||
- | KDE Software Development | ||
- | KVM | ||
- | Legacy Software Development | ||
- | Legacy Software Support | ||
- | Mono | ||
- | Office/ | ||
- | OpenFabrics Enterprise Distribution | ||
- | PostgreSQL Database | ||
- | Printing Support | ||
- | Ruby | ||
- | Sound and Video | ||
- | Tomboy | ||
- | Windows File Server | ||
- | X Software Development | ||
- | X Window System | ||
- | XFCE-4.4" | ||
- | |||
- | pkg=" | ||
- | bind-libs ypbind yp-tools htmlview pinfo ppp rp-pppoe wvdial redhat-lsb mdadm portmap \ | ||
- | nfs-utils irda-utils isdn4k-utils pcmcia-cs NetworkManager pam_smb dos2unix samba-common \ | ||
- | ghostscript system-config-printer xorg-x11-xfs xorg-x11-font-utils VFlib2 urw-fonts \ | ||
- | ghostscript-fonts hpijs chkfontpath samba-client ghostscript-fonts libgnomeui \ | ||
- | startup-notification libwnck libbonoboui gnome-python2 usermode-gtk qt arts kdelibs gd pango \ | ||
- | gtk2 xorg-x11-xauth system-config-samba system-config-nfs system-config-services \ | ||
- | system-config-users system-logviewer system-config-date | ||
- | gnome-python2-bonobo gnome-python2-canvas gnome-python2-gtkhtml2 system-config-httpd \ | ||
- | system-config-network system-config-packages system-config-lvm tora webalizer libglade2 pygtk2 \ | ||
- | GConf2 gnome-keyring libgnomecanvas gail gtkhtml2 gnome-python2-bonobo gnome-python2-canvas \ | ||
- | gnome-python2-gtkhtml2 pygtk2-libglade system-config-securitylevel system-config-language \ | ||
- | system-config-rootpassword system-config-soundcard gnome-vfs2 libgnome authconfig-gtk \ | ||
- | firstboot gnome-mount gnome-python2-gnomevfs | ||
- | system-config-kdump gnome-mount metacity notification-daemon gnome-python2-gconf \ | ||
- | gnome-python2-gnomevfs bluez-gnome bluez-utils sabayon notify-python libnotify \ | ||
- | system-config-keyboard gtk2-engines xsri cups-libs xorg-x11-fonts-base gnome-python2-extras \ | ||
- | paps redhat-artwork cups xorg-x11-server-Xnest xorg-x11-server-Xorg sabayon-apply \ | ||
- | xorg-x11-drv-void xorg-x11-drv-evdev xorg-x11-drv-keyboard xorg-x11-drv-vesa rhpxl \ | ||
- | xorg-x11-drv-mouse Deployment_Guide-en-US" | ||
- | |||
- | for x in $pkg; do yum remove -y $x; done | ||
- | |||
- | yum clean all | ||
- | </ | ||
- | |||
- | ===== Networking ===== | ||
- | |||
- | Once installed, you'll want to set up a **[[networking: | ||
- | |||
- | ===== Securing ===== | ||
- | |||
- | http:// | ||
- | |||
- | ==== Enable EPEL Repo ==== | ||
- | |||
- | [[computing: | ||
- | |||
- | ==== Unneeded Services ==== | ||
- | |||
- | You can use a command similar to this to remove unnecessary services. | ||
- | |||
- | < | ||
- | for i in rpcbind nfslock lldpad fcoe rpcidmapd; do service $i stop; chkconfig $i off; done | ||
- | </ | ||
- | |||
- | ==== Fail2Ban ==== | ||
- | |||
- | **[[networking: | ||
- | |||