<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mehmet ARIKAN on Medium]]></title>
        <description><![CDATA[Stories by Mehmet ARIKAN on Medium]]></description>
        <link>https://medium.com/@arikanonline?source=rss-a72cfc89eadb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*eTJzZck4-VpLbxA4Qy_M9w.jpeg</url>
            <title>Stories by Mehmet ARIKAN on Medium</title>
            <link>https://medium.com/@arikanonline?source=rss-a72cfc89eadb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:30:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arikanonline/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AlmaLinux 10.2 Disk Partition, Formatting and Create Mount Point]]></title>
            <link>https://arikanonline.medium.com/almalinux-10-2-disk-partition-formatting-and-create-mount-point-4f331a9080ef?source=rss-a72cfc89eadb------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f331a9080ef</guid>
            <dc:creator><![CDATA[Mehmet ARIKAN]]></dc:creator>
            <pubDate>Tue, 22 Sep 2026 11:05:16 GMT</pubDate>
            <atom:updated>2026-09-22T11:09:18.518Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ivSgPeRj0E3jnLgsp5iL_Q.png" /></figure><p>Hi again, AlmaLinux is Open Source, community owned, free and new generation Operating System on Linux Universe, that belongs RedHat Distro Family so AlmaLinux OS is binary compatible with RHEL</p><p>This article demonstrates how to format, partition and mount a secondary disk added via the virtualization layer.</p><p>Let’s get started; first of all, we check the current status. we should see disk named sdb.</p><pre>lsblk</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*l9PUhLPweIocdpSqmA80aQ.png" /></figure><pre>sudo fdisk -l</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*gUnJnDzsb0SO-Y2xnT1zJg.png" /></figure><p>We are formatting the entire disk (sdb) using GPT (GUID Partition Table) because GPT is more secure and supports capacities exceeding 2 TB.</p><pre>sudo parted /dev/sdb --script mklabel gpt<br>sudo parted /dev/sdb --script mkpart primary 0% 100%<br>sudo parted /dev/sdb --script set 1 lvm on</pre><p>After formatted disk, we partition the sdb disk into sdb1 and create a volume group named “vg_data” on this partition.</p><p>Later we create logical volume named “lv_data” on this volume group</p><pre>sudo pvcreate /dev/sdb1<br>sudo vgcreate vg_data /dev/sdb1<br>sudo lvcreate -l 100%FREE -n lv_data vg_data</pre><p>After create Volume Group and Logical Volume, we create a file system to use that logical volume.</p><pre>sudo mkfs.xfs /dev/vg_data/lv_data</pre><p>we check again the current status now.</p><pre>lsblk</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*iwiEiPLbXudvp4o5yK3iMA.png" /></figure><p>We are also currently checking the volumes.</p><pre>pvs<br>vgs<br>lvs</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*6M2OkxKp0nJzmaTqLyhYUQ.png" /></figure><p>Now, we create an independent directory named “data”</p><pre>sudo mkdir -p /data</pre><p>Then mount logical volume to new directory, but it is temporary!</p><pre>sudo mount /dev/vg_data/lv_data /data</pre><p>We are also currently checking the UUID for logical volume.</p><pre>sudo blkid /dev/vg_data/lv_data</pre><p>And we add this information for permanently mount</p><pre>vi /etc/fstab</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/893/1*Vjj7Ylme768hsHFy3KsCQg.png" /></figure><pre>sudo umount /data<br>sudo mount -a<br>systemctl daemon-reload</pre><p>Finally we see that the disk mounted to the “/data” directory directory has been added.</p><pre>df -h</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*E_AabMSl3V75OdZGQi6LPg.png" /></figure><p>That’s all. See you in the next article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f331a9080ef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ubuntu 24.04 Linux Kernel Upgrade Process]]></title>
            <link>https://arikanonline.medium.com/ubuntu-24-04-linux-kernel-upgrade-process-54e1fac50e54?source=rss-a72cfc89eadb------2</link>
            <guid isPermaLink="false">https://medium.com/p/54e1fac50e54</guid>
            <category><![CDATA[ubuntu-server]]></category>
            <dc:creator><![CDATA[Mehmet ARIKAN]]></dc:creator>
            <pubDate>Thu, 27 Aug 2026 18:58:14 GMT</pubDate>
            <atom:updated>2026-08-27T19:00:31.204Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/987/1*DZHXPm0upl7nzUSOopL88Q.png" /></figure><p>Ubuntu Linux is one of the most powerful operating system on our linux universe. This operating system is widespread because it has simple usage. By the way, Ubuntu lives on and developed because technology is constantly evolving and progressing.</p><p>Ubuntu, release a kernel update 6 months or 1 year. This article shows how to update ubuntu kernel.</p><p>First check with the official Ubuntu documentation at <a href="https://ubuntu.com/kernel/lifecycle">https://ubuntu.com/kernel/lifecycle</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*trM_xAFW9_eWK77amKXt4A.png" /></figure><p>The image shows kernel version number and its lifecycle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RRxrQ-70ypFs6LX4T_UZEw.png" /></figure><p>This commands displays its own kernel version number</p><pre>uname -a &amp;&amp; uname -r</pre><p>This commands will be upgrade our ubuntu systems kernel upgrade</p><pre>sudo apt update<br>sudo apt upgrade -y<br>sudo apt install --install-recommends linux-generic<br>sudo apt install --install-recommends linux-generic-hwe-24.04<br>dpkg --list | grep linux-image</pre><p>Then our ubuntu systems upgraded but its need a reboot, therefore our systems must be reboot command.</p><pre>uname -a<br>reboot</pre><p>That’s all. See you in the next article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54e1fac50e54" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RKE2 Cluster Setup Part-3 Rancher Kubernetes Engine Installation Worker Nodes on RHEL9]]></title>
            <link>https://arikanonline.medium.com/rke2-cluster-setup-part-3-rancher-kubernetes-engine-installation-worker-nodes-on-rhel9-bed6d4eb2464?source=rss-a72cfc89eadb------2</link>
            <guid isPermaLink="false">https://medium.com/p/bed6d4eb2464</guid>
            <dc:creator><![CDATA[Mehmet ARIKAN]]></dc:creator>
            <pubDate>Mon, 25 Aug 2025 17:29:44 GMT</pubDate>
            <atom:updated>2025-08-25T17:37:27.690Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*nUMY85bPZA70xe7fHKuVRA.png" /></figure><p>This article is thirt part of RKE2 cluster installation. In this part, we are installing the worker/agent node, and then connect the first control plane/master node for cluster. Let’s install the worker/agent nodes;</p><pre>hostnamectl<br>sudo hostnamectl set-hostname n1.test.local<br>sudo vi /etc/resolv.conf</pre><p>We edit the resolv config file as follows</p><pre>search test.local<br>nameserver 10.10.10.11<br>nameserver 10.10.10.12</pre><p>We edit the hosts config file as follows</p><pre>sudo vi /etc/hosts<br>lb.test.local 10.20.20.90<br>m1.test.local 10.20.20.21<br>m2.test.local 10.20.20.22<br>m3.test.local 10.20.20.23<br>n1.test.local 10.20.20.31<br>n2.test.local 10.20.20.32<br>n3.test.local 10.20.20.33</pre><p>Then continue with below commands for general configuration and security</p><pre>sudo dnf update<br>sudo dnf install chrony<br>sudo systemctl status chronyd<br>timedatectl list-timezones |grep Europe/Istanbul<br>timedatectl set-timezone Europe/Istanbul<br>timedatectl<br>sudo setenforce 0<br>sudo sed -i &#39;s/SELINUX=enforcing/SELINUX=disabled/g&#39; /etc/selinux/config<br>sestatus<br>sudo systemctl status firewalld<br>sudo systemctl start firewalld<br>sudo firewall-cmd --list-ports<br>sudo firewall-cmd --zone=public --add-port=22/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=53/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=80/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=8080/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=443/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=6443/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=8472/udp --permanent<br>sudo firewall-cmd --zone=public --add-port=9000/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=9099/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=9345/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10250/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10256/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10257/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10259/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=2379/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=2380/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=2381/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=51820/udp --permanent<br>sudo firewall-cmd --zone=public --add-port=51821/udp --permanent<br>sudo firewall-cmd --zone=public --add-port=30000-32767/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=323/udp --permanent <br>sudo firewall-cmd --zone=public --add-service=ntp --add-service=ptp --permanent <br>sudo firewall-cmd --reload<br>sudo firewall-cmd --list-ports<br>sudo systemctl status firewalld<br>sudo systemctl disable nm-cloud-setup.service nm-cloud-setup.timer<br>sudo systemctl disable apparmor.service</pre><p>We create a rke2-canal.conf config file as follows</p><pre>sudo vi /etc/NetworkManager/conf.d/rke2-canal.conf</pre><p>Edit as follows</p><pre>[keyfile]<br>unmanaged-devices=interface-name:cali*;interface-name:flannel*</pre><p>Then restart with below commands</p><pre>sudo systemctl reload NetworkManager<br>sudo reboot</pre><p>After reboot, create 2 directory as follows</p><pre>sudo mkdir -p /etc/rancher/rke2/<br>sudo mkdir -p /var/lib/rancher/rke2/server/manifests/</pre><p>Create an important config file</p><pre>sudo vi /etc/rancher/rke2/config.yaml</pre><p>And edit file as follows, this is important because IP address point to HaProxy LoadBalancer</p><pre>tls-san:<br>  - lb01.test.local<br>  - 10.20.20.90<br>write-kubeconfig-mode: &quot;0600&quot;<br>etcd-expose-metrics: true<br>cni:<br>  - canal<br><br>server: https://10.20.20.90:9345<br>token: K1049acabasdasdasd1a95262e4a511asdasd8107::server:8bf312c93asdasdasd069<br>write-kubeconfig-mode: \&quot;0644\&quot;</pre><p>After create a new config file</p><pre>sudo vi /etc/yum.repos.d/rancher-rke2.repo</pre><p>Edit as follows</p><pre>[rancher-rke2-common-stable]<br>name=Rancher RKE2 Common (stable)<br>baseurl=https://rpm.rancher.io/rke2/stable/common/centos/9/noarch<br>enabled=1<br>gpgcheck=1<br>repo_gpgcheck=1<br>gpgkey=https://rpm.rancher.io/public.key<br>[rancher-rke2-1.32-stable]<br>name=Rancher RKE2 1.32 (stable)<br>baseurl=https://rpm.rancher.io/rke2/stable/1.32/centos/9/x86_64<br>enabled=1<br>gpgcheck=1<br>repo_gpgcheck=1<br>gpgkey=https://rpm.rancher.io/public.key</pre><p>Now, installing the rke2-agent service</p><pre>sudo yum -y install rke2-agent<br><br>sudo systemctl status rke2-agent<br><br>sudo systemctl start rke2-agent<br><br>sudo systemctl status rke2-agent<br><br>sudo systemctl enable rke2-agent</pre><p>Get kubectl command to master nodes;</p><pre>kubectl get nodes</pre><p>Press enter or click to view image in full size</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*3uSC0WtuZphcCpTd6vIKSA.png" /></figure><p>we installed the rke2 cluster include 3 master + 3 worker nodes.</p><p>That’s all, see you in the next article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bed6d4eb2464" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RKE2 Cluster Setup Part-2 Rancher Kubernetes Engine Installation Master Nodes on RHEL9]]></title>
            <link>https://arikanonline.medium.com/rke2-cluster-setup-part-2-rancher-kubernetes-engine-installation-master-nodes-on-rhel9-fbfcb8dd4e5b?source=rss-a72cfc89eadb------2</link>
            <guid isPermaLink="false">https://medium.com/p/fbfcb8dd4e5b</guid>
            <dc:creator><![CDATA[Mehmet ARIKAN]]></dc:creator>
            <pubDate>Mon, 25 Aug 2025 17:00:23 GMT</pubDate>
            <atom:updated>2025-08-25T17:27:29.433Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*nUMY85bPZA70xe7fHKuVRA.png" /></figure><p>This article is second part of RKE2 cluster installation. In this part, we are installing the first control plane/master node, and then install the other control plane/master nodes for connect the first control plane/master node. Let’s install the first control plane/master node;</p><p>First of all, we are installing the 1st rke2-server service setup on RHEL based Operating System. For this reason, we are tracking below commands.</p><p>1st Control Plane/Master Node;</p><pre>hostnamectl<br>sudo hostnamectl set-hostname m1.test.local<br>sudo vi /etc/resolv.conf</pre><p>We edit the resolv config file as follows</p><pre>search test.local<br>nameserver 10.10.10.11<br>nameserver 10.10.10.12</pre><p>We edit the hosts config file as follows</p><pre>sudo vi /etc/hosts<br>lb.test.local 10.20.20.90<br>m1.test.local 10.20.20.21<br>m2.test.local 10.20.20.22<br>m3.test.local 10.20.20.23<br>n1.test.local 10.20.20.31<br>n2.test.local 10.20.20.32<br>n3.test.local 10.20.20.33</pre><p>Then continue with below commands for general configuration and security</p><pre>sudo dnf update<br>sudo dnf install chrony<br>sudo systemctl status chronyd<br>timedatectl list-timezones |grep Europe/Istanbul<br>timedatectl set-timezone Europe/Istanbul<br>timedatectl<br>sudo setenforce 0<br>sudo sed -i &#39;s/SELINUX=enforcing/SELINUX=disabled/g&#39; /etc/selinux/config<br>sestatus<br>sudo systemctl status firewalld<br>sudo systemctl start firewalld<br>sudo firewall-cmd --list-ports<br>sudo firewall-cmd --zone=public --add-port=22/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=53/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=80/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=8080/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=443/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=6443/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=8472/udp --permanent<br>sudo firewall-cmd --zone=public --add-port=9000/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=9099/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=9345/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10250/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10256/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10257/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10259/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=2379/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=2380/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=2381/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=51820/udp --permanent<br>sudo firewall-cmd --zone=public --add-port=51821/udp --permanent<br>sudo firewall-cmd --zone=public --add-port=30000-32767/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=323/udp --permanent <br>sudo firewall-cmd --zone=public --add-service=ntp --add-service=ptp --permanent <br>sudo firewall-cmd --reload<br>sudo firewall-cmd --list-ports<br>sudo systemctl status firewalld<br>sudo systemctl disable nm-cloud-setup.service nm-cloud-setup.timer<br>sudo systemctl disable apparmor.service</pre><p>We create a rke2-canal.conf config file as follows</p><pre>sudo vi /etc/NetworkManager/conf.d/rke2-canal.conf</pre><p>Edit as follows</p><pre>[keyfile]<br>unmanaged-devices=interface-name:cali*;interface-name:flannel*</pre><p>Then restart with below commands</p><pre>sudo systemctl reload NetworkManager<br>sudo reboot</pre><p>After reboot, create 2 directory as follows</p><pre>sudo mkdir -p /etc/rancher/rke2/<br>sudo mkdir -p /var/lib/rancher/rke2/server/manifests/</pre><p>Create an important config file</p><pre>sudo vi /etc/rancher/rke2/config.yaml</pre><p>And edit file as follows, this is important because IP address point to HaProxy LoadBalancer</p><pre>tls-san:<br>  - lb01.test.local<br>  - 10.20.20.90<br>write-kubeconfig-mode: &quot;0600&quot;<br>etcd-expose-metrics: true<br>cni:<br>  - canal</pre><p>After create a new config file</p><pre>sudo vi /var/lib/rancher/rke2/server/manifests/rke2-ingress-nginx-config.yaml</pre><p>Edit as follows</p><pre>apiVersion: helm.cattle.io/v1<br>kind: HelmChartConfig<br>metadata:<br>  name: rke2-ingress-nginx<br>  namespace: kube-system<br>spec:<br>  valuesContent: |-<br>    controller:<br>      extraInitContainers:<br>        - name: ef-set-sysctl<br>          image: busybox<br>          securityContext:<br>            privileged: true<br>          command:<br>          - sh<br>          - -c<br>          - |<br>            sysctl -w net.core.somaxconn=65535<br>            sysctl -w net.ipv4.ip_local_port_range=&quot;1024 65535&quot;<br>      metrics:<br>        #  DO not enable at the cluster install, enable when monitoring is deployed.<br>        enabled: false<br>        service:<br>          annotations:<br>            prometheus.io/scrape: &quot;true&quot;<br>            prometheus.io/port: &quot;10254&quot;<br>        serviceMonitor:<br>           #  DO not enable at the cluster install, enable when monitoring is deployed.<br>           enabled: false<br>      config:<br>        use-forwarded-headers: &quot;true&quot;<br>        keep-alive-requests: &quot;10000&quot;<br>        upstream-keepalive-requests: &quot;1000&quot;<br>        worker-processes: &quot;auto&quot;<br>        max-worker-connections: &quot;65535&quot;<br>        use-gzip: &quot;true&quot;<br>      allowSnippetAnnotations: &quot;true&quot;</pre><p>Now, installing the RKE2 cluster with spesific 1.32.7 version</p><pre>curl -sfL https://get.rke2.io | INSTALL_RKE2_VERSION=v1.32.7+rke2r1 INSTALL_RKE2_TYPE=server sudo sh -</pre><p>After, we start the rke2-server service and install the kubectl command</p><pre>sudo systemctl start rke2-server<br>sudo systemctl enable rke2-server<br>sudo systemctl status rke2-server<br>export PATH=$PATH:/var/lib/rancher/rke2/bin<br>export KUBECONFIG=/etc/rancher/rke2/rke2.yaml<br>echo &quot;export PATH=$PATH:/var/lib/rancher/rke2/bin&quot; &gt;&gt; $HOME/.bashrc<br>echo &quot;export KUBECONFIG=/etc/rancher/rke2/rke2.yaml&quot; &gt;&gt; $HOME/.bashrc<br>sudo cat /var/lib/rancher/rke2/server/node-token<br>K1049acab102408538b64b77b8b63e8a312a2f5f1a95262e4a511da4fd167628107::server:8bf312c93f361f77bdc74c0eea842069<br>mkdir rke2<br>sudo cp /etc/rancher/rke2/rke2.yaml /home/truptadm/rke2/<br>sudo chown truptadm:truptadm rke2/rke2.yaml<br>KUBECONFIG=/home/truptadm/rke2/rke2.yaml</pre><p>Get kubectl command</p><pre>kubectl get nodes</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1002/1*9zjN9KFa5AXvDYnIRgoHGQ.png" /></figure><p>we saw the 1 master node but we need 3 master node for cluster architecture, therefore we do sample processing to other 2 master nodes.</p><p>In this part we installing the other control plane/master nodes;</p><p>Other Control Plane/Master Node;</p><pre>hostnamectl<br>sudo hostnamectl set-hostname m2.test.local<br>sudo vi /etc/resolv.conf</pre><p>We edit the resolv config file as follows</p><pre>search test.local<br>nameserver 10.10.10.11<br>nameserver 10.10.10.12</pre><p>We edit the hosts config file as follows</p><pre>sudo vi /etc/hosts<br>lb.test.local 10.20.20.90<br>m1.test.local 10.20.20.21<br>m2.test.local 10.20.20.22<br>m3.test.local 10.20.20.23<br>n1.test.local 10.20.20.31<br>n2.test.local 10.20.20.32<br>n3.test.local 10.20.20.33</pre><p>Then continue with below commands for general configuration and security</p><pre>sudo dnf update<br>sudo dnf install chrony<br>sudo systemctl status chronyd<br>timedatectl list-timezones |grep Europe/Istanbul<br>timedatectl set-timezone Europe/Istanbul<br>timedatectl<br>sudo setenforce 0<br>sudo sed -i &#39;s/SELINUX=enforcing/SELINUX=disabled/g&#39; /etc/selinux/config<br>sestatus<br>sudo systemctl status firewalld<br>sudo systemctl start firewalld<br>sudo firewall-cmd --list-ports<br>sudo firewall-cmd --zone=public --add-port=22/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=53/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=80/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=8080/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=443/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=6443/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=8472/udp --permanent<br>sudo firewall-cmd --zone=public --add-port=9000/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=9099/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=9345/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10250/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10256/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10257/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10259/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=2379/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=2380/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=2381/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=51820/udp --permanent<br>sudo firewall-cmd --zone=public --add-port=51821/udp --permanent<br>sudo firewall-cmd --zone=public --add-port=30000-32767/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=323/udp --permanent <br>sudo firewall-cmd --zone=public --add-service=ntp --add-service=ptp --permanent <br>sudo firewall-cmd --reload<br>sudo firewall-cmd --list-ports<br>sudo systemctl status firewalld<br>sudo systemctl disable nm-cloud-setup.service nm-cloud-setup.timer<br>sudo systemctl disable apparmor.service</pre><p>We create a rke2-canal.conf config file as follows</p><pre>sudo vi /etc/NetworkManager/conf.d/rke2-canal.conf</pre><p>Edit as follows</p><pre>[keyfile]<br>unmanaged-devices=interface-name:cali*;interface-name:flannel*</pre><p>Then restart with below commands</p><pre>sudo systemctl reload NetworkManager<br>sudo reboot</pre><p>After reboot, create 2 directory as follows</p><pre>sudo mkdir -p /etc/rancher/rke2/<br>sudo mkdir -p /var/lib/rancher/rke2/server/manifests/</pre><p>Create an important config file</p><pre>sudo vi /etc/rancher/rke2/config.yaml</pre><p>And edit file as follows, this is important because IP address point to HaProxy LoadBalancer</p><pre>server: https://10.20.20.90:9345<br>token: K1049aabsdasd102asdasdasdasd12a2f5f1a954fd167628107::server:8bf31asd45rwsfs2069<br>tls-san:<br>  - lb01.test.local<br>  - 10.20.20.90<br>write-kubeconfig-mode: &quot;0644&quot;<br>etcd-expose-metrics: true<br>cni:<br>  - canal</pre><p>After create a new config file</p><pre>sudo vi /var/lib/rancher/rke2/server/manifests/rke2-ingress-nginx-config.yaml</pre><p>Edit as follows</p><pre>apiVersion: helm.cattle.io/v1<br>kind: HelmChartConfig<br>metadata:<br>  name: rke2-ingress-nginx<br>  namespace: kube-system<br>spec:<br>  valuesContent: |-<br>    controller:<br>      extraInitContainers:<br>        - name: ef-set-sysctl<br>          image: busybox<br>          securityContext:<br>            privileged: true<br>          command:<br>          - sh<br>          - -c<br>          - |<br>            sysctl -w net.core.somaxconn=65535<br>            sysctl -w net.ipv4.ip_local_port_range=&quot;1024 65535&quot;<br>      metrics:<br>        #  DO not enable at the cluster install, enable when monitoring is deployed.<br>        enabled: false<br>        service:<br>          annotations:<br>            prometheus.io/scrape: &quot;true&quot;<br>            prometheus.io/port: &quot;10254&quot;<br>        serviceMonitor:<br>           #  DO not enable at the cluster install, enable when monitoring is deployed.<br>           enabled: false<br>      config:<br>        use-forwarded-headers: &quot;true&quot;<br>        keep-alive-requests: &quot;10000&quot;<br>        upstream-keepalive-requests: &quot;1000&quot;<br>        worker-processes: &quot;auto&quot;<br>        max-worker-connections: &quot;65535&quot;<br>        use-gzip: &quot;true&quot;<br>      allowSnippetAnnotations: &quot;true&quot;</pre><p>Now, installing the RKE2 cluster with spesific 1.32.7 version</p><pre>curl -sfL https://get.rke2.io | INSTALL_RKE2_VERSION=v1.32.7+rke2r1 INSTALL_RKE2_TYPE=server sudo sh -</pre><p>After, we start the rke2-server service and install the kubectl command</p><pre>sudo systemctl start rke2-server<br>sudo systemctl enable rke2-server<br><br>sudo systemctl status rke2-server<br><br>export PATH=$PATH:/var/lib/rancher/rke2/bin<br><br>export KUBECONFIG=/etc/rancher/rke2/rke2.yaml<br><br>echo &quot;export PATH=$PATH:/var/lib/rancher/rke2/bin&quot; &gt;&gt; $HOME/.bashrc<br><br>echo &quot;export KUBECONFIG=/etc/rancher/rke2/rke2.yaml&quot; &gt;&gt; $HOME/.bashrc<br><br>mkdir rke2<br><br>sudo cp /etc/rancher/rke2/rke2.yaml /home/truptadm/rke2/<br><br>sudo chown truptadm:truptadm rke2/rke2.yaml<br><br>KUBECONFIG=/home/truptadm/rke2/rke2.yaml</pre><p>Get kubectl command</p><pre>kubectl get nodes</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SPfYaXl70ybhqE6wSoCcwg.png" /></figure><p>we saw the 3 master node, then we need worker node for cluster,</p><p>Now, that’s all, to be continued next article</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fbfcb8dd4e5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RKE2 Cluster Setup Part-1 HAProxy Installation on RHEL9]]></title>
            <link>https://arikanonline.medium.com/rke2-cluster-setup-part-1-haproxy-installation-on-rhel9-9885c8301a13?source=rss-a72cfc89eadb------2</link>
            <guid isPermaLink="false">https://medium.com/p/9885c8301a13</guid>
            <dc:creator><![CDATA[Mehmet ARIKAN]]></dc:creator>
            <pubDate>Mon, 25 Aug 2025 16:58:17 GMT</pubDate>
            <atom:updated>2025-08-25T18:12:30.913Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*nUMY85bPZA70xe7fHKuVRA.png" /></figure><p>Rancher is management platform for kubernetes cluster. It adds to rancher after installed kubernetes cluster and rancher supports for management<br>RKE2 is Rancher’s next generation brand on kubernetes environment. Not only kubernetes management but also create kubernetes cluster. By the way, RKE2 is more powerful than Rancher. Because RKE has developed for US Goverment. It has also been known as RKE Government.</p><p>This article tells to installation 1+3+3 Node RKE2 Cluster on RedHat 9 Linux. This configuration is 1 Node HaProxy for LoadBalancer and 3 Node Master or Control Plane Node, last 3 Node is Worker or Agent Node.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/477/1*Illb-JMaPobWCAoeToieQw.png" /></figure><p>The user initiates a DNS request, which resolves to an IP address and is sent to the LoadBalancer. The LoadBalancer service inspects the request and checks the port number, then forwards it to the appropriate node as defined in the configuration file. For example, if the request uses control plane ports such as <strong>6443</strong> or <strong>9345</strong>, it is routed to the control plane nodes. If it uses worker node ports such as <strong>80</strong> or <strong>443</strong>, it is routed to the worker/agent nodes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/0*9i4LuO2BQECzXFvy.png" /></figure><p>First of all, we are installing the HaProxy service setup on RHEL based Operating System. For this reason, we are tracking below commands.</p><pre>hostnamectl<br>sudo hostnamectl set-hostname lb01.test.local<br>sudo vi /etc/resolv.conf</pre><p>We edit the resolv config file as follows</p><pre>search test.local<br>nameserver 10.10.10.11<br>nameserver 10.10.10.12</pre><p>We edit the hosts config file as follows</p><pre>sudo vi /etc/hosts<br>lb.test.local 10.20.20.20<br>m1.test.local 10.20.20.21<br>m2.test.local 10.20.20.22<br>m3.test.local 10.20.20.23<br>n1.test.local 10.20.20.31<br>n2.test.local 10.20.20.32<br>n3.test.local 10.20.20.33</pre><p>Then continue with below commands for general configuration and security</p><pre>sudo dnf update<br>sudo dnf install chrony<br>sudo systemctl status chronyd<br>timedatectl list-timezones |grep Europe/Istanbul<br>timedatectl set-timezone Europe/Istanbul<br>timedatectl<br>sudo setenforce 0<br>sudo sed -i &#39;s/SELINUX=enforcing/SELINUX=disabled/g&#39; /etc/selinux/config<br>sestatus<br>sudo systemctl status firewalld<br>sudo systemctl start firewalld<br>sudo firewall-cmd --list-ports<br>sudo firewall-cmd --zone=public --add-port=22/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=53/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=80/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=8080/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=443/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=6443/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=8472/udp --permanent<br>sudo firewall-cmd --zone=public --add-port=9000/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=9099/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=9345/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10250/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10256/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10257/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=10259/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=2379/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=2380/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=2381/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=51820/udp --permanent<br>sudo firewall-cmd --zone=public --add-port=51821/udp --permanent<br>sudo firewall-cmd --zone=public --add-port=30000-32767/tcp --permanent<br>sudo firewall-cmd --zone=public --add-port=323/udp --permanent <br>sudo firewall-cmd --zone=public --add-service=ntp --add-service=ptp --permanent <br>sudo firewall-cmd --reload<br>sudo firewall-cmd --list-ports<br>sudo systemctl status firewalld</pre><p>Then we install the haproxy service as follows</p><pre>sudo dnf install haproxy -y<br>sudo systemctl enable haproxy<br>systemctl status haproxy<br>cd /etc/haproxy<br>mkdir certs<br>cd certs/<br>sudo vi tls.key<br>sudo vi tls.crt<br>sudo vi tls.pem<br>sudo vi /etc/haproxy/haproxy.cfg<br>sudo systemctl restart haproxy<br>sudo systemctl status haproxy</pre><p>We edit the as called haproxy.conf config file as follows</p><pre>global<br>        log /dev/log    local0<br>        log /dev/log    local1 notice<br>        chroot /var/lib/haproxy<br>        stats timeout 30s<br>        user haproxy<br>        group haproxy<br>        daemon<br><br>        maxconn 2000000<br>        nbproc 8<br>        cpu-map  1 1<br>        cpu-map  2 2<br>        cpu-map  3 3<br>        cpu-map  4 4<br>        stats bind-process 4<br><br>defaults<br>        log     global<br>        mode    http<br>        option  httplog<br>        option forwardfor<br>        option  dontlognull<br>        timeout connect 50000s<br>        timeout client  50000s<br>        timeout server  50000s<br>        retries 4<br>        maxconn 2000000<br><br>listen stats<br>    bind 10.20.20.20:9000      # Bind stats to port 9000<br>    mode http         # http usage<br>    log global                                  # Enable Logging<br>    stats enable                                # enable statistics reports<br>    stats hide-version                          # Hide the version of HAProxy<br>    stats refresh 30s                           # HAProxy refresh time<br>    stats show-node                             # Shows the hostname of the node<br> stats auth testuser:testpasswd    # Authentication for Stats page<br>    stats uri /stats       # Statistics URL<br><br>frontend k8s-master-nodes<br>    bind 10.20.20.20:6443<br>    option tcplog<br>    mode tcp<br>    default_backend k8s-master-nodes<br> <br>backend k8s-master-nodes<br>    mode tcp<br>    balance roundrobin<br>    option tcp-check<br> server m1.test.local 10.20.20.21:6443 check fall 3 rise 2<br> server m2.test.local 10.20.20.22:6443 check fall 3 rise 2<br> server m3.test.local 10.20.20.23:6443 check fall 3 rise 2<br> <br>frontend rke2-master-nodes<br>    bind 10.20.20.20:9345<br>    option tcplog<br>    mode tcp<br>    default_backend rke2-master-nodes<br> <br>backend rke2-master-nodes<br>    mode tcp<br>    balance roundrobin<br>    option tcp-check<br> server m1.test.local 10.20.20.21:9345 check fall 3 rise 1<br> server m2.test.local 10.20.20.22:9345 check fall 3 rise 1<br> server m3.test.local 10.20.20.23:9345 check fall 3 rise 1<br><br>frontend www-http<br> bind *:80<br> #reqadd X-Forwarded-Proto:\ http<br> default_backend ef_cx-http<br><br>backend ef_cx-http<br> mode http<br> option httpchk HEAD /healthz HTTP/1.0<br> server n1.test.local 10.20.20.31:80 check weight 1 maxconn 1024<br> server n2.test.local 10.20.20.32:80 check weight 1 maxconn 1024<br> server n3.test.local 10.20.20.33:80 check weight 1 maxconn 1024  <br><br>frontend www-https<br> bind *:443 ssl crt /etc/haproxy/certs/tls.pem<br> #reqadd X-Forwarded-Proto:\ https<br> option forwardfor <br> default_backend ef_cx-https  <br><br>backend ef_cx-https<br> mode http<br> option httpchk HEAD /healthz HTTP/1.0<br> server m1.test.local 10.20.20.21:443 check weight 1 maxconn 1024 ssl verify none<br> server m2.test.local 10.20.20.22:443 check weight 1 maxconn 1024 ssl verify none<br> server m3.test.local 10.20.20.23:443 check weight 1 maxconn 1024 ssl verify none<br> server n1.test.local 10.20.20.31:443 check weight 1 maxconn 1024 ssl verify none<br> server n2.test.local 10.20.20.32:443 check weight 1 maxconn 1024 ssl verify none<br> server n3.test.local 10.20.20.33:443 check weight 1 maxconn 1024 ssl verify none</pre><p>We restart this service</p><pre>sudo systemctl restart haproxy<br>sudo systemctl status haproxy</pre><p>Then we try connect IP_address:9000/stats and enterance with username and password</p><p>Press enter or click to view image in full size</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*y4pVOl1Th7nLHI6P.png" /></figure><p>We see the HaProxy UI dashboard.</p><p>Press enter or click to view image in full size</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*1a6J1iTPnTTEhDRF.png" /></figure><p>Now, that’s all, to be continued next article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9885c8301a13" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker Engine and Docker Compose Installation]]></title>
            <link>https://arikanonline.medium.com/docker-engine-and-docker-compose-installation-32bd6492556f?source=rss-a72cfc89eadb------2</link>
            <guid isPermaLink="false">https://medium.com/p/32bd6492556f</guid>
            <dc:creator><![CDATA[Mehmet ARIKAN]]></dc:creator>
            <pubDate>Mon, 11 Aug 2025 05:29:23 GMT</pubDate>
            <atom:updated>2025-08-27T08:37:04.829Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*Nrz5L4IRNQ5uyvbbZggLqg.webp" /></figure><p>Docker is the most popular container platform built to run anywhere<br>Normally, to Run an application we need to set up a lot of thing like operating system, library, dependencies, configuration, etc.<br>In the modern world, we dont need all off thing, because docker runs this application in its own container environments,<br>for this reason the applications called dockerize application have become widespread.</p><p>This article tells to installation of docker engine (docker core component) and docker compose on both Ubuntu and RedHat Linux</p><p>Install Docker Engine on Ubuntu 24.04.2</p><pre>sudo -i<br>sudo apt-get update<br>sudo apt-get install ca-certificates curl<br>sudo install -m 0755 -d /etc/apt/keyrings<br>sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc<br>sudo chmod a+r /etc/apt/keyrings/docker.asc<br>echo \<br>&quot;deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu\<br>$(. /etc/os-release &amp;&amp; echo &quot;$VERSION_CODENAME&quot;) stable&quot; |<br>\ sudo tee /etc/apt/sources.list.d/docker.list &gt; /dev/null<br>sudo apt-get update<br>apt-cache madison docker-ce | awk &#39;{ print $3 }&#39;<br>VERSION_STRING=5:25.0.0-1~ubuntu.22.04~jammy<br>sudo apt-get install docker-ce=$VERSION_STRING docker-ce-cli=$VERSION_STRING containerd.io docker-buildx-plugin docker-compose-plugin<br>sudo docker run hello-world<br>docker version<br>sudo groupadd docker<br>getent group docker<br>systemctl start docker<br>systemctl status docker</pre><p>Install Docker Compose on Ubuntu 24.04.2</p><pre>sudo curl -L &quot; https://github.com/docker/compose/releases/download/1.28.5/docker-compose-$(uname -s)-$(uname -m)&quot; -o /usr/local/bin/docker-compose<br>sudo chmod +x /usr/local/bin/docker-compose<br>docker-compose --version</pre><p>Install Docker Engine on RedHat Linux (RHEL) 9.5</p><pre>sudo dnf -y install dnf-plugins-core<br>sudo dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo<br>dnf list docker-ce --showduplicates | sort -r<br>sudo dnf install docker-ce-27.5.1-1.el9 docker-ce-cli-27.5.1-1.el9 containerd.io docker-buildx-plugin docker-compose-plugin -y<br>docker -v</pre><p>Install Docker Compose on RedHat Linux (RHEL) 9.5</p><pre>VERSION=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r .tag_name)<br>sudo curl -L &quot;https://github.com/docker/compose/releases/download/$VERSION/docker-compose-$(uname -s)-$(uname -m)&quot; -o /usr/local/bin/docker-compose<br>sudo chmod +x /usr/local/bin/docker-compose<br>docker-compose --version</pre><p>That’s all, see you in the next article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=32bd6492556f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Expanding an Existing Disk on Linux]]></title>
            <link>https://arikanonline.medium.com/expanding-an-existing-disk-on-linux-7c0c17ba660d?source=rss-a72cfc89eadb------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c0c17ba660d</guid>
            <dc:creator><![CDATA[Mehmet ARIKAN]]></dc:creator>
            <pubDate>Fri, 08 Aug 2025 06:37:13 GMT</pubDate>
            <atom:updated>2025-08-12T10:58:41.621Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TvtiBsm9V_2pPXr9KJ5lgg.png" /></figure><p>Often, our disk space is not enough for use, and this is usually a disk with all the connection. For this reason we cannot add a new disk, we need to expand disk. This article will instruct the expanding an existing disk on linux.</p><p>First of all, we doing expand an existing disk on virtual environment,</p><p>We check the disk at the operating system layer but we see that the disk is not expanding, because, we need to format disk with below command.</p><pre>fdisk /dev/sdb</pre><p>Then check the disk with below command</p><pre>df -h<br>lsblk</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*q-edy_J1JYehaTbwxPfB_w.png" /></figure><p>This indicates that the disk is formatted But we need to expanding the disk</p><p>We need to see volume group</p><pre>vgs</pre><p>We are extending volme group with formatted disk partition</p><pre>vgextend data /dev/sdb2</pre><p>After we need to see logical volume</p><pre>lvdisplay</pre><p>And we are extending logical volume</p><pre>lvextend -l +100%FREE /dev/data/lvdata</pre><p>Run the below command</p><pre>lsblk</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*-wVof51M9aHjDTIHwkK3tQ.png" /></figure><p>We check the disk at the operating system layer, we see that the extend formatted disk, but we see that the file system is not expanding.</p><pre>df -h</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*-vKwtT0dsjSBkTwrvaS6FA.png" /></figure><p>Run the below command</p><pre>xfs_growfs /dev/data/lvdata</pre><p>Finally we see the extended disk</p><pre>df -h</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*4Hzy-sXLCJOO_Lm3XTjVog.png" /></figure><p>That’s all, see you in the next article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c0c17ba660d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Add A New Disk And Create Partition in Linux]]></title>
            <link>https://arikanonline.medium.com/add-a-new-disk-and-create-partition-in-linux-c4535c251d69?source=rss-a72cfc89eadb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4535c251d69</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[parittion]]></category>
            <dc:creator><![CDATA[Mehmet ARIKAN]]></dc:creator>
            <pubDate>Tue, 05 Aug 2025 18:31:32 GMT</pubDate>
            <atom:updated>2025-08-07T20:42:04.296Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TvtiBsm9V_2pPXr9KJ5lgg.png" /></figure><p>In the Linux universe, sometimes we need to add a disk and it is an independent disk from the operating system directory. This case, first add a new disk on virtual environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-9PLftWOuMlY97mngR4uOQ.png" /></figure><p>After the disk is added, it is listed with the “<em>fdisk</em>” command, we see the whole disk such as “/dev/sda”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5rKFnmbW9JTpuhVYop_n7w.png" /></figure><p>All right, let’s start running the following command</p><pre>fdisk /dev/sdb</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qAtS69CvGyePlv5VoC06Mg.png" /></figure><p>Above, we created a new partition, next we run the following command and see the partitioned disk</p><pre>fdisk -l /dev/sdb</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*90JDe-OAOVUOZGHFjPgqrw.png" /></figure><p>Then we see the same result</p><pre>lsblk</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JV6lGzEVMna3o4Dr8yr99Q.png" /></figure><p>Then we will create the physical volume, volume group and logical volume respectively,</p><p>By the way, below “data” is the volume group name and “lvdata” is logical volume name</p><pre>pvcreate /dev/sdb1<br>vgcreate data /dev/sdb1<br>lvcreate -n lvdata -l +100%FREE data</pre><p>Then we see the same result</p><pre>lsblk</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/917/1*cMGhHqxTbxhBTBVpdo1Siw.png" /></figure><p>Then create file system for “lvdata” logical volume</p><pre>mkfs.xfs /dev/data/lvdata<br>vi /etc/fstab</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7m4PYUAhhJwU83ZqMCeJ0w.png" /></figure><p>Finally, mount directory</p><pre>mount -a<br>df -h</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*dCd0LD0pCpQnYSxdIuG--A.png" /></figure><p>That’s all, see you in the next article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4535c251d69" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install Ubuntu Linux 24.04.2 Server]]></title>
            <link>https://arikanonline.medium.com/install-ubuntu-linux-24-04-2-server-684cbcdb4171?source=rss-a72cfc89eadb------2</link>
            <guid isPermaLink="false">https://medium.com/p/684cbcdb4171</guid>
            <dc:creator><![CDATA[Mehmet ARIKAN]]></dc:creator>
            <pubDate>Tue, 05 Aug 2025 15:44:51 GMT</pubDate>
            <atom:updated>2025-08-06T05:07:27.325Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*84L_y4sxyWo-DzqdzK48dg.png" /></figure><p>Ubuntu Linux is very useful, simple and widespread using operating system in the world wide. This operating system is one of the main Linux distribution. This article tells sample install Ubuntu 24.04.2 Linux version on own on-premise systems.</p><p>First of all we download Ubuntu 24.04.2 package on their web site. After upload to own virtualization or bared metal system.</p><p>Let’s start installation process and power on machine,</p><ol><li>Choose “Try or Install Ubuntu Server” and press Enter, then choose the language and press Enter</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*Ro7oFaIz4z8g30Gutw2GHA.png" /></figure><p>2. Choose keyboard settings and press Enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*0iavHnwUT38HXUUGyZfu6g.png" /></figure><p>3. Choose the “Ubuntu Server” and press Enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*dYYDlEuA8pXyyLRg-7tdoQ.png" /></figure><p>4. It’s important step is the Network Configuration, Step by step Press space or Enter on the network adapter (such as ens3), select “<em>Edit IPv4</em>” and select Manual.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*ntVUHhzZxSyugr0BXY646A.png" /></figure><p>5. On this page, enter the information as shown picture</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*XXbl9zvdpF4u5_jJ-21CEw.png" /></figure><p>6. This field can be left blank, press “<em>Done</em>” button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*VN98dBY3oC9vBGGlgIhxYw.png" /></figure><p>7. Another important step is the storage configuration, first press “<em>Done</em>” with default selection</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*JG78qMXkGNLHGSsWTlUQRA.png" /></figure><p>8. Then, press “<em>Done</em>” with default selection if you are not going to change the disk capacity</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*5DnwaRv2MfHVsb2atuTtTg.png" /></figure><p>9. Next press “<em>Continue</em>” button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*d75-20NGpmj5dLs5KXsMgA.png" /></figure><p>10. On this page, writes Machine/VM name and user information then press th “<em>Done</em>” button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*6s92uG8Ip1DFBy9V_M59Nw.png" /></figure><p>11. Skip this selection and press the “<em>Continue</em>” button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*IFOV4RHClmns_BQmKDlKRQ.png" /></figure><p>12. This field can be left blank, press “<em>Done</em>” button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*O0aNZAY_Od4a95ul50RGfw.png" /></figure><p>9. Finally, press the “<em>Reboot now</em>” button from the end screen</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*2CXsL-3FGB4Uzhr1rNpxOw.png" /></figure><p>In addition to disk configuration, it can be format 40 GB on default installation, but for example we have 100 GB single disk, and we want to using 100 GB what can be do?</p><p>This question of answer is below, first On the “ubuntu-lv” logical volume press “<em>Edit</em>” button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*NnO0uanPT8xlgJ8lXQSAvw.png" /></figure><p>On this page, the maximum value is written in the size stage and “<em>Save</em>” button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*jKUXr0L74kwax-ymXPUMPw.png" /></figure><p>Finally, press “<em>done”</em> button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*g7YeedDG86ej6LzYaohMKg.png" /></figure><p>Congratulations, it proccess was complate. After installation, Use the following command to connect it on the Operating System.</p><pre>sudo -i<br>sudo apt-get update<br>sudo apt-get install openssh-server</pre><p>That’s all. good luck!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=684cbcdb4171" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install RedHat Enterprise Linux (RHEL) 9.5]]></title>
            <link>https://arikanonline.medium.com/install-redhat-enterprise-linux-rhel-9-5-f1d57f5eb9f2?source=rss-a72cfc89eadb------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1d57f5eb9f2</guid>
            <category><![CDATA[redhat-linux]]></category>
            <category><![CDATA[rhel-9]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[operating-systems]]></category>
            <dc:creator><![CDATA[Mehmet ARIKAN]]></dc:creator>
            <pubDate>Sun, 03 Aug 2025 19:06:12 GMT</pubDate>
            <atom:updated>2025-08-06T05:07:50.083Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*L7QFiSqH06i8Hv4IOCKWag.png" /></figure><p>RedHat Enterprise Linux is very useful and widespread using operating system in the world wide. This operating system is one of the main Linux distribution. This article tells sample install RHEL 9.5 version on own on-premise systems.</p><p>First of all we subscribe to RedHat account and download RHEL 9.5 package RedHat web site. After upload to own virtualization or bared metal system.</p><p>Let’s start installation process and power on machine,</p><ol><li>Choose “Install Red Hat Enterprise Linux 9.5” and press Enter, then choose the language and press Continue on the Welcome Screen,</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1TVow2dkflosxCyAGUxZVw.png" /></figure><p>2. We edit the parts marked with red box, such as the keyboard, time&amp;date, network etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XhLl_6Zxy5quTvxKN44gPw.png" /></figure><p>3. It’s important step is the Installation Destination under System heading. First we see the Disk Capacity of 160 GB, but we dont know how much of it’s allocated where. For this reason we choose the Custom and press the Done button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*khqzxrBEFk8Z72L1vuFbcA.png" /></figure><p>4. We choose the “Click here to create them automatically”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I86Njfkv5BXK-Wb1sSy9ag.png" /></figure><p>5. We changed the values as shown in the image below, then press Enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EFESzD4yFQplZ_g6AWdwrQ.png" /></figure><p>6. Press “<em>Accept Change</em>s” button</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_HRlG-S8eKnNpzU0s-yREQ.png" /></figure><p>7. Another important step is the Network and Hostname. First press “<em>Configure</em>” button. A screen opens. Press “Add” button on IPv4 Settings tab. Then press “<em>Save</em>” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*irQrT7VaR7OFxdwkBeV6aw.png" /></figure><p>8. We see as “connected” after configuration, this IP is available now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*esIzwed-k26ksxt6adCUfw.png" /></figure><p>9. If we are connected the internet, register RedHat account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oXNtfG8sJ_3DNHZraV8FOw.png" /></figure><p>10. In the Software Selection step selections are made as in the picture</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*avmIZpc3Fi-Gky6q2XTleg.png" /></figure><p>11. After all the selections have been held, press “<em>Begin Installation</em>” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PoR2h1LmBcOdj7sXMSbQCg.png" /></figure><p>12. Finally this process complated press “<em>Reboot System</em>” button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZvFTYbwI4U3gyue3bFohNg.png" /></figure><p>Congratulations, it proccess was complate</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1d57f5eb9f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>