安装多个设备

发布于 2024-10-25 04:49:51 字数 527 浏览 0 评论 0原文

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

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

所以问题是:

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

谢谢

I just installed Turnkey LAMP Stack Appliance, and I need to install Drupal, Redmine and a few more appliances, I read the documentation but did not understand how to install them on the same server, the documentation said to install them as a virtual machine, but that doesn't mean that I will have a LAMP instalation for every applicances (different Apache/PHP/mysql configuration) ?

I try to install drupal6 via Webmine (dpkg) didn't work, I installed via apt-get and worked, but can't find any link to the "Drupal Administration interface" in webmine :(.

So the question's are:

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 ?

Thank you

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

老娘不死你永远是小三 2024-11-01 04:49:51

有一种方法可以安装多个
同一服务器上的设备共享
相同的 LAMP 安装,或者我需要
通过WM安装它们,并配置
每次安装都有 LAMP?怎样会
你安装它们了吗?

TurnKey Linux Appliance 是一种易于使用的单一用途解决方案,您可以在几分钟内将其部署在裸机、虚拟机或云中。它包含漂亮的Web管理界面、Web shell和简单的配置控制台,轻量级(每个约150MB,没有预安装冗余软件包)并且安全,但它基本上是在Ubuntu 10.04 LTS(引用自 TKL 站点)。

总而言之,它只是带有 LAMP 和预装了一些好东西的 Ubuntu,所以如果你想在一台机器上部署多个应用程序(无论是虚拟机还是裸机)你必须手动安装 Drupal、Webmine 和其他软件包(可能使用 apt-get ),按照 Charter 所写和您在评论中指出的那样配置它们和 Apache 的 VirtualHosts 等。

那么你问TKL的优势在哪里呢?它处于虚拟化中。在您的情况下,您想要部署 Drupal、Webmine 以及 MySQL Appliances。那么您就有一台服务器和三台设备。在您的服务器上安装一些免费的裸机全虚拟化管理程序(可能是 VMWare ESXiProxmox VE 或带有 VirtualBox 安装完毕,然后在虚拟化平台上创建三个虚拟机并安装每个虚拟机并根据需要配置它们(Drupal / Webmine 的主要配置) / MySQL 来自 TKL),配置虚拟机网络以便可以从 Web 访问它们,然后您就完成了三个独立的服务器环境,每个环境专用于一个用途。

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.

情域 2024-11-01 04:49:51

您应该使用 webmin 将虚拟主机添加到您的 apache2 配置中。以下链接解释了如何执行此操作: http://doxfer.webmin.com/Webmin/Name -基于虚拟主机

You should just add virtual host to your apache2 config using webmin. Here is a link explaining how to do that : http://doxfer.webmin.com/Webmin/Name-BasedVirtualHosting.

书间行客 2024-11-01 04:49:51

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

可以想象,您可以制作一个具有多个元素的可迁移 ap,这些元素也会向前迁移。如果您只是在 LAMP 上手动执行此操作,您的备份映像会变得相当大。对于单个 aps 特别有价值的是,您不必运行所有源映像,使用 WGET、BZR、SVN 等以不同方式安装它们。您只需安装并运行即可。

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

In general you would do better to install different Turnkey Aps, ie different server images, for each application you want to install. You can use Lamp to install multiple on a single machine and IP address but then you get far less portability than you have with the individual installed aps. Portability is the key. If you want to migrate to the next version of Debian, you would use TKLBAM to backup the old Debian install, and install the Latest Image base of Debian Machine, then run TKLBAM-RESTORE moving your old data forward.

Concievably you could make a migratable ap with multiple elements that would also migrate forward. Your Backup images get quite large if you simply do this manually on LAMP. Particularly valuable with the individual aps is the fact that you don't have to run down all the source images, install them variously with WGET, BZR, SVN etc. You simply install and run.

To be effective with all this though you should have some system for running multiple VM's. VmWare, ProMox, Etc all work. Also the TurnKey Amazon method is very easy. Runnin on Amazon there would be some argument for A LAMP install with multiple aps just to control your costs, but you will need RAM and HD Space so the equation needs some calculation.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文