Page 1 of 1

Installing Mysql/Apache and Asterisk on different servers

PostPosted: Mon Oct 23, 2006 3:14 am
by Vijay
Hello,
I need to install mysql/apache applications on one server and asterisk on another server, i have some queries regarding this:

1) Vicidial will be installed on asterisk server or mysql server.
2) Cron jobs are required to be run on asterisk server or mysql server.
3) what all applications are required to be run on mysql.
4) i am using zydummy, so i will use 2.6 kernel on asterisk server, do i need same 2.6 kernel with the sameoptions for mysql server as well or just 2.4 kernel will do.
5) while installaing vicidial we edit AST_SERVER_conf.pl, and we set the options as follows:
$server_ip = '10.10.10.15';
$DB_server = 'localhost';
$DB_database = 'asterisk';
$DB_user = 'cron';
$DB_pass = '1234';
In this case server IP would be asterisk server IP, and DB_server would be the IP address of mysql server, am i right??????
6) and in mysql server, while inserting the database we give the value for server_ip, will that be asterisk server IP or mysql server IP?

Is there anywhere else as well i have to define the IP's or do anything else to be able to work in a environment where mysql/apache are in different server and asterisk on another one, please solve the queries.....

Re: Installing Mysql/Apache and Asterisk on different server

PostPosted: Mon Oct 23, 2006 1:14 pm
by mflorell
Vijay wrote:Hello,
I need to install mysql/apache applications on one server and asterisk on another server, i have some queries regarding this:

1) Vicidial will be installed on asterisk server or mysql server.

Both, web scripts on MySQL server, everything else on Asterisk server
2) Cron jobs are required to be run on asterisk server or mysql server.

Asterisk server would be best, but most you can run on MySQL
3) what all applications are required to be run on mysql.

only MySQL
4) i am using zydummy, so i will use 2.6 kernel on asterisk server, do i need same 2.6 kernel with the sameoptions for mysql server as well or just 2.4 kernel will do.

any kernel will work, heck you can use Windows for the MySQL Apache server if you have to.
5) while installaing vicidial we edit AST_SERVER_conf.pl, and we set the options as follows:
$server_ip = '10.10.10.15';
$DB_server = 'localhost';
$DB_database = 'asterisk';
$DB_user = 'cron';
$DB_pass = '1234';
In this case server IP would be asterisk server IP, and DB_server would be the IP address of mysql server, am i right??????

Yes, but you should really install 2.0.1 not 1.1.X.
6) and in mysql server, while inserting the database we give the value for server_ip, will that be asterisk server IP or mysql server IP?

Asterisk server_ip
Is there anywhere else as well i have to define the IP's or do anything else to be able to work in a environment where mysql/apache are in different server and asterisk on another one, please solve the queries.....

That should be it. post if you have issues.

PostPosted: Mon Oct 23, 2006 1:19 pm
by Vijay
In any case, is mysql required on asterisk server as well?????

PostPosted: Tue Oct 24, 2006 2:01 pm
by Vijay
Apache should be installed on mysql server or asterisk server????

PostPosted: Tue Oct 24, 2006 2:21 pm
by Op3r
apache can be installed anywhere as long as you edit the dbconnect.php

please read the scratch_install more deeply.

PostPosted: Tue Oct 24, 2006 2:31 pm
by Vijay
Can you also elaborate on installing web scripts on mysql server, what all scripts should i install in mysql server.

PostPosted: Sat Oct 28, 2006 8:59 am
by mflorell
everything in the www directory should be on your Apache/PHP server.