Difference: InstallingCentOS7 (9 vs. 10)

Revision 1020 Jul 2015 - IvoVanGeel

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

Installing CentOS 7

Line: 27 to 27
 
  • Add the noatime option to all ext3/ext4 filesystem options in /etc/fstab
  • Edit /etc/default/grub and remove the rhgb and quiet options from GRUB_CMDLINE_LINUX
  • Create a new grub2 config file using: grub2-mkconfig > /boot/grub2/grub.cfg
Changed:
<
<
  • Edit /etc/rc.d/rc.local and add the following line: /usr/bin/setterm -blank 0 This will prevent the screen from going black, which may be helpful in case of a kernel problem.
>
>
  • Edit /etc/rc.d/rc.local and add the following line: TERM=linux /usr/bin/setterm -blank 0 This will prevent the screen from going black, which may be helpful in case of a kernel problem.
 
  • The file /etc/rc.d/rc.local needs to be executable: chmod a+x /etc/rc.d/rc.local
  • Update the system: yum upgrade
  • Add a normal user, to log in as: useradd -m username
Line: 40 to 40
 
  • 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.
Changed:
<
<
  • Disable SELinux by setting SELINUX=disabled in /etc/sysconfig/selinux (a reboot is needed to disable SELinux)
>
>
  • Disable SELinux by setting SELINUX=disabled in /etc/sysconfig/selinux (a reboot is needed to fully disable SELinux)
 
  • Disable the firewall (when in a secure network), by running: systemctl disable firewalld
  • Install the following packages:
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2010-2019 by LANIS