Difference: InstallingCentOS7 (17 vs. 18)

Revision 1813 Mar 2019 - IvoVanGeel

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

Installing CentOS 7

Line: 24 to 24
 
  • Wait for the installation to finish.
  • Reboot the system.
Changed:
<
<
>
>
  • Add the EPEL repository by running: yum install epel-release
  • Install the following packages:
yum install -y sysstat iotop strace tcpdump lsof ntp ntpdate man man-pages mlocate wget perl iptraf-ng bind-utils net-tools psmisc vim
 
  • Add the noatime option to all ext3/ext4/XFS/etc filesystem options in /etc/fstab
Changed:
<
<
  • Edit /etc/default/grub and remove the rhgb and quiet options from GRUB_CMDLINE_LINUX. Replace these options with: nomodeset vga=normal
>
>
  • Edit /etc/default/grub and remove the rhgb and quiet options from GRUB_CMDLINE_LINUX. Replace these options with: nomodeset vga=normal (add elevator=deadline when running on an SSD)
 
  • Create a new grub2 config file using: grub2-mkconfig > /boot/grub2/grub.cfg
  • Update the system: yum upgrade
  • Add a normal user, to log in as: useradd -m username
Line: 41 to 45
 
    • This will disable logging in as root, via ssh, but it is still possible to log in as root using SSH public key authentication.
  • 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
Deleted:
<
<
  • Install the following packages:
yum install -y sysstat iotop strace tcpdump lsof ntp ntpdate man man-pages mlocate wget perl iptraf-ng bind-utils net-tools psmisc vim
 
  • Enable irqbalance: systemctl enable irqbalance.service (only useful on an SMP system)
  • Set up /etc/ntp.conf:
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2010-2019 by LANIS