<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Centos on Details...</title>
    <link>https://www.deepreflect.net/tags/centos/</link>
    <description>Recent content in Centos on Details...</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <copyright>Copyright © 2003 - 2026 Leonardo Rizzi</copyright>
    <lastBuildDate>Tue, 30 Jun 2026 03:28:29 +0200</lastBuildDate>
    <atom:link href="https://www.deepreflect.net/tags/centos/feed.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Linux RHEL - Change hostname</title>
      <link>https://www.deepreflect.net/2012/02/26/linux-rhel-change-hostname/</link>
      <pubDate>Sun, 26 Feb 2012 07:26:11 +0000</pubDate>
       <guid isPermaLink="false">http://blog.deepreflect.net/?p=1156</guid> 
      <description>&lt;p&gt;3 step for change hostname to RHEL Linux:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;edit: /etc/hosts&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;127.0.0.1 srv03.mil1.wide-net.org localhost.localdomain localhost
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;
&lt;p&gt;edit: &lt;code&gt;/etc/sysconfig/network&lt;/code&gt;
&lt;code&gt;HOSTNAME=srv03.mil11.wide-net.org&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;past into kernel new hostname
&lt;code&gt;echo &amp;quot;srv03.mil1.wide-net.org&amp;quot; &amp;gt; /proc/sys/kernel/hostname&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Or&lt;/p&gt;
&lt;p&gt;&lt;code&gt;sysctl kernel.hostname=srv03.mil1.wide-net.org&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Consider a restart net services &lt;code&gt;/etc/init.d/network restart&lt;/code&gt; but is not strictly required.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>3 step for change hostname to RHEL Linux:</p>
<ol>
<li>edit: /etc/hosts</li>
</ol>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>127.0.0.1 srv03.mil1.wide-net.org localhost.localdomain localhost
</span></span></code></pre></div><ol start="2">
<li>
<p>edit: <code>/etc/sysconfig/network</code>
<code>HOSTNAME=srv03.mil11.wide-net.org</code></p>
</li>
<li>
<p>past into kernel new hostname
<code>echo &quot;srv03.mil1.wide-net.org&quot; &gt; /proc/sys/kernel/hostname</code></p>
</li>
</ol>
<p>Or</p>
<p><code>sysctl kernel.hostname=srv03.mil1.wide-net.org</code></p>
<p>Consider a restart net services <code>/etc/init.d/network restart</code> but is not strictly required.</p>
]]></content:encoded>
    </item>
    <item>
      <title>CentOS - IPv6 interface</title>
      <link>https://www.deepreflect.net/2010/04/14/centos-ipv6-interface/</link>
      <pubDate>Wed, 14 Apr 2010 09:53:31 +0000</pubDate>
       <guid isPermaLink="false">http://blog.deepreflect.net/?p=906</guid> 
      <description>&lt;p&gt;You need to update and configure following files for IPv6 configuration:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Edit: &lt;code&gt;/etc/sysconfig/network&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;And append following line, to enable in systemwide the ipv6 protocol:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;NETWORKING_IPV6=yes&lt;/code&gt;&lt;/p&gt;
&lt;ol start=&#34;2&#34;&gt;
&lt;li&gt;Edit: &lt;code&gt;/etc/sysconfig/network-scripts/ifcfg-eth1&lt;/code&gt; (or your interface number)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;And append following line, to enable ipv6 on interface and the address/gateway if you use static routing:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-fallback&#34; data-lang=&#34;fallback&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;IPV6INIT=yes
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;IPV6ADDR=2001:1418:0193:000B::210
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;IPV6_DEFAULTGW=2001:1418:0193:000B::251
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Save, close and restart network service:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;# service network restart&lt;/code&gt;&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>You need to update and configure following files for IPv6 configuration:</p>
<ol>
<li>Edit: <code>/etc/sysconfig/network</code></li>
</ol>
<p>And append following line, to enable in systemwide the ipv6 protocol:</p>
<p><code>NETWORKING_IPV6=yes</code></p>
<ol start="2">
<li>Edit: <code>/etc/sysconfig/network-scripts/ifcfg-eth1</code> (or your interface number)</li>
</ol>
<p>And append following line, to enable ipv6 on interface and the address/gateway if you use static routing:</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>IPV6INIT=yes
</span></span><span style="display:flex;"><span>IPV6ADDR=2001:1418:0193:000B::210
</span></span><span style="display:flex;"><span>IPV6_DEFAULTGW=2001:1418:0193:000B::251
</span></span></code></pre></div><p>Save, close and restart network service:</p>
<p><code># service network restart</code></p>
]]></content:encoded>
    </item>
    <item>
      <title>CentOS - Asterisk</title>
      <link>https://www.deepreflect.net/2009/01/03/centos-asterisk/</link>
      <pubDate>Sat, 03 Jan 2009 16:00:09 +0000</pubDate>
       <guid isPermaLink="false">http://blog.deepreflect.net/?p=371</guid> 
      <description>&lt;p&gt;Brevemente, come installare Asterisk su CentOS usando yum.
Partiamo dal indicare che ufficialmente CentOS nei sui repository non ha i pacchetti di asterisk, quindi è necessario utilizzarne degli altri, in particolare quelli di Trixbox che come ben sapere è basata su questa distribuzione.&lt;/p&gt;
&lt;p&gt;Per primo, installare il plug-in che ci permette di gestire le priorità&lt;/p&gt;
&lt;p&gt;&lt;code&gt;[root@server ~]# yum install yum-priorities&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Creare un file con il seguente contenuto e posizionarlo in /etc/yum.repos.d/ nominandolo con estensione .repo&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Brevemente, come installare Asterisk su CentOS usando yum.
Partiamo dal indicare che ufficialmente CentOS nei sui repository non ha i pacchetti di asterisk, quindi è necessario utilizzarne degli altri, in particolare quelli di Trixbox che come ben sapere è basata su questa distribuzione.</p>
<p>Per primo, installare il plug-in che ci permette di gestire le priorità</p>
<p><code>[root@server ~]# yum install yum-priorities</code></p>
<p>Creare un file con il seguente contenuto e posizionarlo in /etc/yum.repos.d/ nominandolo con estensione .repo</p>
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-fallback" data-lang="fallback"><span style="display:flex;"><span>[trixbox\]
</span></span><span style="display:flex;"><span>name=Trixbox - Repo
</span></span><span style="display:flex;"><span>baseurl=http://yum.trixbox.org/centos/5/RPMS/
</span></span><span style="display:flex;"><span>gpgcheck=0
</span></span><span style="display:flex;"><span>priority=2
</span></span><span style="display:flex;"><span>enabled=1
</span></span></code></pre></div><p>A questo punto è necessario inserire il campo &ldquo;priority=1&rdquo; negli altri .repo presenti nella directory e procedere con l&rsquo;installazione di asterisk soddisfando le dipendenze relative ad esso con il repository di Trixbox per evitare incompatibilità.</p>
]]></content:encoded>
    </item>
  </channel>
</rss>
