3. 我需要哪些软件和软件补丁?

3.1. Linux 内核

Linux 1.2.X 版本需要 IPalias 补丁 alias-patch-1.2.1-v1 和 alias-net-tools.tar。 我不确定 1.3.X 是否支持此补丁。有关 IPalias 补丁的更多信息,请参见 ftp://ftp.mindspring.com/users/rsanders/ipalias/

有人建议使用多个虚拟接口来代替 IPalias 解决方案。虽然虚拟接口解决方案可能有效,但它似乎不如 IPalias 解决方案那么干净。有关使用 Apache 和虚拟接口解决方案的更多信息,请参见 Aram Mirzadeh 在 http://www.qosina.com/apache/virtual.html 上的虚拟主机信息。

使用 IPalias 方法添加新别名所需要的全部操作是:> /sbin/ifconfig eth0 alias www.domainX.com

此外,IPalias 解决方案在其他几个平台上也受支持。

3.2. HTTP 服务器

NCSA 1.5、Apache 和 Spinner 都支持虚拟主机。 http://hoohoo.ncsa.uiuc.edu/docs/Overview.html https://apache.ac.cn/ http://spinner.infovav.se/