Posts

Showing posts from December, 2021

Difference between /usr/lib/systemd/system and /etc/systemd/system?

Image
/usr/lib/systemd/system is a directory that should only contain systemd unit files which were put there by the package manager (YUM/DNF/RPM/APT/etc). Files in /etc/systemd/system are manually placed here by the operator of the system for ad-hoc software installations that are not in the form of a package. This would include tarball type software installations or home grown scripts.

Systemctl

Image
Systemctl to see all Active Services :    Systemctl to see all Services : Comparison of service utility with Systemctl. Comparison of chkconfig utility with Systemctl.

DNF & Repos

Image
The yum utility that is provided with Oracle Linux 8 is based on Dandified Yum (DNF). We can use dnf to install or upgrade RPM packages, while automatically handling package dependencies and requirements. The dnf command can be used to download the packages from repositories such as those that are available on the Oracle Linux yum server, but we can also set up your own repositories on systems that do not have Internet access. We can also use the dnf command on systems that are registered with the Unbreakable Linux Network (ULN) to install additional software that is limited to Oracle Linux Premier Support customers. The repositories that are available on the Oracle Linux yum server are aligned with the channels that are available from the Unbreakable Linux Network (ULN). Exceptions are any ULN channels that are limited to Oracle Linux Premier Support customers, for example, channels for products such as Ksplice. Compute nodes running Oracle Linux on Oracle Cloud Infrastructure and tha...