I am trying to install Vicidial in a CentOS 7.
Seems that the Ip update script didn't recognize the IP Address by default showing only
- Code: Select all
Old server IP address or press enter for default: []
server IP address or press enter for default: []
I changed the perl script to this
- Code: Select all
##### BEGIN server_ip propmting and check #####
if (length($VARserver_ip)<7)
{
### get best guess of IP address from ifconfig output ###
# inet addr:10.10.11.17 Bcast:10.10.255.255 Mask:255.255.0.0
@ip = `/sbin/ifconfig`;
$j=0;
while($#ip>=$j)
{
if ($ip[$j] =~ /inet/) {$VARserver_ip = $ip[$j]; $j=1000;}
$j++;
}
$VARserver_ip =~ s/.*inet | netmask.*|\r|\n|\t| //gi;
}
[code]
as ifconfig output is
[code]
[root@edial1 bin]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9001
inet 172.31.7.101 netmask 255.255.240.0 broadcast 172.31.15.255
inet6 fe80::c2:6aff:fef7:7e14 prefixlen 64 scopeid 0x20<link>
ether 02:c2:6a:f7:7e:14 txqueuelen 1000 (Ethernet)
RX packets 107247 bytes 138860198 (132.4 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 39989 bytes 6299235 (6.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Hope helps someone if trying to install in another OS