MasterVitronic / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Centos 6 install script #284

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
please change line 230 from this
/bin/sed -i -e s,'#asr_tts/mod_flite','asr_ttsmod_flite', 
/usr/src/freeswitch/modules.conf
to this 
/bin/sed -i -e s,'#asr_tts/mod_flite','asr_tts/mod_flite', 
/usr/src/freeswitch/modules.conf

Notice the missing /

also 
this 
yum -y install autoconf automake gcc-c++ git-core libjpeg-devel libtool make 
ncurses-devel pkgconfig unixODBC-devel openssl-devel gnutls-devel libogg-devel 
libvorbis-devel curl-devel libtiff-devel libjpeg-devel python-devel expat-devel 
zlib zlib-devel bzip2 which postgresql91-devel postgresql91-odbc 
postgresql91-server subversion screen vim php* ntp

to this
yum -y install autoconf automake gcc-c++ git-core libjpeg-devel libtool make 
ncurses-devel pkgconfig unixODBC-devel openssl-devel gnutls-devel libogg-devel 
libvorbis-devel curl-devel libtiff-devel libjpeg-devel python-devel expat-devel 
zlib zlib-devel bzip2 which postgresql91-devel postgresql91-odbc 
postgresql91-server subversion screen vim php* ntp sudo
default centos 6 are missing sudo. This causes issues with the postggr db later 
on.

Original issue reported on code.google.com by slne...@gmail.com on 31 Jul 2012 at 12:50

GoogleCodeExporter commented 9 years ago
Also it might be a good idea to add yum install ghostscript
 yum install libtiff in too for the faxserver

Original comment by slne...@gmail.com on 3 Aug 2012 at 1:03

GoogleCodeExporter commented 9 years ago
Explain why you think sudo is needed? I can recall no times in life when sudo 
would ever be needed. It is only a tool for lazy admins.

Original comment by chatwi...@gmail.com on 23 Oct 2012 at 6:31

GoogleCodeExporter commented 9 years ago
sudo is used in the scripts for lines 464. See below.

When i ran the script i was missing sudo from my centos 2.6 Minimal install.

#create users for core Freeswitch
cd /var/tmp
sudo -u postgres createuser -s -e freeswitch
sudo -u postgres createdb -E UTF8 -O freeswitch freeswitch

# dz create a fusionpbx user and a fusionpbx database.
cd /var/tmp
sudo -u postgres createuser -s -e fusionpbx
sudo -u postgres createdb -E UTF8 -O fusionpbx fusionpbx

Original comment by slne...@gmail.com on 24 Oct 2012 at 12:06

GoogleCodeExporter commented 9 years ago
Thanks for the suggestions they have been added to the dev Centos script.

Original comment by markjcrane@gmail.com on 30 Apr 2014 at 4:56