Difference: InstallingCentOS6 (8 vs. 9)

Revision 920 Oct 2017 - IvoVanGeel

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Installing CentOS 6

Line: 36 to 36
 
  • Make sure root cannot log in via ssh by changing /etc/ssh/sshd_config:
    • PermitRootLogin without-password
    • This will disable logging in as root, via ssh, but it is still possible to log in as root using SSH public key authentication.
Deleted:
<
<
  • Disable SELinux by setting SELINUX=disabled in /etc/sysconfig/selinux (a reboot is needed to disable SELinux)
 
  • Disable the firewall (when in a secure network), by running: chkconfig iptables off; chkconfig ip6tables off
  • Add the following line to /etc/sysconfig/network:
    • NOZEROCONF=yes
  • Install the following packages:
Changed:
<
<
yum install irqbalance sysstat iotop strace tcpdump lsof ntp man man-pages man-pages-overrides mlocate wget openssh-clients perl iptraf-ng bind-utils
>
>
yum install -y irqbalance sysstat iotop strace tcpdump lsof ntp man man-pages man-pages-overrides mlocate wget openssh-clients perl iptraf-ng bind-utils vim-enhanced
 
  • Enable irqbalance: chkconfig irqbalance on (only useful on an SMP system)
  • Set up /etc/ntp.conf:
Line: 57 to 56
 server 2.nl.pool.ntp.org server 3.nl.pool.ntp.org
Changed:
<
<
  • Change /etc/sysconfig/ntpdate:
>
>
  • Change /etc/ntp/step-tickers:
 
Changed:
<
<
OPTIONS="-U ntp -s -b 0.nl.pool.ntp.org 1.nl.pool.ntp.org"
>
>
0.nl.pool.ntp.org 1.nl.pool.ntp.org
 
  • Enable ntpdate and ntpd: chkconfig ntpdate on; chkconfig ntpd on
  • Reboot the system to activate all changes
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2010-2019 by LANIS