<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux Archives - Rhein-Ruhr-Informatik</title>
	<atom:link href="https://rhein-ruhr-informatik.de/en/category/articles/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://rhein-ruhr-informatik.de/en/category/articles/linux/</link>
	<description></description>
	<lastbuilddate>Tue, 11 Mar 2025 08:44:41 +0000</lastbuilddate>
	<language>en-US</language>
	<sy:updateperiod>
	hourly	</sy:updateperiod>
	<sy:updatefrequency>
	1	</sy:updatefrequency>
	

<image>
	<url>https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/cropped-favicon-32x32.png</url>
	<title>Linux Archives - Rhein-Ruhr-Informatik</title>
	<link>https://rhein-ruhr-informatik.de/en/category/articles/linux/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Installation von SUSE SLES 15 SP6 in Hyper-V und anschließende Installation von Ansible</title>
		<link>https://rhein-ruhr-informatik.de/en/2025/04/22/installation-von-suse-sles-15-sp6-in-hyper-v-und-anschliessende-installation-von-ansible/</link>
		
		<dc:creator><![CDATA[Rhein-Ruhr-Informatik]]></dc:creator>
		<pubdate>Tue, 22 Apr 2025 09:52:40 +0000</pubdate>
				<category><![CDATA[Artikel]]></category>
		<category><![CDATA[Linux]]></category>
		<guid ispermalink="false">https://rhein-ruhr-informatik.de/?p=541</guid>

					<description><![CDATA[<p>This guide describes the process of installing SUSE Linux Enterprise Server (SLES) 15 SP6 on a Hyper-V virtual machine, followed by the installation of Ansible for automation tasks. The setup includes configuring the virtual machine in Hyper-V, installing SLES from an ISO image, and optionally boosting performance with Hyper-V guest tools.<a class="moretag" href="https://rhein-ruhr-informatik.de/en/2025/04/22/installation-von-suse-sles-15-sp6-in-hyper-v-und-anschliessende-installation-von-ansible/"> Read more&#8230;</a></p>
<p>The post <a href="https://rhein-ruhr-informatik.de/en/2025/04/22/installation-von-suse-sles-15-sp6-in-hyper-v-und-anschliessende-installation-von-ansible/">Installation von SUSE SLES 15 SP6 in Hyper-V und anschließende Installation von Ansible</a> appeared first on <a href="https://rhein-ruhr-informatik.de/en">Rhein-Ruhr-Informatik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This guide covers the process of installing SUSE Linux Enterprise Server (SLES) 15 SP6 on a Hyper-V virtual machine, followed by installing Ansible for automation tasks. The setup includes configuring the virtual machine in Hyper-V, installing SLES from an ISO image, and optionally enhancing performance with Hyper-V guest tools. After completing the OS installation, we activated the SUSE Package Hub repository to access necessary packages and install Ansible using the zypper package manager. This setup results in a fully functional SLES environment within Hyper-V, ready for enterprise automation with Ansible.</p>



<p><strong>Prepare the environment to install the ISO image in the Hyper-V</strong></p>



<p>In my Bare-Metal the Hyper-V hypervisor is already installed. Here you can find the method of installing it:</p>



<p><a href="https://learn.microsoft.com/en-us/training/modules/configure-manage-hyper-v/2-define-hyper-v">https://learn.microsoft.com/en-us/training/modules/configure-manage-hyper-v/2-define-hyper-v</a></p>



<p>So, you need to enable the Hyper-V feature in Windows by executing the command in PowerShell:</p>



<p><code>PS C:\WINDOWS\system32> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All</code></p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img fetchpriority="high" decoding="async" width="715" height="592" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image.png" alt="" class="wp-image-542" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image.png 715w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-300x248.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-14x12.png 14w" sizes="(max-width: 715px) 100vw, 715px" /></figure></div>


<p>After we have successfully installed Hyper-V, it is important to create and configure the virtual network.  To prepare the environment to be able to install SUSE, I used Windows PowerShell to create network adapter using commands:</p>



<ul class="wp-block-list">
<li><code>Get-NetAdapter</code></li>
</ul>



<ul class="wp-block-list">
<li><code>Import-Module Hyper-V</code></li>
</ul>



<ul class="wp-block-list">
<li><code>$ethernet = Get-NetAdapter -Name "Ethernet"</code></li>
</ul>



<ul class="wp-block-list">
<li><code>New-VMSwitch -Name "virtuelles Netzwerk" -NetAdapterName $ethernet.Name -AllowManagementOS $true -Notes "Geteiltes virtuelles Netzwerkinterface</code></li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="761" height="726" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-1.png" alt="" class="wp-image-543" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-1.png 761w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-1-300x286.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-1-13x12.png 13w" sizes="(max-width: 761px) 100vw, 761px" /></figure></div>


<p>The other step is to dedicate the storage space for the SUSE VM. Steps I followed are:</p>



<p>	Create the directory for the SLES:</p>



<figure class="wp-block-image size-full"><img decoding="async" width="936" height="206" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-2.png" alt="" class="wp-image-544" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-2.png 936w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-2-300x66.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-2-768x169.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-2-18x4.png 18w" sizes="(max-width: 936px) 100vw, 936px" /></figure>



<p>I have dedicated 50GB of storage:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="975" height="413" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-3.png" alt="" class="wp-image-545" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-3.png 975w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-3-300x127.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-3-768x325.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-3-18x8.png 18w" sizes="auto, (max-width: 975px) 100vw, 975px" /></figure>



<p>After the environment preparation, we downloaded the SUSE SLE-15-SP6-Full-x86_64-GM-Media1.iso iso image from the SUSE official website: <a href="https://www.suse.com/download/sles/" target="_blank" rel="noreferrer noopener">https://www.suse.com/download/sles/</a> and saved locally:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="314" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-4-1024x314.png" alt="" class="wp-image-546" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-4-1024x314.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-4-300x92.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-4-768x235.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-4-18x6.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-4.png 1090w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Then we continued to install the SUSE over Hyper-V Manager following the steps:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="134" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-5-1024x134.png" alt="" class="wp-image-547" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-5-1024x134.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-5-300x39.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-5-768x101.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-5-18x2.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-5.png 1090w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Select new and then Virtual Computer</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="764" height="591" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-6.png" alt="" class="wp-image-548" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-6.png 764w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-6-300x232.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-6-16x12.png 16w" sizes="auto, (max-width: 764px) 100vw, 764px" /></figure>



<p>Name the VM and continue.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="780" height="591" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-7.png" alt="" class="wp-image-549" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-7.png 780w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-7-300x227.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-7-768x582.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-7-16x12.png 16w" sizes="auto, (max-width: 780px) 100vw, 780px" /></figure>



<p>Select Generation 1 and continue.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="773" height="591" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-8.png" alt="" class="wp-image-550" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-8.png 773w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-8-300x229.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-8-768x587.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-8-16x12.png 16w" sizes="auto, (max-width: 773px) 100vw, 773px" /></figure>



<p>Setting the memory. In our case we have dedicated 4096MB.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="773" height="591" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-9.png" alt="" class="wp-image-551" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-9.png 773w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-9-300x229.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-9-768x587.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-9-16x12.png 16w" sizes="auto, (max-width: 773px) 100vw, 773px" /></figure>



<p>Setting the memory. In our case we have dedicated 4096MB.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="772" height="591" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-10.png" alt="" class="wp-image-552" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-10.png 772w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-10-300x230.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-10-768x588.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-10-16x12.png 16w" sizes="auto, (max-width: 772px) 100vw, 772px" /></figure>



<p>Naming the virtual storage connection, select the path and setting the amount of storage.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="772" height="591" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-11.png" alt="" class="wp-image-553" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-11.png 772w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-11-300x230.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-11-768x588.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-11-16x12.png 16w" sizes="auto, (max-width: 772px) 100vw, 772px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="853" height="252" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-12.png" alt="" class="wp-image-554" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-12.png 853w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-12-300x89.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-12-768x227.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-12-18x5.png 18w" sizes="auto, (max-width: 853px) 100vw, 853px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="53" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-13-1024x53.png" alt="" class="wp-image-555" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-13-1024x53.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-13-300x15.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-13-768x39.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-13-18x1.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-13.png 1089w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>After the configurations above, we started via PowerShell the VM with the command Start-VM -Name “sles”, and the installation began.
The starting installation is shown in this picture below:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="723" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-14.png" alt="" class="wp-image-556" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-14.png 723w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-14-300x270.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-14-13x12.png 13w" sizes="auto, (max-width: 723px) 100vw, 723px" /></figure>



<p>In this image is shown the beginning of the installation.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="820" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-15.png" alt="" class="wp-image-557" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-15.png 820w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-15-300x238.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-15-768x609.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-15-15x12.png 15w" sizes="auto, (max-width: 820px) 100vw, 820px" /></figure>



<p>Initializing Network Configuration.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="756" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-16.png" alt="" class="wp-image-558" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-16.png 756w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-16-300x258.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-16-14x12.png 14w" sizes="auto, (max-width: 756px) 100vw, 756px" /></figure>



<p>It will be updating the Installer…</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="748" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-17.png" alt="" class="wp-image-559" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-17.png 748w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-17-300x261.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-17-14x12.png 14w" sizes="auto, (max-width: 748px) 100vw, 748px" /></figure>



<p>Here we need to set the language and to select the Product.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="738" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-18.png" alt="" class="wp-image-560" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-18.png 738w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-18-300x264.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-18-14x12.png 14w" sizes="auto, (max-width: 738px) 100vw, 738px" /></figure>



<p>We selected German language and the SUSE Linux Enterprise Server 15 SP6.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="737" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-19.png" alt="" class="wp-image-561" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-19.png 737w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-19-300x265.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-19-14x12.png 14w" sizes="auto, (max-width: 737px) 100vw, 737px" /></figure>



<p>Selecting the License agreement and continue.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="729" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-20.png" alt="" class="wp-image-562" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-20.png 729w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-20-300x267.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-20-13x12.png 13w" sizes="auto, (max-width: 729px) 100vw, 729px" /></figure>



<p>Here are some modules I have selected for the late use.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="749" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-21.png" alt="" class="wp-image-563" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-21.png 749w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-21-300x260.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-21-14x12.png 14w" sizes="auto, (max-width: 749px) 100vw, 749px" /></figure>



<p>Installation the Add-On-Products.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="731" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-22.png" alt="" class="wp-image-564" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-22.png 731w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-22-300x267.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-22-13x12.png 13w" sizes="auto, (max-width: 731px) 100vw, 731px" /></figure>



<p>In this case I have selected the HA-Node.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="732" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-23.png" alt="" class="wp-image-565" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-23.png 732w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-23-300x266.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-23-14x12.png 14w" sizes="auto, (max-width: 732px) 100vw, 732px" /></figure>



<p>This is how the partitioning looks like.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="722" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-24.png" alt="" class="wp-image-566" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-24.png 722w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-24-300x270.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-24-13x12.png 13w" sizes="auto, (max-width: 722px) 100vw, 722px" /></figure>



<p>Setting the time zone and continue.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="727" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-26.png" alt="" class="wp-image-568" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-26.png 727w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-26-300x268.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-26-13x12.png 13w" sizes="auto, (max-width: 727px) 100vw, 727px" /></figure>



<p>Setting the local username and password.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="713" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-27.png" alt="" class="wp-image-569" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-27.png 713w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-27-300x273.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-27-13x12.png 13w" sizes="auto, (max-width: 713px) 100vw, 713px" /></figure>



<p>Continue with installation.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="719" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-28.png" alt="" class="wp-image-570" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-28.png 719w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-28-300x271.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-28-13x12.png 13w" sizes="auto, (max-width: 719px) 100vw, 719px" /></figure>



<p>Confirming the installation.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="760" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-29.png" alt="" class="wp-image-571" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-29.png 760w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-29-300x257.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-29-14x12.png 14w" sizes="auto, (max-width: 760px) 100vw, 760px" /></figure>



<p>Installation process…</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="672" height="650" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-30.png" alt="" class="wp-image-572" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-30.png 672w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-30-300x290.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-30-12x12.png 12w" sizes="auto, (max-width: 672px) 100vw, 672px" /></figure>



<p>To be able to start with a new SUSE VM, we have selected the Boot Linux System.</p>



<p><strong>Activating the SUSE GNOME Desktop</strong></p>



<p>To be able to use SUSE GUI we need to install the GNOME desktop packages showing below:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="26" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-31-1024x26.png" alt="" class="wp-image-573" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-31-1024x26.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-31-300x8.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-31-768x20.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-31-18x1.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-31.png 1089w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Then installing GNOME desktop pattern:</p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="725" height="34" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-32.png" alt="" class="wp-image-574" style="width:538px;height:auto" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-32.png 725w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-32-300x14.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-32-18x1.png 18w" sizes="auto, (max-width: 725px) 100vw, 725px" /></figure>



<p>And we need to system target to graphical.target</p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="813" height="34" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-33.png" alt="" class="wp-image-575" style="width:568px;height:auto" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-33.png 813w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-33-300x13.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-33-768x32.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-33-18x1.png 18w" sizes="auto, (max-width: 813px) 100vw, 813px" /></figure>



<p>SUSE GUI image Is shown below:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="465" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-34-1024x465.png" alt="" class="wp-image-576" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-34-1024x465.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-34-300x136.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-34-768x349.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-34-18x8.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-34.png 1088w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p><strong>Register the SUSE VM for accessing repositories including Package Hub</strong></p>



<p>To be able to install the packages we need, it is important to register our system on SUSE Customer Center and get the registration code. SUSE offers a two-month free subscription code.</p>



<p>In the image below showing the repositories which are not activated:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="924" height="236" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-35.png" alt="" class="wp-image-577" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-35.png 924w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-35-300x77.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-35-768x196.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-35-18x5.png 18w" sizes="auto, (max-width: 924px) 100vw, 924px" /></figure>



<p>After Subscription evaluation we can find the registration code to be able to access the SUSE repository.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="342" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-36-1024x342.png" alt="" class="wp-image-578" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-36-1024x342.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-36-300x100.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-36-768x256.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-36-18x6.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-36.png 1090w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Now we can follow the steps of how to register our system with the registration using the command:</p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="709" height="27" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-37.png" alt="" class="wp-image-579" style="width:540px;height:auto" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-37.png 709w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-37-300x11.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-37-18x1.png 18w" sizes="auto, (max-width: 709px) 100vw, 709px" /></figure>



<p>Then we can enable the Base-system Module repository:</p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="944" height="31" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-38.png" alt="" class="wp-image-580" style="width:609px;height:auto" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-38.png 944w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-38-300x10.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-38-768x25.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-38-18x1.png 18w" sizes="auto, (max-width: 944px) 100vw, 944px" /></figure>



<p>And after enabling the repositor, we refresh them to update the metadata:</p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="445" height="33" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-39.png" alt="" class="wp-image-581" style="width:306px;height:auto" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-39.png 445w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-39-300x22.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-39-18x1.png 18w" sizes="auto, (max-width: 445px) 100vw, 445px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="120" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-40-1024x120.png" alt="" class="wp-image-582" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-40-1024x120.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-40-300x35.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-40-768x90.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-40-18x2.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-40.png 1089w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>All repositories have been refreshed</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="224" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-41-1024x224.png" alt="" class="wp-image-583" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-41-1024x224.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-41-300x66.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-41-768x168.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-41-18x4.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-41.png 1089w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>With the command we can see repositories status.</p>



<p><code>zypper repos | egrep -E “Yes”</code></p>



<p></p>



<p><strong>Ansible installation in SLES 15 SP6</strong></p>



<p>We can install ansible in SLES 15 SP6 using package-hub repository:</p>



<p><a href="https://packagehub.suse.com/search/?q=ansible">https://packagehub.suse.com/search/?q=ansible</a></p>



<p>Before going to install it, possible we need to check which SUSE service-pack version is installed in our environment.</p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="811" height="306" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-42.png" alt="" class="wp-image-584" style="width:567px;height:auto" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-42.png 811w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-42-300x113.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-42-768x290.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-42-18x7.png 18w" sizes="auto, (max-width: 811px) 100vw, 811px" /></figure>



<p>And then finding the right ansible release version in the web-page <a href="https://packagehub.suse.com/packages/ansible/">https://packagehub.suse.com/packages/ansible/</a></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="87" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-43-1024x87.png" alt="" class="wp-image-585" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-43-1024x87.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-43-300x25.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-43-768x65.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-43-18x2.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-43.png 1088w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Check for the connection status.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="154" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-44-1024x154.png" alt="" class="wp-image-586" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-44-1024x154.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-44-300x45.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-44-768x116.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-44-18x3.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-44.png 1088w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Zypper-Update</p>



<p>We need to check if the Package_Hub is activated with the command  shown below:</p>



<p><code>zypper lr -u | egrep -E “Package_Hub”</code></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="250" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-45-1024x250.png" alt="" class="wp-image-587" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-45-1024x250.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-45-300x73.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-45-768x188.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-45-18x4.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-45.png 1089w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>If it’s not, we can do it as it is shown:</p>



<figure class="wp-block-image size-full is-resized"><img loading="lazy" decoding="async" width="752" height="236" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-46.png" alt="" class="wp-image-588" style="width:556px;height:auto" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-46.png 752w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-46-300x94.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-46-18x6.png 18w" sizes="auto, (max-width: 752px) 100vw, 752px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="382" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-47-1024x382.png" alt="" class="wp-image-589" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-47-1024x382.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-47-300x112.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-47-768x286.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-47-18x7.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-47.png 1089w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>We can search for ansible with the command in the image above.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1009" height="685" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-48.png" alt="" class="wp-image-590" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-48.png 1009w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-48-300x204.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-48-768x521.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-48-18x12.png 18w" sizes="auto, (max-width: 1009px) 100vw, 1009px" /></figure>



<p>Here we can see that ansible with the status “not installed”</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="339" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-49-1024x339.png" alt="" class="wp-image-591" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-49-1024x339.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-49-300x99.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-49-768x255.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-49-18x6.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-49.png 1089w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Starting the ansible installation. After the installation we can check the version:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="188" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-50-1024x188.png" alt="" class="wp-image-592" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-50-1024x188.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-50-300x55.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-50-768x141.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-50-18x3.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-50.png 1090w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>And, like this to see the Status:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1008" height="644" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-51.png" alt="" class="wp-image-593" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-51.png 1008w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-51-300x192.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-51-768x491.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-51-18x12.png 18w" sizes="auto, (max-width: 1008px) 100vw, 1008px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="190" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-52-1024x190.png" alt="" class="wp-image-594" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-52-1024x190.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-52-300x56.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-52-768x142.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-52-18x3.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/11/image-52.png 1089w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<p><strong>Conclusion</strong></p>



<p>This article provides a comprehensive guide for IT administrators seeking to streamline their operations and improve efficiency by integrating SUSE Linux Enterprise Server (SLES) and Ansible in virtualized environments. By leveraging the powerful automation capabilities of Ansible, IT teams can automate various tasks, such as provisioning, configuration, and deployment, significantly reducing manual effort and potential human error. The article delves into specific use cases and best practices, making it a valuable resource for enterprises of all sizes looking to modernize their IT infrastructure and achieve greater agility.</p>



<p></p><p>The post <a href="https://rhein-ruhr-informatik.de/en/2025/04/22/installation-von-suse-sles-15-sp6-in-hyper-v-und-anschliessende-installation-von-ansible/">Installation von SUSE SLES 15 SP6 in Hyper-V und anschließende Installation von Ansible</a> appeared first on <a href="https://rhein-ruhr-informatik.de/en">Rhein-Ruhr-Informatik</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Standard-Ubuntu-virtuelles LVM in Hyper-V erweitern</title>
		<link>https://rhein-ruhr-informatik.de/en/2025/04/07/standard-ubuntu-virtuelles-lvm-in-hyper-v-erweitern/</link>
		
		<dc:creator><![CDATA[Rhein-Ruhr-Informatik]]></dc:creator>
		<pubdate>Mon, 07 Apr 2025 08:14:01 +0000</pubdate>
				<category><![CDATA[Artikel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>
		<guid ispermalink="false">https://rhein-ruhr-informatik.de/?p=498</guid>

					<description><![CDATA[<p>Prior to commencing the expansion process, it is imperative to comprehend that extending a virtual disk within the Hyper-V environment entails augmenting its allocated capacity. This action does not inherently result in the automatic population of the supplementary space with data. To effectively utilize the additional storage, it is necessary to manually extend the virtual machine's partitions and file systems, thereby enabling them to occupy the newly allocated space.<a class="moretag" href="https://rhein-ruhr-informatik.de/en/2025/04/07/standard-ubuntu-virtuelles-lvm-in-hyper-v-erweitern/"> Read more&#8230;</a></p>
<p>The post <a href="https://rhein-ruhr-informatik.de/en/2025/04/07/standard-ubuntu-virtuelles-lvm-in-hyper-v-erweitern/">Standard-Ubuntu-virtuelles LVM in Hyper-V erweitern</a> appeared first on <a href="https://rhein-ruhr-informatik.de/en">Rhein-Ruhr-Informatik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="910" height="910" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-40.png" alt="" class="wp-image-501" style="width:185px;height:auto" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-40.png 910w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-40-300x300.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-40-150x150.png 150w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-40-768x768.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-40-12x12.png 12w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-40-50x50.png 50w" sizes="auto, (max-width: 910px) 100vw, 910px" /></figure></div>


<h2 class="wp-block-heading"><strong>Overview</strong></h2>



<p>Prior to commencing the expansion process, it is imperative to comprehend that extending a virtual disk within the Hyper-V environment entails augmenting its allocated capacity. This action does not inherently result in the automatic population of the supplementary space with data. To effectively utilize the additional storage, it is necessary to manually extend the virtual machine's partitions and file systems, thereby enabling them to occupy the newly allocated space.</p>



<p>Before we dive into the steps, let's clarify why we might want to expand a Hyper-V VM's hard disk. This action is typically necessary when the virtual machine's existing storage capacity is insufficient to accommodate growing data or applications.</p>



<h2 class="wp-block-heading"><br><strong>Access Hyper-V Manager</strong></h2>



<p><strong>Windows 10/11:</strong> Search for "Hyper-V Manager" in the Start menu and open it.</p>



<p>First we need to shutdown the server:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="634" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-65-1024x634.png" alt="" class="wp-image-602" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-65-1024x634.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-65-300x186.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-65-768x475.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-65-18x12.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-65.png 1087w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>On the virtual computer we click on the settings to configure the disk:</p>



<p>Under the Hardware menu we select the storage and on the right hand side we click on the Edit button to be able to continue this the next steps.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="936" height="882" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-66.png" alt="" class="wp-image-604" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-66.png 936w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-66-300x283.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-66-768x724.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-66-13x12.png 13w" sizes="auto, (max-width: 936px) 100vw, 936px" /></figure>



<p><br>On the left hand side screen we select the Action, select Expand and then Continue:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="974" height="738" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-67.png" alt="" class="wp-image-605" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-67.png 974w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-67-300x227.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-67-768x582.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-67-16x12.png 16w" sizes="auto, (max-width: 974px) 100vw, 974px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="885" height="674" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-68.png" alt="" class="wp-image-606" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-68.png 885w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-68-300x228.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-68-768x585.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-68-16x12.png 16w" sizes="auto, (max-width: 885px) 100vw, 885px" /></figure>



<p><br>As we see in the picture below under the Configure Data in the right-hand side there are 50GB. Here we can increase the size of the storage.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="774" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-69-1024x774.png" alt="" class="wp-image-607" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-69-1024x774.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-69-300x227.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-69-768x581.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-69-16x12.png 16w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-69.png 1090w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>It is increased to 60GB as shown in the picture below:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="780" height="309" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-70.png" alt="" class="wp-image-608" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-70.png 780w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-70-300x119.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-70-768x304.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-70-18x7.png 18w" sizes="auto, (max-width: 780px) 100vw, 780px" /></figure>



<p><br>After clickin OK, we have this picture in which we click again OK.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="976" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-71-1024x976.png" alt="" class="wp-image-609" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-71-1024x976.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-71-300x286.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-71-768x732.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-71-13x12.png 13w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-71.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>I have started the virtual machine:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="347" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-72-1024x347.png" alt="" class="wp-image-610" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-72-1024x347.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-72-300x102.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-72-768x260.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-72-18x6.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-72.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>After this steps in Hyper-V Manager, we start the virtual machine and going to extend LVM.</p>



<p>Via Putty tool we have to access our virtual machine:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="702" height="692" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-73.png" alt="" class="wp-image-611" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-73.png 702w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-73-300x296.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-73-12x12.png 12w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-73-50x50.png 50w" sizes="auto, (max-width: 702px) 100vw, 702px" /></figure>



<p><br>Start by checking your root filesystem free space with df -hT. Our root disc is 62%. Now we gonna follow the steps to allocate 10 more GB to increase the percentage of our filesystem.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="431" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-74-1024x431.png" alt="" class="wp-image-612" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-74-1024x431.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-74-300x126.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-74-768x323.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-74-18x8.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-74.png 1094w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>We enter the following commands <strong><code>parted -l</code></strong> adm type <strong><code>Fix</code></strong> to display the list of disks and partitions:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="651" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-75-1024x651.png" alt="" class="wp-image-613" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-75-1024x651.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-75-300x191.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-75-768x488.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-75-18x12.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-75.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>In the picture below we see that there is an error named: <strong><code>GPT PMBR size mismatch</code></strong>First we can fix it by typing the command correctin the error.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="423" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-76-1024x423.png" alt="" class="wp-image-614" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-76-1024x423.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-76-300x124.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-76-768x318.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-76-18x7.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-76.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>Now everything sims to be fine.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="409" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-77-1024x409.png" alt="" class="wp-image-615" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-77-1024x409.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-77-300x120.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-77-768x307.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-77-18x7.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-77.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>Now we can continue to extend our logical volume on /dev/sda3 filesystem as shown below:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="424" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-78-1024x424.png" alt="" class="wp-image-616" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-78-1024x424.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-78-300x124.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-78-768x318.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-78-18x7.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-78.png 1085w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>First we use the command fdisk /dev/sda and continue with the other command showing below.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="634" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-79-1024x634.png" alt="" class="wp-image-617" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-79-1024x634.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-79-300x186.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-79-768x475.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-79-18x12.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-79.png 1092w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Now it is required to reboot the system</p>



<p>To check for existing free space on your Volume Group (where it is left by the installer default settings), run the command <strong><code>vgdisplay</code> </strong>and<strong> <code>lvdisplay</code> </strong>check for free space.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="876" height="619" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-80.png" alt="" class="wp-image-618" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-80.png 876w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-80-300x212.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-80-768x543.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-80-18x12.png 18w" sizes="auto, (max-width: 876px) 100vw, 876px" /></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="927" height="513" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-81.png" alt="" class="wp-image-619" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-81.png 927w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-81-300x166.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-81-768x425.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-81-18x10.png 18w" sizes="auto, (max-width: 927px) 100vw, 927px" /></figure>



<p><br>After the computer has been restarted, we can use the command<br><strong><code>lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv</code></strong><br>to extend the partition.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="121" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-82-1024x121.png" alt="" class="wp-image-620" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-82-1024x121.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-82-300x35.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-82-768x91.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-82-18x2.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-82.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>At this point you have increased the size of the block volume where your root filesystem resides, but you still need to extend the filesystem on top of it. First, run <strong><code>lsblk</code></strong> aus:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="487" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-83-1024x487.png" alt="" class="wp-image-621" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-83-1024x487.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-83-300x143.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-83-768x365.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-83-18x9.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-83.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>To verify our root file system, then run<br><strong><code>resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv</code></strong><br>to extend our filesystem:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="474" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-84-1024x474.png" alt="" class="wp-image-622" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-84-1024x474.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-84-300x139.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-84-768x356.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-84-18x8.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-84.png 1093w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>Now as we see our LVM's size has increased to 48GB.</p>



<h2 class="wp-block-heading"><br><strong>Conclusion</strong></h2>



<p><br>Overall, this guide provides a step-by-step process for expanding a Hyper-V VM's disk, addressing common challenges and ensuring optimal storage utilization</p><p>The post <a href="https://rhein-ruhr-informatik.de/en/2025/04/07/standard-ubuntu-virtuelles-lvm-in-hyper-v-erweitern/">Standard-Ubuntu-virtuelles LVM in Hyper-V erweitern</a> appeared first on <a href="https://rhein-ruhr-informatik.de/en">Rhein-Ruhr-Informatik</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Jenkins auf Ubuntu 22.04 LTS installieren und einige Administrationsaufgaben</title>
		<link>https://rhein-ruhr-informatik.de/en/2025/03/01/jenkins-auf-ubuntu-22-04-lts-installieren-und-einige-administrationsaufgaben/</link>
		
		<dc:creator><![CDATA[Rhein-Ruhr-Informatik]]></dc:creator>
		<pubdate>Sat, 01 Mar 2025 16:51:43 +0000</pubdate>
				<category><![CDATA[Artikel]]></category>
		<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Linux]]></category>
		<guid ispermalink="false">https://rhein-ruhr-informatik.de/?p=454</guid>

					<description><![CDATA[<p>Übersicht Jenkins ist eine äußerst beliebte Open-Source-Webanwendung, die entwickelt wurde, um den Softwareentwicklungsprozess zu rationalisieren und zu automatisieren. Es ist ein Eckpfeiler für Continuous Integration (CI) und Continuous Delivery (CD)-Pipelines und ermöglicht es Entwicklern und DevOps-Teams, Anwendungen effizient zu erstellen, zu testen und bereitzustellen. Jenkins installieren&#160;&#160;&#160;&#160;&#160; Es gibt viele Methoden,<a class="moretag" href="https://rhein-ruhr-informatik.de/en/2025/03/01/jenkins-auf-ubuntu-22-04-lts-installieren-und-einige-administrationsaufgaben/"> Read more&#8230;</a></p>
<p>The post <a href="https://rhein-ruhr-informatik.de/en/2025/03/01/jenkins-auf-ubuntu-22-04-lts-installieren-und-einige-administrationsaufgaben/">Jenkins auf Ubuntu 22.04 LTS installieren und einige Administrationsaufgaben</a> appeared first on <a href="https://rhein-ruhr-informatik.de/en">Rhein-Ruhr-Informatik</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="408" height="389" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-17.png" alt="" class="wp-image-455" style="width:306px;height:auto" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-17.png 408w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-17-300x286.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-17-13x12.png 13w" sizes="auto, (max-width: 408px) 100vw, 408px" /></figure></div>


<p><strong>Overview</strong></p>



<p>Jenkins is a highly popular open-source web application designed to streamline and automate the software development process. It's a cornerstone tool for Continuous Integration (CI) and Continuous Delivery (CD) pipelines, allowing developers and DevOps teams to build, test, and deploy applications efficiently.<strong>.</strong></p>



<p><strong>Installing Jenkins&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong></p>



<p>There are many methods to install Jenkins in Ubuntu. Before we go to install Jenkins, we need to have already installed Java JRE (Java Runtime Environment). OpenJDK is an open-source implementation of the Java Platform It provides the core components necessary for running Java applications.</p>



<p>We will work on Ubuntu-22.04 version:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1019" height="322" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-8.png" alt="" class="wp-image-774" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-8.png 1019w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-8-300x95.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-8-768x243.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-8-18x6.png 18w" sizes="auto, (max-width: 1019px) 100vw, 1019px" /></figure>



<p>Let’s install OpenJDK-11 release. The steps to install this distribution in our system via putty interface. 
We going to download the file OpenJDK-11 as archived file from the official website [<a href="https://jdk.java.net/archive/" target="_blank" rel="noreferrer noopener">https://jdk.java.net/archive/</a>] locally,</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="992" height="558" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-18.png" alt="" class="wp-image-456" style="width:742px;height:auto" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-18.png 992w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-18-300x169.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-18-768x432.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-18-18x10.png 18w" sizes="auto, (max-width: 992px) 100vw, 992px" /><figcaption class="wp-element-caption"><em>OpenJDK download</em></figcaption></figure></div>


<p>Then via WinSCP app we can access our Linux (Ubuntu) environment to transfer it as Binary file.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="522" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-19-1024x522.png" alt="" class="wp-image-457" style="width:792px;height:auto" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-19-1024x522.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-19-300x153.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-19-768x392.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-19-18x9.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-19.png 1086w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption"><em>OpenJDK file transfer</em></figcaption></figure></div>


<p>After we have the archive file in our environment, we need first to extract it via cli.</p>



<p><strong>tar -xvzf openjdk-17.0.1_linux-x64_bin.tar.gz</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="62" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-9-1024x62.png" alt="" class="wp-image-776" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-9-1024x62.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-9-300x18.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-9-768x47.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-9-18x1.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-9.png 1090w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>As we have the file in just read and write permission, we are going to give it the execute permission like:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="54" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-10-1024x54.png" alt="" class="wp-image-777" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-10-1024x54.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-10-300x16.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-10-768x41.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-10-18x1.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-10.png 1090w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Then when we list, it gives:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="66" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-11-1024x66.png" alt="" class="wp-image-778" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-11-1024x66.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-11-300x19.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-11-768x49.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-11-18x1.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-11.png 1090w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Jetzt können wir OpenJDK-17 mit dem folgenden Befehl installieren:</p>



<p><strong>sudo apt install openjdk-17-jdk -y</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="167" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-12-1024x167.png" alt="" class="wp-image-780" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-12-1024x167.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-12-300x49.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-12-768x125.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-12-18x3.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-12.png 1090w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>Da jedoch OpenJDK-17 bereits in meiner Umgebung installiert ist, wird die neueste Version angezeigt.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="85" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-13-1024x85.png" alt="" class="wp-image-781" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-13-1024x85.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-13-300x25.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-13-768x64.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-13-18x2.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-13.png 1090w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<pre class="wp-block-code"><code></code></pre>



<p>After Installation we check if the Jenkins service is active.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="220" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-14-1024x220.png" alt="" class="wp-image-782" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-14-1024x220.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-14-300x64.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-14-768x165.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-14-18x4.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2025/03/image-14.png 1090w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<pre class="wp-block-code"><code>  
  root@master:/home/bekber1# systemctl
  status jenkins
  ● jenkins.service
  - Jenkins Continuous Integration Server
  &nbsp;&nbsp;&nbsp;&nbsp;
  Loaded: loaded (/lib/systemd/system/jenkins.service; enabled; vendor
  preset: enabled)
  &nbsp;&nbsp;&nbsp;&nbsp;
  Active: active (running) since Tue 2024-09-03 06:34:13 UTC; 2h 58min
  ago
  &nbsp;&nbsp;
  Main PID: 18413 (java)
  &nbsp;&nbsp;&nbsp;&nbsp;
  &nbsp;Tasks: 63 (limit: 2178)
  &nbsp;&nbsp;&nbsp;&nbsp;
  Memory: 791.1M
  &nbsp;&nbsp;&nbsp;&nbsp;
  CGroup: /system.slice/jenkins.service
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; └─18413 /usr/bin/java
  -Djava.awt.headless=true -jar /usr/share/java/jenkins.war
  --webroot=/var/cache/jenkins/war --httpPort=xxx
  
</code></pre>



<p>So, we can see that Jenkins service is Active.
Now to be able to access the Jenkins from the web browser we need to setting up the default UFW firewall.</p>



<p>Open port 8080 by running the following commands:</p>



<pre class="wp-block-code"><code> 
  root@master:/home/bekber1#
  ufw allow 8080
  Rule
  added
  Rule
  added (v6)
  &nbsp;
  root@master:/home/bekber1#
  ufw status
  Status:
  active<span style="color:red;mso-ansi-language:EN-US"></span>
 </code></pre>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="846" height="642" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-24.png" alt="" class="wp-image-462" style="width:660px;height:auto" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-24.png 846w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-24-300x228.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-24-768x583.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-24-16x12.png 16w" sizes="auto, (max-width: 846px) 100vw, 846px" /></figure></div>


<p>In the putty cli we use the command to get the admin password:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="28" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-25-1024x28.png" alt="" class="wp-image-463" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-25-1024x28.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-25-300x8.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-25-768x21.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-25-18x1.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-25.png 1089w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>We copy the password provided by default and paste it in the filed shown in the picture above and then click Continue button. After this we getting started:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="940" height="702" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-26.png" alt="" class="wp-image-464" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-26.png 940w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-26-300x224.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-26-768x574.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-26-16x12.png 16w" sizes="auto, (max-width: 940px) 100vw, 940px" /></figure>



<p>After the installation and configuration, we must create our first Admin user as show in the picture below:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="896" height="639" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-27.png" alt="" class="wp-image-465" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-27.png 896w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-27-300x214.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-27-768x548.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-27-18x12.png 18w" sizes="auto, (max-width: 896px) 100vw, 896px" /></figure>



<p>Now we can click Save and Continue and then getting the Jenkins URL as shown below:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="881" height="611" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-28.png" alt="" class="wp-image-466" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-28.png 881w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-28-300x208.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-28-768x533.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-28-18x12.png 18w" sizes="auto, (max-width: 881px) 100vw, 881px" /></figure>



<p>Now Jenkins is ready, and we can start and using it.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="331" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-30-1024x331.png" alt="" class="wp-image-468" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-30-1024x331.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-30-300x97.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-30-768x248.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-30-18x6.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-30.png 1089w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption"><em>start with Jenkins</em></figcaption></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="297" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-31-1024x297.png" alt="" class="wp-image-469" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-31-1024x297.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-31-300x87.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-31-768x223.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-31-18x5.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-31.png 1090w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption"><em>Login</em></figcaption></figure></div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="279" src="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-32-1024x279.png" alt="" class="wp-image-470" srcset="https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-32-1024x279.png 1024w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-32-300x82.png 300w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-32-768x209.png 768w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-32-18x5.png 18w, https://rhein-ruhr-informatik.de/wp-content/uploads/2024/10/image-32.png 1090w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption"><em>Jenkins-Dashboard</em></figcaption></figure></div>


<p>How to change Jenkins Administrator password if we lost it:</p>



<p>If we forget the Jenkins Admin password for web browser, to reset it we should follow the steps as below:</p>



<p>First, we need to find where is the config.xml file is located in:</p>



<pre class="wp-block-code"><code>root@master:/home/bekber1# cd /var/lib/jenkins/ </code></pre>



<p>First, we need to find where is the config.xml file is located in:</p>



<pre class="wp-block-code"><code>root@master:/var/lib/jenkins# vim config.xml</code></pre>



<p>So, concatonating this file in cli you can see inside the line named: <code>"&lt;useSecurity&gt;true&lt;/useSecurity&gt;"</code> We change it from<strong>true</strong>to<strong>false</strong>and we restart the Jenkins service afterwards like:</p>



<p><code>systemctl restart jenkins&nbsp;</code></p>



<p>After these steps we refresh the web browser page and we will get inside the Jenkins page to make the changes because it is unsecured.</p>



<p>First step is to choose the<strong>Manage Jenkins</strong>and after we click on<strong>Security Realm</strong>&#8220; &#8222;<strong>Jenkins&#8216; own user database</strong>. We save it and close.</p>



<p>After this we can go to the under<strong>Manage Jenkins</strong>&#8220; -&gt; &#8222;<strong>Security</strong>&#8220; -&gt; &#8222;<strong>Users</strong>we click on<strong>Settings</strong>click and under<strong>Password</strong>we change the password.</p>



<p><strong>How-create-agent-for-built-in-node</strong></p>



<p>In Jenkins, agents are essential for executing build jobs. Steps that we should follow are:</p>



<p>We have to configuring .ssh inside the /var/lib/jenkins/.ssh/known_host</p>



<p>- we create the folder named .ssh</p>



<pre class="wp-block-code"><code>root@master:/var/lib/jenkins#mkdir -p /var/lib/jenkins/.ssh
root@master:/var/lib/jenkins# chown -R jenkins:jenkins .ssh
root@master:/var/lib/jenkins#ssh-keyscan -H agent1 &gt;&gt; /var/lib/jenkins/.ssh/known_host

</code></pre>



<p>If doesn't work as e.g.</p>



<pre class="wp-block-code"><code>root@master:/etc/ssh# ssh-keyscan -H agent1 &gt;&gt; /var/lib/jenkins/.ssh/known_hosts
getaddrinfo agent1: Temporary failure in name resolution
getaddrinfo agent1: Temporary failure in name resolution
getaddrinfo agent1: Temporary failure in name resolution
getaddrinfo agent1: Temporary failure in name resolution
getaddrinfo agent1: Temporary failure in name resolution

</code></pre>



<p>we need to add agent1 server ip in the <code>/etc/hosts</code>-Datei hinzufügen.&nbsp;</p>



<p>To find the agent1 ip address, we use the command:</p>



<pre class="wp-block-code"><code>root@master:/etc/ssh# dig agent1
 
; &lt;&lt;&gt;&gt; DiG 9.16.48-Ubuntu &lt;&lt;&gt;&gt; agent1
;; global options: +cmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: SERVFAIL, id: 15329
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
 
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;agent1.                                IN      A
 ;; Query time: 0 msec
;; SERVER: &lt;MyIpAddress&gt;#53(&lt;MyIpAddress&gt;)
;; WHEN: Sun Mar 10 10:33:06 UTC 2024
;; MSG SIZE  rcvd: 35

</code></pre>



<p>and edit the /etc/hosts with the nano editor like:</p>



<pre class="wp-block-code"><code>root@master:/etc# cat hosts
&lt;MyIpAddress&gt;localhost
&lt;MyIpAddress&gt;linux-0
&lt;MyIpAddress&gt;master
&lt;MyIpAddress&gt;node1
&lt;MyIpAddress&gt;node2
&lt;MyIpAddress&gt; agent1    ----------&gt; mit dem Nano- oder Vim-Editor müssen wir die IP-Adresse von agent1 hinzufügen.
/etc/hosts
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
</code></pre>



<p>Nach Ausführung des Befehls ssh-keyscan -H agent1 &gt;&gt; /var/lib/jenkins/.ssh/known_hosts erhalten wir die Auflösung:</p>



<pre class="wp-block-code"><code>root@master:/etc# ssh-keyscan -H agent1 &gt;&gt; /var/lib/jenkins/.ssh/known_hosts
# agent1:22 SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11
# agent1:22 SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11
# agent1:22 SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11
# agent1:22 SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11
# agent1:22 SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.11
</code></pre>



<p>Jenkins agent1 in port 22 is resolved:</p>



<pre class="wp-block-code"><code>root@master:/etc# cd /var/lib/jenkins/.ssh/
root@master:/var/lib/jenkins/.ssh# ll
total 12
drwxr-xr-x  2 jenkins jenkins 4096 Mar 10 10:11 ./
drwxr-xr-x 15 jenkins jenkins 4096 Mar 10 10:05 ../
-rw-r--r--  1 jenkins jenkins  978 Mar 10 10:36 known_hosts

root@master:/var/lib/jenkins/.ssh# cat known_hosts
|1|UMnpRmZeDMTxf8bAmPYanyzeE54=|C7tpVgwzVbu7FDJG4fUiDVN3L4I= ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAunO9x3A5IInM2Qqqf4wwWBEokfH8pRiMVcrjNTNn7hCZrgi75hbRbV+dG8hy2xhUtDlywP0k0S/+qpSwoVd7E=
|1|nPGx2tNNjsRAU6ZYf7UqlI1iGcM=|TqWQT18KAS56FgREOVEfVUvvILQ= ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDTy0gPfw8tQ7T2VkFlp82regznVnrZx7tlsgLqlOWVqzhCPrA4/V0DlOsHRjDKUFNnrH+LgOSSAmZwqRrHYyy6Oe+BkmXU4v5a8oZPA1xYRSL/Q1YDYhiMeySilDDzUQwy6HqcmlpPHdPFsl/S/vQIoCAlP5PbS9/GYXILJJj2bxVjqq/nWeC3QywDsoch02XxPpQORk3qFPKDAbc8AWn26v/zHXFgjEig0vW+el1gjkKe8scNTvjVhRot31gD3SdM39SpEspD+Unkw0EhI60hnQeZjiunRUM9/Za2sw3cFGOCXOySDPrkZ2mm10geTZVDF4JTm+pdsv8cmLOUSooRWg+t8R6MK7ZDmeW1aRScpy5R8je0fuGU7XX/P+RNs27TFJQevE0EwWcTYMtBMQunuuqGFBVUBIOMZzwKeipojx9mGXhDp+TiHsQRXq/9nIOdiDfrub658RUJBgZsaX7fAsnnMMbjf0qBSXdikNoQHm+SrvxI4I7L7XawidSqWkU=
|1|1JIhNCOumg+yjaTgMMYtcGAkC6o=|B/ZgF81ZU+t+8AbByBU3hwp68X0= ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFLr95lmAUl1k0+zxfhzG4B9fvrvPtddpxOCII+abRfO

root@master:/var/lib/jenkins/.ssh#
</code></pre>



<p>Jenkins-Logs:</p>



<pre class="wp-block-code"><code>Warning: no key algorithms provided; JENKINS-42959 disabled
SSHLauncher{host='agent1', port=22, credentialsId='linux-0', jvmOptions='', javaPath='', prefixStartSlaveCmd='', suffixStartSlaveCmd='', launchTimeoutSeconds=60, maxNumRetries=10, retryWaitTime=15, sshHostKeyVerificationStrategy=hudson.plugins.sshslaves.verifiers.KnownHostsFileKeyVerificationStrategy, tcpNoDelay=true, trackCredentials=true}
&#91;03/10/24 10:43:30] &#91;SSH] Opening SSH connection to agent1:22.
Searching for agent1 in /var/lib/jenkins/.ssh/known_hosts
Searching for agent1:22 in /var/lib/jenkins/.ssh/known_hosts
&#91;03/10/24 10:43:30] &#91;SSH] SSH host key matches key in Known Hosts file. Connection will be allowed.
&#91;03/10/24 10:43:31] &#91;SSH] Authentication successful.
&#91;03/10/24 10:43:32] &#91;SSH] The remote user's environment is:
BASH=/usr/bin/bash
.
.
.
&lt;===&#91;JENKINS REMOTING CAPACITY]===&gt;channel started
Remoting version: 3206.vb_15dcf73f6a_9
Launcher: SSHLauncher
Communication Protocol: Standard in/out
This is a Unix agent
Agent successfully connected and online
</code></pre>



<p><strong>Conclusion</strong></p>



<p>Jenkins is a valuable tool for automating software development processes. By understanding its core features, installation, configuration, security, and agent management, you can effectively leverage Jenkins to improve your CI/CD pipelines and deliver high-quality software.</p>



<p><strong>Referenz:</strong></p>



<p><a href="https://community.jenkins.io/t/can-i-create-agent-for-built-in-node/1183">https://community.jenkins.io/t/can-i-create-agent-for-built-in-node/1183</a></p>



<p><a href="https://jdk.java.net/archive">https://jdk.java.net/archive</a></p>



<p></p><p>The post <a href="https://rhein-ruhr-informatik.de/en/2025/03/01/jenkins-auf-ubuntu-22-04-lts-installieren-und-einige-administrationsaufgaben/">Jenkins auf Ubuntu 22.04 LTS installieren und einige Administrationsaufgaben</a> appeared first on <a href="https://rhein-ruhr-informatik.de/en">Rhein-Ruhr-Informatik</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>