本人fork链接
https://gitee.com/hhchhchhc/KODExplorer
效果图
文章目录
配置环境
下载XAMPP
加速需要魔法
https://www.apachefriends.org/index.html
下载版本链接:2021.01.14
注我用的服务php8.0有问题,不能用这个版本
https://downloadsapachefriends.global.ssl.fastly.net/8.0.0/xampp-linux-x64-8.0.0-3-installer.run?from_af=true
下载版本链接:
查找版本链接
https://www.apachefriends.org/download.html
下载
https://www.apachefriends.org/download.html
https://downloadsapachefriends.global.ssl.fastly.net/7.2.34/xampp-linux-x64-7.2.34-2-installer.run?from_af=true
安装
chmod +x xampp-linux-x64-7.2.34-2-installer.run
sudo ./xampp-linux-x64-7.2.34-2-installer.run
默认安装就行
默认安装位置为:/opt/lampp
卸载直接强删文件夹就干净了
安装KODExplorer
在/opt/lampp/htdocs
下
git clone https://gitee.com/kalcaddle/KODExplorer.git
chmod -Rf 777 ./KODExplorer/*
启动与停止xampp
启动xampp,命令为:
sudo /opt/lampp/xampp start
在启动之后,可以在自己的电脑或手机浏览器上输入你的云服务器IP地址,就可以看到xampp的默认页面,代表你的xampp正常使用,默认端口为80。运行出现错误,可能是端口冲突,通过查看80端口和443端口(命令为netstat -ap | grep 80)使用情况,可以修改默认的80和443端口。
停止xampp,命令为:
sudo /opt/lampp/xampp stop