32位操作系统的PAE内核

32位操作系统的PAE内核

我们购买了配备 128GBRAM 的 Dell Blade M620 和配备 128GB Ram 的 Dell Rack R820 服务器。现在我需要在此服务器上安装 i386 12.04 服务器,因为我们的应用程序只能在 32 位操作系统上运行。我可以在硬件上安装带有 PAE 内核的 32 位 12.04 吗?

问候

卡纳克

答案1

首先,尝试了解您的应用程序真正需要什么 - 32 位内核还是 32 位库?

32 位库和工具通常可以部署在任何现代 64 位 Linux 使用 LXC 技术(更先进)甚至 Debootstrap(更愚蠢):

apt-get install debootstrap
mkdir -p /home/chroot/First
debootstrap --arch=i386 precise /home/chroot/First http://archive.ubuntu.com/ubuntu/
mount --bind /dev  /home/chroot/First/dev
mount --bind /proc /home/chroot/First/proc
mount --bind /sys  /home/chroot/First/sys

mount --bind /opt/myapp/ /home/chroot/First/opt/myapp/
chroot /home/chroot/First
    /opt/myapp/bin/myapp

如果你想要更完善的解决方案,那么可以在 5 分钟内使用以下方法配置 LXC:https://code.google.com/p/lxc-loader/wiki/QuickStart文章。

但如果你的应用程序很奇怪,需要 32 位核心...

apt-get install linux-image-generic-pae

相关内容