一、项目介绍
1.1 项目介绍
1.2 自定义配置方法
- 使用目录可以轻松进行可选自定义_build/custom/
- 自定义游戏列表:复制和编辑_build/games.php_build/custom/games.php
- 自定义标题和标题:复制和编辑_build/config.php_build/custom/config.php
- 自定义 HTML 页眉:复制和编辑_build/templates/header.php_build/custom/header.php
- 自定义 HTML 页面页脚:复制和编辑_build/templates/footer.php_build/custom/footer.php
- 自定义 CSS:复制和编辑_build/templates/css.css_build/custom/css.css
- 重建方式 php build.php install
二、本次实践介绍
2.1 环境规划
2.2 本次实践介绍
三、检查本地环境
3.1 检查操作系统版本
[root@docker ~]# cat /etc/centos-release
CentOS Linux release 7.6.1810 (Core)
3.2 检查当前yum仓库
[root@jeven html]# yum repolist enabled
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* epel: mirrors.bfsu.edu.cn
* remi-safe: ftp.riken.jp
repo id repo name status
appnode/x86_64 AppNode's RPM repository for Enterprise Linux 7 - x86_64 4,266
appnode-agent/x86_64 AppNode Agent Repository - x86_64 332
appnode-ccenter/x86_64 AppNode CCenter Repository - x86_64 71
appnode-extras/x86_64 AppNode Extras Repository - x86_64 88
base/7/x86_64 CentOS-7 - Base - mirrors.aliyun.com 10,072
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,787
extras/7/x86_64 CentOS-7 - Extras - mirrors.aliyun.com 519
remi-safe Safe Remi's RPM repository for Enterprise Linux 7 - x86_64 5,571
updates/7/x86_64 CentOS-7 - Updates - mirrors.aliyun.com 5,742
repolist: 40,448
四、安装httpd软件
4.1 检查yum仓库
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
sed -i -e '/mirrors.cloud.aliyuncs.com/d'