Linux (CentOS) setup note

OS Installation

  • Language & Keyboard
    • Japanese
  • Software
    • GNOME Desktop / Development and Creativity Workstation
  • Destination
    • Local drive with encryption
  • Networking
    • Enable
  • Security Policy

Initial Setup

Software Repository

vi /etc/yum/pluginconf.d/fastestmirror.conf
yum install -y epel-release yum-utils
(Optional) See also:


yum install -y zsh byobu tmux htop vim

Automatic Update

yum install -y yum-cron
vim /etc/yum/yum-cron.conf
apply_updates = yes
systemctl enable yum-cron
systemctl restart yum-cron

Time Syncing

yum install -y chrony
vim /etc/chrony.conf
systemctl enable chronyd
systemctl restart chronyd
chronyc -a makestep

Root CA Certificates

証明書を以下に配置 /etc/pki/ca-trust/source/anchors/
update-ca-trust extract

Network Filesystems

yum install -y cifs-utils nfs-utils

Optional: Sysdig

Optional: Cockpit

yum install -y cockpit

Optional: NetData

Optional: Basic Securities

yum install -y logwatch fail2ban

Optional: Docker

See Docker installation notes.

Optional: VirtualBox Guest Additions

yum groups install -y "Development Tools"
yum install -y kernel-devel
mount /dev/cdrom /media/
cd /media

Optional: Update Folder Names

LANG=C xdg-user-dirs-gtk-update

Optional: rmate

curl -L -o /usr/local/bin/rmate
chmod +x /usr/local/bin/rmate

Update & Restart

Update Packages

yum update -y; yum autoremove -y



Console Applications


yum groups install -y "Development Tools"
yum install -y \
 coreutils \
 netcat \
 p7zip \
 rsync \
 telnet \
 w3m \