Page 1 of 1

Multi Server Installation guide under Debian etch

PostPosted: Sun Oct 05, 2008 12:33 pm
by codehaxor
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.

PostPosted: Mon Oct 06, 2008 12:09 am
by mflorell
Thanks for posting!

PostPosted: Mon Oct 06, 2008 6:36 am
by codehaxor
no need to pay for a 6000$ multi server installs.... you can do it yourself...

PostPosted: Mon Oct 06, 2008 4:33 pm
by avalanche
codehaxor wrote:no need to pay for a 6000$ multi server installs.... you can do it yourself...

Thank you so much!

PostPosted: Wed Oct 08, 2008 12:59 am
by okli
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.

PostPosted: Wed Oct 08, 2008 1:13 am
by codehaxor
noted... thanks.. will make a version 2 of it with screenshots

PostPosted: Wed Oct 08, 2008 3:00 am
by Trying
Codehaxor, this is awesome! Well done and thanks for sharing!

PostPosted: Wed Oct 08, 2008 3:11 am
by Trying
Just a suggestion........ could you perhaps also include PHPMyadmin in the document?

Thanks

PostPosted: Wed Oct 08, 2008 5:22 pm
by okli
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.

PostPosted: Thu Oct 15, 2009 7:08 am
by ronsrussell
Your link is empty. Any chance of refreshing the file?

thanks

PostPosted: Thu Oct 15, 2009 5:57 pm
by brett05
codehaxor please add again the file
the link is died

PostPosted: Sat Oct 17, 2009 3:24 am
by dlasry
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

PostPosted: Sat Oct 17, 2009 12:25 pm
by codehaxor
Dont worry guys ill be making a new one using ubuntu 8.0.4 server. Give me sometime to do it

thanks

PostPosted: Sat Oct 17, 2009 2:14 pm
by brett05
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