1.7 manage software configurations Flashcards
Systemctl reload {service}
Re-read a system’s configuration files while the service runs.
.rpmnew
An .rpmnew file contains the new default configuration file and leaves your original configuration file untouched.
.rpmsave
.rpmsave file is a copy of your original configuration file, which has been replaced by the new default file.
/etc/apt.conf
This file can be used to set debug options, configure proxy connections, and configure how APT caches packages.
/etc/yum.conf
This file is the primary configuration file for yum commands.
/etc/dnf/dnf.conf
The dnf configuration file.
/etc/apt/sources.list.d
This file contains a list of URLs of software repositories.
/etc/yum.repo.d
The repository used to store URLs references when pulling updates.
sysctl command
Enables the viewing of kernel parameters at runtime.
/etc/sysctl.conf
Enables configuration changes to a running Linux kernel.
lsmod command
Used to display the currently loaded kernel modules.
imsmod command
The imsmod command is used to add modules to the currently running kernel.
rmmod command
Used to remove a module from the currently running kernel.
insmod command
Used to install a module into the currently running kernel
modprobe command
Used to add or remove modules from a kernel.
-n{conduct dry run}
-s{prints error}
modinfo command
Used to display information about a particular kernel module.
Syslog
The syslogd or rsyslogd daemon is responsible for logging of application and system events. It determines which events to log and where to place log entries, based on configuration settings in the /etc/syslog.conf (/etc/rsyslog.conf) file.
chrony
A newer alternative, chrony, provides some benefits over the ntpd server, including:
Faster synchronization
Typically more accurate time
Improved response to clock frequency changes
No need for periodic polling of other NTP servers
Smaller (less memory and CPU utilization)
timedatectl command
Sets system date and time information.
localectl command
Views and configures the system locale and keyboard layout settings.