CentOS 7 AMPPS 启动问题

问题描述 投票:0回答:1

在项目上线之前,我正在设置一个基于 Linux 的 AMPPS LAMP 盒子,以满足本地 Web 开发需求。我在全新安装 CentOS 时一直遵循 AMPPS 网站的安装指南:https://www.ampps.com/wiki/Installing_AMPPS_on_Linux#Important_Locations

说明书中注明如下:

首次运行 AMPPS 当您第一次运行 AMPPS 时,请确保您的互联网连接处于活动状态。注意:AMPPS 不支持代理 然而。所以你必须有直接的互联网连接。

现在从资源管理器中打开 /usr/local/ampps/Ampps,这将需要一些时间 是时候为您的 Linux 设置 AMPPS 了。如果您使用的是 Ubuntu 操作系统然后你必须从终端以 sudo 权限启动 Ampps。

cd /usr/local/ampps

sudo ./Ampps

以 root 身份输入 ./Ampps 后,终端将返回以下内容:

./Ampps: error while loading shared libraries: libXrender.so.1: cannot open shared object file: no such file or directory

我做了一些搜索并找到了基本的修复方法,例如:

yum install libXrender.so.1

即使安装了库,它也会抛出相同的错误。

我该如何解决这个问题?

centos centos7 lamp ampps
1个回答
0
投票

这似乎能解决问题,无论如何,谢谢:D

$ yum groupinstall "X Window System" "Desktop" "Desktop Platform" "Fonts"
© www.soinside.com 2019 - 2024. All rights reserved.