0

我刚刚安装了Turnkey LAMP Stack Appliance,我需要安装 Drupal、Redmine 和其他一些设备,我阅读了文档但不明白如何将它们安装在同一台服务器上,文档说将它们安装为虚拟机,但这并不意味着我将为每个应用程序安装 LAMP(不同的 Apache/PHP/mysql 配置)?

我尝试通过 Webmine (dpkg) 安装 drupal6 不起作用,我通过 apt-get 安装并工作,但在 webmine 中找不到任何指向“Drupal 管理界面”的链接 :(。

所以问题是:

有一种方法可以在同一台服务器上安装多个设备,共享相同的 LAMP 安装,或者我需要通过 WM 安装它们,并为每个安装配置 LAMP?
你会如何安装它们?

谢谢

4

3 回答 3

2

There is a way of instaling multile appliances on the same server sharing the same LAMP instalation, or I need to instal them via WM, and configure LAMP for each instalarion? How would you install them?

TurnKey Linux Appliance is easy-to-use one-purpose solution which you can deploy in minutes on bare metal, virtual machines, or in the cloud. It contains nice web management interface, web shell, and simple configuration console, is lightweight (~150MB each, no redundant packages preinstalled) and secure, but it is basically tuned Ubuntu 10.04 LTS (quotes are from TKL site).

To sum up it's just Ubuntu with LAMP and some goodies preinstalled, so if you want to deploy more than one application on one machine (no matter virtual or bare metal) you'll have to install Drupal, Webmine and other packages manually (probably using apt-get), configure them and Apache's VirtualHosts etc. as Charter wrote and you pointed out in comment.

So where is TKL strenght you ask? It's in virtualization. In your case you want to deploy Drupal, Webmine and for expample MySQL Appliances. You have one server and three appliances then. On your server you install some free bare metal full-virtualization hypervisor (could be VMWare ESXi or Proxmox VE or Linux host with VirtualBox installed, then you create three VMs on you virtualization platform and install each of them configuring them as you want (main configuraion of Drupal / Webmine / MySQL is from TKL), configure VMs network so they can be accessed from Web, and you finish with three separate server environments, each dedicated for one purpose.

于 2011-06-03T11:32:45.410 回答
0

您应该使用 webmin 将虚拟主机添加到您的 apache2 配置中。这是一个解释如何做到这一点的链接:http: //doxfer.webmin.com/Webmin/Name-BasedVirtualHosting

于 2011-03-23T09:57:30.273 回答
0

一般来说,您最好为您要安装的每个应用程序安装不同的 Turnkey Aps,即不同的服务器映像。您可以使用 Lamp 在一台机器和 IP 地址上安装多个,但与单独安装的应用程序相比,您获得的可移植性要少得多。便携性是关键。如果您想迁移到 Debian 的下一个版本,您可以使用 TKLBAM 备份旧的 Debian 安装,并安装 Debian 机器的最新映像库,然后运行 ​​TKLBAM-RESTORE 将旧数据向前移动。

可以想象,您可以制作一个具有多个元素的可迁移应用程序,这些元素也可以向前迁移。如果您只是在 LAMP 上手动执行此操作,您的备份图像会变得非常大。对单个应用程序特别有价值的是,您不必运行所有源图像,使用 WGET、BZR、SVN 等进行各种安装。您只需安装并运行。

尽管你应该有一些系统来运行多个虚拟机,但要有效地处理这一切。VmWare、ProMox 等都可以工作。TurnKey Amazon 方法也非常简单。Runnin 在 Amazon 上运行安装多个应用程序的 LAMP 会有一些争论,只是为了控制您的成本,但您将需要 RAM 和 HD 空间,因此等式需要一些计算。

于 2014-04-05T14:48:52.320 回答