Installing Mysql/Apache and Asterisk on different servers

All installation and configuration problems and questions

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

Installing Mysql/Apache and Asterisk on different servers

Postby Vijay » Mon Oct 23, 2006 3:14 am

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.....
Vijay
 
Posts: 14
Joined: Mon Jul 03, 2006 6:04 pm

Re: Installing Mysql/Apache and Asterisk on different server

Postby mflorell » Mon Oct 23, 2006 1:14 pm

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.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Vijay » Mon Oct 23, 2006 1:19 pm

In any case, is mysql required on asterisk server as well?????
Vijay
 
Posts: 14
Joined: Mon Jul 03, 2006 6:04 pm

Postby Vijay » Tue Oct 24, 2006 2:01 pm

Apache should be installed on mysql server or asterisk server????
Vijay
 
Posts: 14
Joined: Mon Jul 03, 2006 6:04 pm

Postby Op3r » Tue Oct 24, 2006 2:21 pm

apache can be installed anywhere as long as you edit the dbconnect.php

please read the scratch_install more deeply.
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1432
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby Vijay » Tue Oct 24, 2006 2:31 pm

Can you also elaborate on installing web scripts on mysql server, what all scripts should i install in mysql server.
Vijay
 
Posts: 14
Joined: Mon Jul 03, 2006 6:04 pm

Postby mflorell » Sat Oct 28, 2006 8:59 am

everything in the www directory should be on your Apache/PHP server.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Alishkx11 and 99 guests