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
+ #
1
18
# Installer Script to take a stock Centos 6.4 64bit to a FreePBX Distro 4.211.64-1 release.
2
19
# Once completed you can use the upgrade scripts for version track 4.211.64
3
20
# To keep your system updated.
14
31
# Set some Variable
15
32
echo " Set some Variables needed for install time"
16
33
brand=FreePBXDistro
17
- version=4.211.64-1
34
+ version=10.13.66
18
35
# ##########################################################################
19
36
echo
20
37
echo " Moving to Next Step"
@@ -50,48 +67,48 @@ rm -rf /etc/yum.repos.d/*
50
67
#
51
68
[base]
52
69
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/
55
72
gpgcheck=0
56
73
enabled=1
57
74
58
75
#released updates
59
76
[updates]
60
77
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/
63
80
gpgcheck=0
64
81
enabled=1
65
82
66
83
#additional packages that may be useful
67
84
[extras]
68
85
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/
71
88
gpgcheck=0
72
89
enabled=1
73
90
74
91
#additional packages that extend functionality of existing packages
75
92
[centosplus]
76
93
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/
79
96
gpgcheck=0
80
97
enabled=0
81
98
82
99
#Core PBX Packages
83
100
[pbx]
84
101
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/
87
104
gpgcheck=0
88
105
enabled=1
89
106
90
107
#Schmooze Commercial Packages
91
108
[schmooze-commercial]
92
109
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/
95
112
gpgcheck=0
96
113
enabled=1
97
114
EOTT
@@ -112,7 +129,7 @@ echo " yum install needed packages"
112
129
yum -y install sgpio mdadm
113
130
114
131
# 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
116
133
117
134
# Vim goodies
118
135
yum -y install vim-enhanced
@@ -205,7 +222,7 @@ yum -y install prosody
205
222
yum -y install libsrtp-devel libsrtp
206
223
207
224
# Sangoma Wanpipe
208
- yum -y install wanpipe
225
+ # yum -y install wanpipe
209
226
# ##########################################################################
210
227
echo
211
228
echo " Moving to Next Step"
0 commit comments