Difference: InstallingCentOS7 (23 vs. 24)

Revision 2414 Oct 2021 - 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
>
>
  • 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-enhanced rsync lynx
Changed:
<
<
  • Add the noatime option to all ext3/ext4/XFS/etc filesystem options in /etc/fstab
>
>
  • Add the noatime option to all ext3/ext4/XFS/etc filesystem options in /etc/fstab
 
  • Edit /etc/default/grub and remove the rhgb and quiet options from GRUB_CMDLINE_LINUX. Replace these options with: nomodeset vga=normal consoleblank=0 (add elevator=deadline when running on an SSD or in a VM)
  • Create a new grub2 config file using: grub2-mkconfig > /boot/grub2/grub.cfg
  • Update the system: yum upgrade
Changed:
<
<
  • Add a normal user, to log in as: useradd -m username
  • Set a password: passwd username
>
>
  • Add a normal user, to log in as: useradd -m username
  • Set a password: passwd username
 
  • Add the normal user to the wheel group: usermod -a -G wheel username
  • Make sure root cannot log in via ssh by changing /etc/ssh/sshd_config:
    • PermitRootLogin prohibit-password
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2010-2019 by LANIS