install ubuntu 14.04 on xenserver 6.2

1 – create template based on Lucid

TEMPLATE_UUID=`xe template-list name-label=”Ubuntu Lucid Lynx 10.04 (64-bit)” params=uuid –minimal`
NEW_TEMPLATE_UUID=`xe vm-clone uuid=$TEMPLATE_UUID new-name-label=”Ubuntu Trusty Tahir 14.04 (64-bit)”`
xe  template-param-set other-config:install-methods=cdrom,http,ftp  other-config:default_template=true other-config:debian-release=trusty uuid=$NEW_TEMPLATE_UUID

2 – Modify /usr/lib/python2.4/site-packages/grub/GrubConf.py on the XenServer machine

Line 428, change:

if arg.strip() == “${saved_entry}”:

to

if arg.strip() == “${saved_entry}” or arg.strip() == “${next_entry}”:

http://ubuntuforums.org/showthread.php?t=2216358&page=2&p=13006428#post13006428

http://softlit.blogspot.com.br/2014/05/xenserver-62-and-ubuntu-1404-lts.html

 

 

configure trac on apache 2.2 with ldap authentication

# vi /etc/http/conf.d/trac.conf

<IfModule mod_python.c>
<Location /trac>
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /var/trac
PythonOption TracUriRoot /trac
</Location>
<LocationMatch “/trac/[^/]+/login”>
AuthName “Trac”
AuthType Basic
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthLDAPUrl ldap://[SERVER]:389/OU=People,DC=siarcon,DC=com,DC=br?uid
require valid-user
</LocationMatch>
</IfModule>

Configurar conta VIP SIP no Elastix (Asterisk)

1 – Configurar ips e rotas estáticas, conforme fornecimento embratel

vi /etc/sysconfig/network-scripts/ifcfg-[interface]

vi /etc/sysconfig/network-scripts/route-[interface]

 

2 – Configurar Trunk SIP no Elastix

Trunk Name: [Descrição do tronco]

Outbound Caller ID: <[DDD+numero_tronco_chave]>

Outgoing Settings:

Trunk Name: EMBT-[DDD+numero_tronco_chave]

PEER Details:

type=peer
context=from-pstn
host=[Servidor de registro]
qualify=5000
disallow=all
allow=g729&alaw&ulaw
canreinvite=no
dtmfmode=rfc2833
insecure=port,invite
fromuser=[4 ultimos digitos do tronco chave]
fromdomain=[IP da interface externa]

3 – Confirmar se o tronco está ok

asterisk -vgcr

sip show peers

Deve aparecer OK ao final a linha com o tronco configurado.

Obs:

Não esquecer de configurar rotas de entrada e saída.

 

 

 

Configure static ip Centos

## Configure eth0
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=”eth0″
NM_CONTROLLED=”yes”
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static
NAME=”System eth0″
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
IPADDR=192.168.1.44
NETMASK=255.255.255.0
## Configure Default Gateway
#
# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=centos6
GATEWAY=192.168.1.1
## Restart Network Interface
#
/etc/init.d/network restart
## Configure DNS Server
#
# vi /etc/resolv.conf
nameserver 8.8.8.8 # Replace with your nameserver ip
nameserver 192.168.1.1 # Replace with your nameserver ip