【问题标题】:Xampp auto killed on installation?Xampp在安装时自动杀死?
【发布时间】:2015-02-01 21:40:15
【问题描述】:

我正在尝试在 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 不起作用,因为它没有完成安装。

【问题讨论】:

    标签: php installation xampp


    【解决方案1】:

    我也遇到了同样的问题。我觉得是swap空间不够了,你可以这样做:

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

    【讨论】:

      【解决方案2】:

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

      【讨论】:

        【解决方案3】:

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

        【讨论】:

          【解决方案4】:

          检查您的安装过程是否被 Out-Of-Memory Killer 杀死:

          grep -i kill /var/log/messages*
          

          在我将 SWAP 文件添加到我的 linux 后,我的问题终于消失了。

          【讨论】:

            【解决方案5】:

            你试过了吗:

            Sudo /opt/lampp/lampp start
            

            【讨论】:

            • 是的,但它无法识别命令,我也尝试了“sudo /opt/lampp/xampp start”,但没有成功,由于安装失败,它会抛出不可用文件的路由
            • xampp 的来源是什么?下载,存储库?
            • 从官方页面下载,按页面说明安装
            • 您是否添加了正确的权限? # chmod +x xampp-linux-x64.5.6-0-installer.run # ./xampp-linux-x64.5.6-0-installer.run
            • 当然,还是没有运气
            【解决方案6】:

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

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

            【讨论】:

              猜你喜欢
              • 2015-08-13
              • 2023-03-11
              • 2019-06-21
              • 2020-03-19
              • 2017-08-31
              • 2015-04-29
              • 1970-01-01
              • 1970-01-01
              • 2020-11-13
              相关资源
              最近更新 更多