From 3c617b134d47a608ac6272db484e7634be71ecba Mon Sep 17 00:00:00 2001 From: William Graef Date: Tue, 27 Aug 2024 11:14:47 -0400 Subject: [PATCH] update fs and reposync posts --- content/posts/ol/storage/post-15/index.md | 30 ++++++++++++----------- content/posts/ol/virt/post-27/index.md | 20 ++++++++------- 2 files changed, 27 insertions(+), 23 deletions(-) diff --git a/content/posts/ol/storage/post-15/index.md b/content/posts/ol/storage/post-15/index.md index fb29995f..91ed8685 100644 --- a/content/posts/ol/storage/post-15/index.md +++ b/content/posts/ol/storage/post-15/index.md @@ -2,7 +2,7 @@ title: "Work with File Systems" date: 2021-07-14 draft: false -summary: "Learn about working with File Systems on Oracle Linux" +summary: "Learn how to create and mount file systems on Oracle Linux." tags: ["ol", "lab", "tutorial", "ol-storage"] showDate: true --- @@ -11,27 +11,29 @@ showDate: true :crescent_moon: [Lab](https://luna.oracle.com/lab/bbfe7177-f27a-42f5-97cf-95b7027efa26) -:spiral_notepad: [Tutorial](https://docs.oracle.com/en/learn/file_system_linux_8) +:spiral_notepad: [Tutorial](https://docs.oracle.com/en/learn/ol-file-systems) ## Details -In the following tutorial, you list the mounted file systems. In addition, you partition disk devices and mount file systems. Then, you add entries in the file system table to mount file systems on reboots, and increase swap space. Lastly, you remove partitions and additional swap space. +Partitioning a disk is one of the first tasks when creating a file system. It divides the space on the disk but does not allow the operating system to store files on it. The ability to store files on a disk occurs when you format it with a file system. Oracle Linux supports many file systems, but we will focus on ext4 and xfs. ### Objectives -In this tutorial, you will learn how to: +In this tutorial, you'll learn how to: -- Display the current partition table -- List mounted file systems -- Partition disk devices -- Create and mount file systems on partitions -- Modify the file system table to mount the file systems on reboots -- Increase the amount of swap space -- Remove partitions and additional swap space + - Display the current partition table + - List mounted file systems + - Partition disk devices + - Create and mount file systems on partitions + - Modify the file system table to mount the file systems on reboots + - Increase the amount of swap space + - Remove partitions and additional swap space ### Prerequisites -The tutorial uses the following system: +- Minimum of a single Oracle Linux system -- A system with Oracle Linux 8 or later installed -- Two or more block devices attached to the system +- Each system should have Oracle Linux installed and configured with: + - A non-root user account with sudo access + - Access to the Internet + - Two or more block devices attached to the system diff --git a/content/posts/ol/virt/post-27/index.md b/content/posts/ol/virt/post-27/index.md index a16332a5..3e53b75e 100644 --- a/content/posts/ol/virt/post-27/index.md +++ b/content/posts/ol/virt/post-27/index.md @@ -2,7 +2,7 @@ title: "Build a DNF Repo Mirror" date: 2022-03-10 draft: false -summary: "Learn how to use podman or docker to run a ULN or yum mirror service in a container." +summary: "Learn to use reposync in a container to create a DNF or ULN mirror service." tags: ["ol","lab","tutorial","ol-podman"] showDate: true --- @@ -15,17 +15,17 @@ showDate: true ## Details -Oracle Linux 8 includes a fully functional **reposync** tool for DNF, that makes it easy to create a mirror of any yum repository. This facility can be extended to also mirror ULN channels for environments where the majority of your systems do not have direct access to the internet. By creating a yum mirror of the yum repositories and ULN channels that your organization uses, you can reduce network overhead and improve yum performance across your environment. Yum mirrors are also useful if you are configuring other services for your environment such as offline Ksplice. +Oracle Linux includes a fully functional **reposync** tool for DNF, making creating a mirror of any yum repository easy. We can also extend this facility to mirror ULN channels for environments where the majority of your systems do not have direct access to the internet. By creating a yum mirror of your organization's yum repositories and ULN channels, you can reduce network overhead and improve yum performance across your environment. Yum mirrors are also useful if you are configuring other services for your environment, such as offline Ksplice. -While previous releases of Oracle Linux included a `uln-yum-mirror` package that could be used to perform mirroring services, this was not particularly efficient and was relatively complicated to set up. +While previous releases of Oracle Linux included a `uln-yum-mirror` package that you could use to perform mirroring services, this was not particularly efficient and was relatively complicated to set up. -A ULN or yum mirror service is a typical example of a service that is best run within a set of containers. By using either Docker or Podman, you can quickly and easily deploy a container that uses the `oraclelinux:8-slim` image to handle scheduled synchronization of the yum repositories or ULN channels that you use within your organization. You can also deploy a container that handles the provisioning of the mirrored repositories within a web service that client systems are able to access. +A ULN or yum mirror service is a typical example of a service that is best run within a set of containers. Using Podman, you can quickly and easily deploy a container that uses the Oracle Linux *slim* image to handle scheduled synchronization of the yum repositories or ULN channels that you use within your organization. You can also deploy a container that handles the provisioning of the mirrored repositories within a web service that client systems are able to access. -An opensource GitHub project provides the Dockerfiles, scripts and instructions to do set up this kind of service at [https://github.com/Djelibeybi/oraclelinux-reposync](https://github.com/Djelibeybi/oraclelinux-reposync). +An opensource GitHub project provides the Dockerfiles, scripts, and instructions to set up this kind of service at [https://github.com/Djelibeybi/oraclelinux-reposync](https://github.com/Djelibeybi/oraclelinux-reposync). ### Objectives -In this lab, you'll learn to: +In this tutorial, you'll learn to: - Install container-tools - Build a container with the required software @@ -33,7 +33,9 @@ In this lab, you'll learn to: ### Prerequisites - - A system with Oracle Linux 7 or Oracle Linux 8 installed and with access to the internet. - - This tutorial assumes that you are using Oracle Linux 8, so package install commands use **dnf**, if you are using Oracle Linux 7, substitute these command instructions with **yum**. - - In this tutorial, we use Podman and Buildah to handle the build and running of containers, but if you are using Oracle Linux 7, you can equally use Docker to perform these tasks. +- Minimum of a single Oracle Linux system + +- Each system should have Oracle Linux installed and configured with: + - A non-root user account with sudo access + - Access to the Internet