gpt4 book ai didi

CentOS 7 AMPPS 启动问题

转载 作者:行者123 更新时间:2023-12-04 19:43:10 25 4
gpt4 key购买 nike

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

说明中说明了以下内容:

First Run of AMPPS When you run AMPPS for the first time make sure your Internet connection is active. Note: AMPPS doesn't support proxy yet. So you must have a Direct Internet Connection.

Now open /usr/local/ampps/Ampps from Explorer, this will take some time as it is setting up AMPPS for your Linux. If you are using Ubuntu OS then you have to start Ampps from terminal with sudo privilege.

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

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

任何帮助都会很棒,
抱歉,如果我的帖子缺少任何东西,那是我的第一个 :)

提前致谢,
乔恩

最佳答案

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

$ yum groupinstall "X Window System" "Desktop" "Desktop Platform" "Fonts"

关于CentOS 7 AMPPS 启动问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46374734/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com