<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>SysAdmin on Sandro Cirulli</title>
    <link>https://sandrocirulli.net/tags/sysadmin/</link>
    <description>Recent content in SysAdmin on Sandro Cirulli</description>
    <generator>Hugo</generator>
    <language>en-gb</language>
    <lastBuildDate>Sat, 05 Aug 2017 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sandrocirulli.net/tags/sysadmin/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to exclude a package from being updated on Linux</title>
      <link>https://sandrocirulli.net/how-to-exclude-a-package-from-being-updated-on-linux/</link>
      <pubDate>Sat, 05 Aug 2017 00:00:00 +0000</pubDate>
      <guid>https://sandrocirulli.net/how-to-exclude-a-package-from-being-updated-on-linux/</guid>
      <description>&lt;figure&gt;&lt;img src=&#34;../../img/packages-768x514.jpg&#34;&#xA;    alt=&#34;Packages&#34; width=&#34;500&#34;&gt;&lt;figcaption&gt;&#xA;      &lt;p&gt;&#xA;          &lt;a href=&#34;https://www.flickr.com/photos/49889874@N05/4772680734/&#34;&gt;Image: Marc Falardeau - CC BY 2.0&lt;/a&gt;&lt;/p&gt;&#xA;    &lt;/figcaption&gt;&#xA;&lt;/figure&gt;&#xA;&#xA;&lt;p&gt;Sometimes you prefer not to update a specific package in Linux. This may be because you don’t want to upgrade to a new version with new features but no security updates. Or maybe because upgrading requires a service restart that you want to avoid just yet. This was the case for me recently when a new version of Docker came up and upgrading would have restarted the docker daemon and stopped the running containers.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to map IP addresses in bash prompt</title>
      <link>https://sandrocirulli.net/how-to-map-ip-addresses-in-bash-prompt/</link>
      <pubDate>Wed, 30 Dec 2015 00:00:00 +0000</pubDate>
      <guid>https://sandrocirulli.net/how-to-map-ip-addresses-in-bash-prompt/</guid>
      <description>&lt;figure&gt;&lt;img src=&#34;../../img/ipv4_address.svg&#34;&#xA;    alt=&#34;A diagram of an IP address (IPv4)&#34;&gt;&lt;figcaption&gt;&#xA;      &lt;p&gt;&#xA;          &lt;a href=&#34;https://commons.wikimedia.org/wiki/File:Ipv4_address.svg#/media/File:Ipv4_address.svg&#34;&gt;Image: Indeterminate - Public Domain via Commons&lt;/a&gt;&lt;/p&gt;&#xA;    &lt;/figcaption&gt;&#xA;&lt;/figure&gt;&#xA;&#xA;&lt;p&gt;I regularly log into different Linux machines on the cloud and find complicated to identify on which machine I am by looking at the bash prompt. In fact, in cloud environments the bash prompt tends to  show an ugly internal IP address which I can never memorize. Plus, I always fear to log into the production environment by mistake and run experimental commands intended to be executed in the development environment.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to transfer files to a remote server</title>
      <link>https://sandrocirulli.net/how-to-transfer-files-to-a-remote-server/</link>
      <pubDate>Sun, 20 Dec 2015 00:00:00 +0000</pubDate>
      <guid>https://sandrocirulli.net/how-to-transfer-files-to-a-remote-server/</guid>
      <description>&lt;figure&gt;&lt;img src=&#34;../../img/rsync_logo.png&#34;&#xA;    alt=&#34;rsync logo&#34;&gt;&lt;figcaption&gt;&#xA;      &lt;p&gt;&#xA;          &lt;a href=&#34;http://rsync.samba.org/&#34;&gt;Image: rsync - Fair use license&lt;/a&gt;&lt;/p&gt;&#xA;    &lt;/figcaption&gt;&#xA;&lt;/figure&gt;&#xA;&#xA;&lt;p&gt;While using cloud services like AWS it sometimes occurs to transfer files from a local machine to a remote server which is only accessible via SSH keys. Linux utilities like &lt;a href=&#34;http://rsync.samba.org/&#34;&gt;rsync&lt;/a&gt; and &lt;a href=&#34;https://en.wikipedia.org/wiki/Secure_copy&#34;&gt;scp&lt;/a&gt; come to rescue in this case. Here is an example of how to transfer files via rsync.&lt;/p&gt;&#xA;&lt;p&gt;First, make sure that the destination folder on the remote server is writeable. If not, log into the remote server and change the permissions, e.g.:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
