<?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 &#8211; Made For Cloud</title>
	<atom:link href="https://madeforcloud.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://madeforcloud.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 27 Mar 2025 00:28:52 +0000</lastBuildDate>
	<language>en-AU</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>Permanently mount a CIFS share on Linux</title>
		<link>https://madeforcloud.com/2025/03/27/permanently-mount-a-cifs-share-on-linux/</link>
					<comments>https://madeforcloud.com/2025/03/27/permanently-mount-a-cifs-share-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[gocallag]]></dc:creator>
		<pubDate>Thu, 27 Mar 2025 00:28:52 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<guid isPermaLink="false">https://madeforcloud.com/?p=259</guid>

					<description><![CDATA[Install the required packages You will need to install the cifs-utils package to mount a network drive on an Ubuntu Linux system. For a Red Hat based system you will also need the cifs-utils package, installed by dnf Create a mount point Create a mount point for the CIFS share. eg. Create a credentials file&#8230;<p><a class="more-link" href="https://madeforcloud.com/2025/03/27/permanently-mount-a-cifs-share-on-linux/" title="Continue reading &#8216;Permanently mount a CIFS share on Linux&#8217;">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
										<content:encoded><![CDATA[
<h4 class="wp-block-heading"></h4>



<p><span style="text-decoration: underline;">Install the required packages</span></p>



<p>You will need to install the cifs-utils package to mount a network drive on an Ubuntu Linux system. </p>



<pre class="wp-block-code"><code>sudo apt-get install -y cifs-utils</code></pre>



<p>For a Red Hat based system you will also need the cifs-utils package, installed by <strong>dnf</strong></p>



<pre class="wp-block-code"><code>sudo dnf install -y cifs-utils</code></pre>



<p><span style="text-decoration: underline;">Create a mount point</span></p>



<p>Create a mount point for the CIFS share.  eg.</p>



<pre class="wp-block-code"><code>sudo mkdir /srv/cifs/&lt;share>      # where '&lt;share>' is the name of the share you want mounted</code></pre>



<p></p>



<p><span style="text-decoration: underline;">Create a credentials file</span></p>



<pre class="wp-block-code"><code>sudo vim /etc/credentials.&lt;share>   # where '&lt;share>' is the name of the share you want mounted</code></pre>



<p>Add the following contents to the credentials file, updating with your userid/password details to access your share.</p>



<pre class="wp-block-code"><code>username=&lt;shareuser>
password=&lt;sharepassword></code></pre>



<p>Make sure the credentials file is only visible to root</p>



<pre class="wp-block-code"><code>sudo chown root:root /etc/credentials.&lt;share>      # where '&lt;share>' is the name of the share you want mounted
sudo chmod 600 /etc/credentials.&lt;share></code></pre>



<p><span style="text-decoration: underline;">Add the mount to /etc/fstab</span></p>



<p>To mount the network drive permanently, you need to add an entry to the /etc/fstab file to ensure the share is mounted automatically when the system boots.</p>



<p>Open the /etc/fstab file in a text editor and add the following line:</p>



<pre class="wp-block-code"><code>//&lt;ip address of your cifs server>/&lt;share> /srv/cifs/&lt;share> cifs credentials=/etc/credentials.&lt;share> 0 0</code></pre>



<p><span style="text-decoration: underline;">Testing the mount</span></p>



<pre class="wp-block-code"><code>sudo mount -a
df -h
</code></pre>



<p><br>This should show the CIFS share mounted at the specified mount point.</p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://madeforcloud.com/2025/03/27/permanently-mount-a-cifs-share-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Converting from CentOS 8 to AlmaLinux 8</title>
		<link>https://madeforcloud.com/2022/07/12/converting-from-centos-8-to-almalinux-8/</link>
					<comments>https://madeforcloud.com/2022/07/12/converting-from-centos-8-to-almalinux-8/#respond</comments>
		
		<dc:creator><![CDATA[gocallag]]></dc:creator>
		<pubDate>Tue, 12 Jul 2022 05:06:15 +0000</pubDate>
				<category><![CDATA[AlmaLinux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>
		<guid isPermaLink="false">http://168.138.6.194/?p=143</guid>

					<description><![CDATA[This is more so that I can remember. You need to get to the latest update level on the CentOS systems. If the systems have been unloved you will likely find that they can no longer access the repos servers. Change the baseurl to http://vault.centos.org/, comment out the mirrorlist as per this image. You&#8217;ll need&#8230;<p><a class="more-link" href="https://madeforcloud.com/2022/07/12/converting-from-centos-8-to-almalinux-8/" title="Continue reading &#8216;Converting from CentOS 8 to AlmaLinux 8&#8217;">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
										<content:encoded><![CDATA[
<p>This is more so that I can remember.</p>



<p></p>



<p>You need to get to the latest update level on the CentOS systems.  If the systems have been unloved you will likely find that they can no longer access the repos servers.</p>



<p>Change the baseurl to http://vault.centos.org/, comment out the mirrorlist as per this image.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="387" src="http://168.138.6.194/wp-content/uploads/2022/07/Screenshot-2022-07-12-144956-1024x387.png" alt="" class="wp-image-144" srcset="https://madeforcloud.com/wp-content/uploads/2022/07/Screenshot-2022-07-12-144956-1024x387.png 1024w, https://madeforcloud.com/wp-content/uploads/2022/07/Screenshot-2022-07-12-144956-300x113.png 300w, https://madeforcloud.com/wp-content/uploads/2022/07/Screenshot-2022-07-12-144956-768x290.png 768w, https://madeforcloud.com/wp-content/uploads/2022/07/Screenshot-2022-07-12-144956.png 1087w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>You&#8217;ll need to do this in at least :</p>



<pre class="wp-block-code"><code>/etc/yum.repos.d/CentOS-Linux-BaseOS.repo
/etc/yum.repos.d/CentOS-Linux-AppStream.repo</code></pre>



<p>Then you can perform the required upgrade :</p>



<pre class="wp-block-code"><code>dnf update
dnf upgrade</code></pre>



<p>Then I suggest re-booting and you can then perform the AlmaLinux migration by :</p>



<pre class="wp-block-code"><code>curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
bash almalinux-deploy.sh
</code></pre>



<p>Then the following should show that you&#8217;ve converted OK</p>



<pre class="wp-block-code"><code>cat /etc/os-release</code></pre>



<pre class="wp-block-code"><code>cat /etc/os-release
NAME="AlmaLinux"
VERSION="8.6 (Sky Tiger)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="AlmaLinux 8.6 (Sky Tiger)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"

ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8"
ALMALINUX_MANTISBT_PROJECT_VERSION="8.6"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.6"</code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://madeforcloud.com/2022/07/12/converting-from-centos-8-to-almalinux-8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
