Skip to content

Commit 3000aac

Browse files
authored
Update Freepbx-Installer-Script.sh
1 parent ad3a01d commit 3000aac

File tree

1 file changed

+32
-15
lines changed

1 file changed

+32
-15
lines changed

Freepbx-Installer-Script.sh

+32-15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
#
2+
#
3+
#
4+
adduser asterisk -M -c "Asterisk User"
5+
sysctl -w net.ipv6.conf.default.disable_ipv6=1
6+
sysctl -w net.ipv6.conf.all.disable_ipv6=1
7+
sed -i 's/\(^SELINUX=\).*/\SELINUX=disabled/' /etc/sysconfig/selinux
8+
sed -i 's/\(^SELINUX=\).*/\SELINUX=disabled/' /etc/selinux/config
9+
setenforce 0
10+
wait ${!}
11+
12+
yum -y update
13+
yum -y groupinstall core base "Development Tools"
14+
15+
#
16+
#
17+
#
118
# Installer Script to take a stock Centos 6.4 64bit to a FreePBX Distro 4.211.64-1 release.
219
# Once completed you can use the upgrade scripts for version track 4.211.64
320
# To keep your system updated.
@@ -14,7 +31,7 @@
1431
# Set some Variable
1532
echo "Set some Variables needed for install time"
1633
brand=FreePBXDistro
17-
version=4.211.64-1
34+
version=10.13.66
1835
###########################################################################
1936
echo
2037
echo "Moving to Next Step"
@@ -50,48 +67,48 @@ rm -rf /etc/yum.repos.d/*
5067
#
5168
[base]
5269
name=CentOS-$releasever - Base
53-
mirrorlist=http://mirrorlist.freepbxdistro.org/?release=6.4&arch=$basearch&repo=os
54-
#baseurl=http://yum.freepbxdistro.org/centos/$releasever/os/$basearch/
70+
#mirrorlist=http://mirrorlist.freepbxdistro.org/?release=6.4&arch=$basearch&repo=os
71+
baseurl=http://yum.freepbxdistro.org/centos/6.8/os/$basearch/
5572
gpgcheck=0
5673
enabled=1
5774
5875
#released updates
5976
[updates]
6077
name=CentOS-$releasever - Updates
61-
mirrorlist=http://mirrorlist.freepbxdistro.org/?release=6.4&arch=$basearch&repo=updates
62-
#baseurl=http://yum.freepbxdistro.org/centos/$releasever/updates/$basearch/
78+
#mirrorlist=http://mirrorlist.freepbxdistro.org/?release=6.4&arch=$basearch&repo=updates
79+
baseurl=http://yum.freepbxdistro.org/centos/6.8/updates/$basearch/
6380
gpgcheck=0
6481
enabled=1
6582
6683
#additional packages that may be useful
6784
[extras]
6885
name=CentOS-$releasever - Extras
69-
mirrorlist=http://mirrorlist.freepbxdistro.org/?release=6.4&arch=$basearch&repo=extras
70-
#baseurl=http://yum.freepbxdistro.org/centos/$releasever/extras/$basearch/
86+
#mirrorlist=http://mirrorlist.freepbxdistro.org/?release=6.4&arch=$basearch&repo=extras
87+
baseurl=http://yum.freepbxdistro.org/centos/6.8/extras/$basearch/
7188
gpgcheck=0
7289
enabled=1
7390
7491
#additional packages that extend functionality of existing packages
7592
[centosplus]
7693
name=CentOS-$releasever - Plus
77-
mirrorlist=http://mirrorlist.freepbxdistro.org/?release=6.4&arch=$basearch&repo=centosplus
78-
#baseurl=http://yum.freepbxdistro.org/centos/$releasever/centosplus/$basearch/
94+
#mirrorlist=http://mirrorlist.freepbxdistro.org/?release=6.4&arch=$basearch&repo=centosplus
95+
baseurl=http://yum.freepbxdistro.org/centos/6.8/centosplus/$basearch/
7996
gpgcheck=0
8097
enabled=0
8198
8299
#Core PBX Packages
83100
[pbx]
84101
name=pbx
85-
mirrorlist=http://mirrorlist.freepbxdistro.org/?pbxver=4.211.64&release=6.4&arch=$basearch&repo=pbx
86-
#baseurl=http://yum.freepbxdistro.org/pbx/4.211.64/$basearch/
102+
#mirrorlist=http://mirrorlist.freepbxdistro.org/?pbxver=4.211.64&release=6.4&arch=$basearch&repo=pbx
103+
baseurl=http://yum.freepbxdistro.org/pbx/10.13.66/$basearch/
87104
gpgcheck=0
88105
enabled=1
89106
90107
#Schmooze Commercial Packages
91108
[schmooze-commercial]
92109
name=schmooze-commercial
93-
mirrorlist= http://mirrorlist.schmoozecom.net/?release=6.4&arch=$basearch&repo=schmooze-commercial
94-
#baseurl=http://yum.schmoozecom.net/schmooze-commercial/$release/$basearch/
110+
#mirrorlist= http://mirrorlist.schmoozecom.net/?release=6.4&arch=$basearch&repo=schmooze-commercial
111+
baseurl=http://yum.schmoozecom.net/schmooze-commercial/6/$basearch/
95112
gpgcheck=0
96113
enabled=1
97114
EOTT
@@ -112,7 +129,7 @@ echo " yum install needed packages"
112129
yum -y install sgpio mdadm
113130

114131
# NOTE: The Kernel packages need to match what we tell Sangoma to compile Wanpipe against or we will have issues
115-
yum -y install kernel-2.6.32-358.0.1.el6 kernel-headers-2.6.32-358.0.1.el6 kernel-devel-2.6.32-358.0.1.el6
132+
#yum -y install kernel-2.6.32-358.0.1.el6 kernel-headers-2.6.32-358.0.1.el6 kernel-devel-2.6.32-358.0.1.el6
116133

117134
# Vim goodies
118135
yum -y install vim-enhanced
@@ -205,7 +222,7 @@ yum -y install prosody
205222
yum -y install libsrtp-devel libsrtp
206223

207224
# Sangoma Wanpipe
208-
yum -y install wanpipe
225+
# yum -y install wanpipe
209226
###########################################################################
210227
echo
211228
echo "Moving to Next Step"

0 commit comments

Comments
 (0)