简体   繁体   English

在不同的服务器上安装Apache,PHP和MySQL

[英]Install Apache, PHP and MySQL on different servers

I have deployed a cloud using OpenStack and have VM s running in the cloud and I am also able to PING / SSH between those VM s. 我已经使用OpenStack部署了云,并在云中运行了VM ,并且还能够在这些VM之间进行PING / SSH

I want to install Apache , PHP , and MySQL on three different nodes(As I mentioned that I can SSH between those nodes/ VM s). 我想在三个不同的节点上安装ApachePHPMySQL (正如我提到的,我可以在这些节点/ VM之间进行SSH )。

Is there any guide how to do this? 有什么指南该怎么做? or where do I have to change the conf files to make this working together? 还是我必须在哪里更改conf文件才能使其协同工作?

If you have your VM instances ready, you can install the required services on those instances using the package manager very easily using yum or apt-get depending on what distro you are using. 如果您已准备好VM实例,则可以使用yum或apt-get轻松地使用软件包管理器在这些实例上安装所需的服务,具体取决于所使用的发行版。 You will need to run some simple commands on those VMs. 您将需要在这些VM上运行一些简单的命令。 Apache and php will work on the same VM and install the mysql separately on another VM. Apache和php将在同一VM上工作,并在另一VM上分别安装mysql。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM