Multi Server Installation guide under Debian etch

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Multi Server Installation guide under Debian etch

Postby codehaxor » Sun Oct 05, 2008 12:33 pm

http://www.mediafire.com/?sharekey=151c ... 2ae3c5dec6


Vicidial Multi Server Installation guide for Vicidial under debian etch 4.0, file is in PDF Format. Video installation guide coming soon.
Team Dax Cordova IT Consulting
Vicidial Remote & Onsite Installation / Configuration / Custom Development / Consultancy Services
http://www.linkedin.com/in/codehaxor
FREE VICIDIAL INSTALLATION IN THE PHILIPPINES
codehaxor
 
Posts: 151
Joined: Wed Mar 14, 2007 2:37 am
Location: Dumaguete City, Philippines

Postby mflorell » Mon Oct 06, 2008 12:09 am

Thanks for posting!
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby codehaxor » Mon Oct 06, 2008 6:36 am

no need to pay for a 6000$ multi server installs.... you can do it yourself...
Team Dax Cordova IT Consulting
Vicidial Remote & Onsite Installation / Configuration / Custom Development / Consultancy Services
http://www.linkedin.com/in/codehaxor
FREE VICIDIAL INSTALLATION IN THE PHILIPPINES
codehaxor
 
Posts: 151
Joined: Wed Mar 14, 2007 2:37 am
Location: Dumaguete City, Philippines

Postby avalanche » Mon Oct 06, 2008 4:33 pm

codehaxor wrote:no need to pay for a 6000$ multi server installs.... you can do it yourself...

Thank you so much!
avalanche
 
Posts: 11
Joined: Thu Sep 25, 2008 8:46 pm

Postby okli » Wed Oct 08, 2008 12:59 am

Excellent document and Debian's advantages- quick and easy, this certainly will help many people.

A few side notes which could be worth mentioning- lame package is worth upgrading to 0.98.1 or 2 if you set it up server to forward emails because of this silly error on each cron job with mp3 recordings: "LAME: Can't get "TERM" environment string."
https://sourceforge.net/tracker/?func=d ... oup_id=290

Whenever you do
apt-get update
apt-get upgrade

and apache/php is upgraded, you'd have to recompile Eaccelerator, or Apache won't start after the upgrade as eaccellerator is failing because of the changed version. This may save someone banging his head like me, why Apache is down after the update.

Code: Select all
cd /usr/local/eaccelerator-0.9.5.2
make clean
 /usr/bin/phpize; ./configure --enable-eaccelerator=shared --with-php-config=/usr/bin/php-config; make; make install
/etc/init.d/apache2 start


Thanks again for your work.
okli
 
Posts: 671
Joined: Mon Oct 01, 2007 5:09 pm

Postby codehaxor » Wed Oct 08, 2008 1:13 am

noted... thanks.. will make a version 2 of it with screenshots
Team Dax Cordova IT Consulting
Vicidial Remote & Onsite Installation / Configuration / Custom Development / Consultancy Services
http://www.linkedin.com/in/codehaxor
FREE VICIDIAL INSTALLATION IN THE PHILIPPINES
codehaxor
 
Posts: 151
Joined: Wed Mar 14, 2007 2:37 am
Location: Dumaguete City, Philippines

Postby Trying » Wed Oct 08, 2008 3:00 am

Codehaxor, this is awesome! Well done and thanks for sharing!
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby Trying » Wed Oct 08, 2008 3:11 am

Just a suggestion........ could you perhaps also include PHPMyadmin in the document?

Thanks
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby okli » Wed Oct 08, 2008 5:22 pm

This may also help starters- rotate Asterisk log files:

create a file named asterisk in /etc/logrotate.d/

Code: Select all
/var/log/asterisk/cdr-csv/Master.csv /var/log/asterisk/debug /var/log/asterisk/*log /var/log/asterisk/full /var/log/asterisk/messages {
  rotate 40
  weekly
  compress
  missingok
  notifempty
  sharedscripts
  postrotate
   /usr/sbin/asterisk -rx "logger rotate" > /dev/null 2> /dev/null
  endscript
}


BTW
Code: Select all
chown :R www-data:www-data /var/www
may also be needed after installing vicidial.

In our case project_auth_entries.txt keeps getting written, even if you make WWW writable in the admin.php server settings to "0". dbconnect.php changes are not reliable as when you update it default is 1. Since we are on public server and information in those files is quite sensitive here is what we do:

Code: Select all
ln -s /dev/null /var/www/vicidial/project_auth_entries.txt
ln -s /dev/null /var/www/vicidial/admin_changes_log
ln -s /dev/null /var/www/agc/project_auth_entries.txt


Ensure $WeBRooTWritablE = '0' in dbconnect.php in /var/www/agc and vicidial directories.
Change the WWW writable in the admin.php server settings to "0".

Would you mind if I keep looking into my notes, for things simple for someone familiar with linux, but nightmare to find for starters.
okli
 
Posts: 671
Joined: Mon Oct 01, 2007 5:09 pm

Postby ronsrussell » Thu Oct 15, 2009 7:08 am

Your link is empty. Any chance of refreshing the file?
ronsrussell
 

thanks

Postby brett05 » Thu Oct 15, 2009 5:57 pm

codehaxor please add again the file
the link is died
Jasperreports & Queuemetrics & SugarCRM integration - Customization and Add-ons
Freepbx||Billing||Centos||Opensuse||Debian||Centos||Fedora||Sangoma||Diguim
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia

Postby dlasry » Sat Oct 17, 2009 3:24 am

I definitely agree. We would love to see this document, as to the best of my knowledge, there is no readily available documentation on multi server installation procedures.


If hosting is a problem, send it to me and I will post it in a location everyone will be able to download from for the next couple of months.


David
dlasry
 
Posts: 52
Joined: Thu Aug 13, 2009 2:56 am

Postby codehaxor » Sat Oct 17, 2009 12:25 pm

Dont worry guys ill be making a new one using ubuntu 8.0.4 server. Give me sometime to do it
Team Dax Cordova IT Consulting
Vicidial Remote & Onsite Installation / Configuration / Custom Development / Consultancy Services
http://www.linkedin.com/in/codehaxor
FREE VICIDIAL INSTALLATION IN THE PHILIPPINES
codehaxor
 
Posts: 151
Joined: Wed Mar 14, 2007 2:37 am
Location: Dumaguete City, Philippines

thanks

Postby brett05 » Sat Oct 17, 2009 2:14 pm

thanks codehaxor we know you are a good one here :D
but to understand more to use of multiserver in debian too can you upload it again the time of preparing the new one in ubuntu too
thanks again and we know good that you will be do it
Jasperreports & Queuemetrics & SugarCRM integration - Customization and Add-ons
Freepbx||Billing||Centos||Opensuse||Debian||Centos||Fedora||Sangoma||Diguim
brett05
 
Posts: 571
Joined: Sun May 24, 2009 5:48 pm
Location: tunisia


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 86 guests