Ask Your Question
0

Install Apache, PHP and MySQL on different VMs [closed]

asked 2014-04-23 03:34:19 -0500

mani619cash gravatar image

updated 2014-04-23 10:15:58 -0500

SGPJ gravatar image

I have deployed a cloud using OpenStack and have VMs running in the cloud and I am also able to PING/SSH between those VMs.

I want to install Apache, PHP, and MySQL on three individual VMs(As I mentioned that I can SSH between those VMs).

Is there any guide how to do this? or where do I have to change the conf files to make this working together?

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by SGPJ
close date 2014-04-24 08:57:12.800048

Comments

I think you have to install them in a normal way (search for a guide on how to install them), referencing in their conf file the IPs they have in your OpenStack environment.

Which OS are you using for your VMs?

Antonio G. gravatar imageAntonio G. ( 2014-04-23 05:48:56 -0500 )edit

That is what I am asking for. Where and HOW do I configure those conf files of Apache and PHP. (I am thinking now to install Apache and PHP on same, and MySQL on the other node/VM)

My VMs are Ubuntu Cloud Image. I have installed Apache in one of my node and it is working

mani619cash gravatar imagemani619cash ( 2014-04-23 13:10:30 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-04-23 14:48:55 -0500

virtualGain gravatar image

I dont know of why/how you would want to deploy apache/php to seperate servers. Maybe you could do this via NFS.. Have your php server NFS mount the apache web directory? Mysql can be installed on a different server by just installing it and telling your application to look at that ip address instead of localhost for the database.

Regardless these questions are pretty much out of the scope of an openstack discussion. You should probably google for how to install LAMP this way.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-04-23 03:34:19 -0500

Seen: 536 times

Last updated: Apr 23 '14