Linux RHEL - Change hostname

3 step for change hostname to RHEL Linux: edit: /etc/hosts 127.0.0.1 srv03.mil1.wide-net.org localhost.localdomain localhost edit: /etc/sysconfig/network HOSTNAME=srv03.mil11.wide-net.org past into kernel new hostname echo "srv03.mil1.wide-net.org" > /proc/sys/kernel/hostname Or sysctl kernel.hostname=srv03.mil1.wide-net.org Consider a restart net services /etc/init.d/network restart but is not strictly required.

26 February 2012 @ 07:26 · Updated: 30 June 2026 @ 03:28 · leo

CentOS - IPv6 interface

You need to update and configure following files for IPv6 configuration: Edit: /etc/sysconfig/network And append following line, to enable in systemwide the ipv6 protocol: NETWORKING_IPV6=yes Edit: /etc/sysconfig/network-scripts/ifcfg-eth1 (or your interface number) And append following line, to enable ipv6 on interface and the address/gateway if you use static routing: IPV6INIT=yes IPV6ADDR=2001:1418:0193:000B::210 IPV6_DEFAULTGW=2001:1418:0193:000B::251 Save, close and restart network service: # service network restart

14 April 2010 @ 09:53 · Updated: 30 June 2026 @ 03:28 · leo

CentOS - Asterisk

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. Per primo, installare il plug-in che ci permette di gestire le priorità [root@server ~]# yum install yum-priorities Creare un file con il seguente contenuto e posizionarlo in /etc/yum.repos.d/ nominandolo con estensione .repo ...

3 January 2009 @ 16:00 · Updated: 30 June 2026 @ 03:28 · leo