Xampp 在安装时自动死亡


Xampp auto killed on installation?

我正在尝试在 CentOS 6.4 上安装 Xampp,但这让我无法继续!

这是输出:

[root@imperius ~]# ./xampp-linux-x64-5.6.3-0-installer.run
----------------------------------------------------------------------------
Welcome to the XAMPP Setup Wizard.
----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want
to install. Click Next when you are ready to continue.
XAMPP Core Files : Y (Cannot be edited)
XAMPP Developer Files [Y/n] :y
Is the selection above correct? [Y/n]: y
----------------------------------------------------------------------------
Installation Directory
XAMPP will be installed to /opt/lampp
Press [Enter] to continue:
----------------------------------------------------------------------------
Setup is now ready to begin installing XAMPP on your computer.
Do you want to continue? [Y/n]: y
----------------------------------------------------------------------------
Please wait while Setup installs XAMPP on your computer.
 Installing
 0% ______________ 50% ______________ 100%
 ####Killed
[root@imperius ~]#

显然,命令sudo /opt/lampp/lampp不起作用,因为它没有完成安装。

我也遇到了同样的问题. 我认为交换空间不够。您可以按如下方式执行此操作:

    1. sudo dd if=/dev/zero of=swapfile bs=1024 count=2000000
    2. sudo mkswap -f  swapfile
    3. sudo swapon swapfile

至少就我而言,这只是缺乏内存。 512MB 似乎不足以安装 XAMMP。我设法完成了将RAM升级到1GB的安装。

我遇到了同样的问题,我们通过将内存从 512M 更新到 1G 来解决它。

检查您的安装过程是否被内存不足杀手杀死:

grep -i kill /var/log/messages*

在我向 Linux 添加 SWAP 文件后,我的问题终于消失了。

你试过吗:

Sudo /opt/lampp/lampp start

我现在对此进行了测试。它有效。

  1. sudo dd if=/dev/zero of=swapfile bs=1024 count=2000000
  2. sudo mkswap -f swapfile
  3. sudo swapon swapfile