This is useful for hosted servers that can't or won't install a custom ISO (GOautodial CE 3.0 ISO).
1. Install minimal version of CentOS 5.X 64bit/32bit (CentOS 5.10 is latest as of this writing)
2. Install the GOautodial yum repository
# cd /etc/yum.repos.d/ # wget http://downloads2.goautodial.org/centos/5/goautodial.repo
3. Update system and install kernel development files
# yum update -y # yum install kernel-devel glibc-devel -y
yum install kernel*
[root@GoAutoDial ~]# ls /lib/modules 2.6.18-308.1.1.el5 2.6.18-371.12.1.el5 2.6.18-404.el5 2.6.18-404.el5debug 2.6.18-404.el5xen Cambiar el kernel en el panel grafico al 2.6.18-404.el5 Luego apagamos init 0
Luego lo encendemos por el mismo panel y seguimos instalando
4. Install GOautodial applications and configurations
# yum -y install goautodial-ce goautodial-ce-config
This will automatically install the GOautodial applications and it's dependencies. Easy huh? :D
######
Add asterisk user to the root group to avoid permission issues
[root@GoAutoDial ~]# usermod -g 0 asterisk
[root@GoAutoDial ~]# id asterisk
uid=100(asterisk) gid=0(root) groups=0(root)
5. Edit PHP configuration file:
# nano /etc/php.iniMake sure the entries below have the same value:
memory_limit = 128M short_open_tag = On max_execution_time = 360 max_input_time = 360 post_max_size = 64M upload_max_filesize = 64M default_socket_timeout = 360
6. Edit startup file
# nano /etc/rc.localPaste the following entries:
# OPTIONAL enable ip_relay(for same-machine trunking and blind monitoring) /usr/share/astguiclient/ip_relay/relay_control start 2>/dev/null 1>&2 ### Disable console blanking and powersaving /usr/bin/setterm -blank /usr/bin/setterm -powersave off /usr/bin/setterm -powerdown ### start time server /usr/sbin/ntpdate -u pool.ntp.org ### roll the Asterisk logs upon reboot /usr/share/astguiclient/ADMIN_restart_roll_logs.pl 2>/dev/null 1>&2 ### clear the server-related records from the database /usr/share/astguiclient/AST_reset_mysql_vars.pl 2>/dev/null 1>&2 ### start up asterisk /usr/share/astguiclient/start_asterisk_boot.pl 2>/dev/null 1>&2 ### set message of the day /usr/local/bin/motd.sh > /etc/motd ### update server IP address in Vicidial tables on first boot (reboot on upgrade) if [ -e /.firstboot ]; then /usr/share/astguiclient/ADMIN_update_server_ip.pl --auto --old-server_ip="" 2>/dev/null 1>&2 rm /.firstboot fi ### make sure SELINUX is turned off echo 0 > /selinux/enforce touch /var/lock/subsys/local
7. Reboot
# reboot
8. Optional (only if you're using a Sangoma card):
Install Sangoma Wanpipe drivers
# yum install wanpipeThat's it folks!
http://goautodial.org/projects/goautodialce/wiki/64bit
http://my-server-ip/vicidial/admin.php
admin
goautodial
No hay comentarios:
Publicar un comentario