<?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 Jose Castrillo</title>
    <link>https://jose.castrillo.eu/tags/sysadmin/</link>
    <description>Recent content in Sysadmin on Jose Castrillo</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Sun, 31 May 2020 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://jose.castrillo.eu/tags/sysadmin/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to set your Domain name in Linux</title>
      <link>https://jose.castrillo.eu/post/domain-name-linux/</link>
      <pubDate>Sun, 31 May 2020 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/post/domain-name-linux/</guid>
      <description>&lt;p&gt;Resume to set a domain name in Linux&lt;/p&gt;
&lt;p&gt;concepts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;FQDN&lt;/strong&gt; (Fully Qualified Domain Name)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;eg:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;hostname&lt;/strong&gt; = server1 //
&lt;strong&gt;FQDN&lt;/strong&gt; = server1.example.com&lt;/p&gt;
&lt;h3 id=&#34;1-first-add-fqdn-to-your-hostname-in-etchosts-file&#34;&gt;1. First add FQDN to your hostname in /etc/hosts file.&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# cat /etc/hosts
10.120.68.23 server1.example.com server1
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;confirm the FQDN issue the following command:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# hostname -f
server1.example.com
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;21-configure-domain-name-red-hat-rhel-fedora-and-centos&#34;&gt;2.1. Configure domain name (Red Hat RHEL, Fedora and CentOS)&lt;/h3&gt;
&lt;p&gt;From these path add the parameters needs&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;vi /etc/sysconfig/network
DOMAINNAME=&amp;lt;domainname&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;vi /etc/sysctl.conf
kernel.domainname = &amp;lt;domainname&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;22-figure-domain-name--ubuntu-debian&#34;&gt;2.2. figure domain name ( Ubuntu, Debian)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;#vi /etc/hostname
server1
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Then restart the service:&lt;/p&gt;</description>
    </item>
    <item>
      <title>About</title>
      <link>https://jose.castrillo.eu/page/about/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://jose.castrillo.eu/page/about/</guid>
      <description>&lt;p&gt;Hello there! I&amp;rsquo;m a big fan of GNU/Linux 🐧 and all things open-source. By day, I work as a DevOps 👨‍💻, wrangling various projects to ensure they run like well-oiled platform. But let me take you back to where my journey began - coding in Assembly language and tinkering with MicroChip, Atmega and embedded devices. That was my playground before I took the leap into the cloud, focusing on CI/CD, GitOps, SRE, and HA zones, my main focus it&amp;rsquo;s to delivers reliable &lt;a href=&#34;https://internaldeveloperplatform.org/&#34;&gt;IDP&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
