Post-install configuration for Centos 6.4 minimal installation
The instructions below relate to a minimal installation from a "minimal" ISO. When doing the post-install configuration after a "netinstall" is used and where "Minimal installation" was selected, some small and obvious changes in the services and packages listed below will be required.
- Perform minimal installation of Centos 6.4 (i386 or x86_64) (from "minimal" ISO; minor, apparent changes in services and packages required if doing minimal install from "netinstall" ISO),
- Remove installation media and reboot,
- In /boot/grub/grub./conf, edit kernel parameters: remove "rhgb quiet" and add "consoleblank=0 selinux=0 ipv6.disable=1 raid=noautodetect edd=off",
- Reboot,
- Remove packages: rpm -e audit selinux-policy selinux-policy-targeted lvm2,
- Disable services with chkconfig: iptables, ip6tables, iscsi, iscsid, netfs, mdmonitor
- Set "ONBOOT" to "yes" in /etc/sysconfig/network-scripts/ifcfg-eth0,
- Reboot,
- yum -y update,
- Reboot,
- yum -y install ntp. Edit /etc/ntp.conf and comment-out IPv6 lines (2). Use chkconfig to enable ntpd and ntpdate. Use service to start ntpdate and then ntpd. Run ntpdc -n -p to check,
- Set alias for root in /etc/aliases (not forgetting to run newaliases, of course), and test with cron job which invokes date every two minutes (e.g., */2 * * * * date). See also Configuring outgoing email for sendmail and postfix,
- Install cron job to poll for updates: 45 2 * * * yum check-update; yum list > yum.list.txt,
- Install additional packages: rsync, man, man-pages, bind-utils, openssh-clients
- Create directory /root/.ssh, copy in authorized_keys, and edit /etc/ssh/sshd_config and set to "no" both PasswordAuthentication and GSSAPIAuthentication. Restart sshd and check configuration using ssh -v ...,
To configure networking for more than DHCP:
- /etc/resolve.conf
- /etc/sysconfig/network
- /etc/sysconfig/network-scripts/ifcfg-eth0